/* Conference Registration */

.conf-reg-container {
    width: 100%;
}

/* Auth Tabs (Login/Register) */
.conf-reg-auth {
    width: 100%;
}

.conf-reg-auth-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 24px;
}

.conf-reg-auth-tab {
    flex: 1;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
    position: relative;
}

.conf-reg-auth-tab:hover {
    color: #333;
}

.conf-reg-auth-tab.active {
    color: #333;
}

.conf-reg-auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #333;
}

.conf-reg-auth-pane {
    display: none;
}

.conf-reg-auth-pane.active {
    display: block;
}

.conf-reg-period-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
}

/* Participant Type Selection */
.conf-reg-types {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.conf-reg-type {
    flex: 1;
    cursor: pointer;
}

.conf-reg-type input {
    display: none;
}

.conf-reg-type-inner {
    display: block;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    transition: border-color 0.15s, background-color 0.15s;
}

.conf-reg-type input:checked + .conf-reg-type-inner {
    border-color: #333;
    background-color: #fafafa;
}

.conf-reg-type-inner:hover {
    border-color: #999;
}

.conf-reg-type-name {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.conf-reg-type-price {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #111;
}

.conf-reg-type-price-krw {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

/* Banquet Option */
.conf-reg-banquet-option {
    margin-bottom: 24px;
}

.conf-reg-banquet-label {
    display: block;
    cursor: pointer;
}

.conf-reg-banquet-label input[type="checkbox"] {
    display: none;
}

.conf-reg-banquet-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px dashed #ccc;
    border-radius: 6px;
    background: #fafafa;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.conf-reg-banquet-label input:checked + .conf-reg-banquet-inner {
    border-color: #333;
    border-style: solid;
    background-color: #f5f5f5;
    box-shadow: 0 0 0 1px #333;
}

.conf-reg-banquet-inner:hover {
    border-color: #999;
}

.conf-reg-banquet-info {
    display: flex;
    flex-direction: column;
}

.conf-reg-banquet-name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.conf-reg-banquet-name::before {
    content: '\2610';
    font-size: 16px;
    margin-right: 8px;
}

.conf-reg-banquet-label input:checked + .conf-reg-banquet-inner .conf-reg-banquet-name::before {
    content: '\2611';
}

.conf-reg-banquet-desc {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.conf-reg-banquet-price {
    text-align: right;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.conf-reg-banquet-price-krw {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    margin-top: 2px;
}

/* Add-on Items (Banquet, Companion, Programs) */
.conf-reg-addons {
    margin-bottom: 24px;
}

.conf-reg-addon-item {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
    transition: border-color 0.15s;
}

.conf-reg-addon-item:hover {
    border-color: #999;
}

.conf-reg-addon-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    gap: 16px;
}

.conf-reg-addon-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.conf-reg-addon-name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.conf-reg-addon-desc {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.conf-reg-addon-unit-price {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.conf-reg-addon-qty-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.conf-reg-addon-qty-label {
    font-size: 13px;
    color: #666;
}

.conf-reg-addon-qty {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    min-width: 60px;
}

.conf-reg-addon-subtotal {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    min-width: 100px;
}

.conf-reg-addon-price-display {
    white-space: nowrap;
    text-align: right;
}

.conf-reg-program-price {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.conf-reg-addon-price-krw {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #666;
    margin-top: 2px;
}

.conf-reg-programs-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.conf-reg-program-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.conf-reg-program-check-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.conf-reg-program-item.checked {
    border-color: #333;
    background-color: #f5f5f5;
}

/* Payment Widget Area */
#payment-widget {
    margin-bottom: 24px;
}

#payment-method {
    margin-bottom: 16px;
}

/* Pay Button */
.conf-reg-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.15s;
}

.conf-reg-btn:hover:not(:disabled) {
    background-color: #555;
}

.conf-reg-btn:disabled {
    background-color: #ccc;
    cursor: default;
}

/* Currency Selection - legacy, keeping for reference */
.conf-reg-currency {
    margin-bottom: 20px;
}

.conf-reg-currency-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.conf-reg-currency-options {
    display: flex;
    gap: 12px;
}

.conf-reg-currency-option {
    flex: 1;
    cursor: pointer;
}

.conf-reg-currency-option input {
    display: none;
}

.conf-reg-currency-option span {
    display: block;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
    transition: border-color 0.15s, background-color 0.15s;
}

.conf-reg-currency-option input:checked + span {
    border-color: #333;
    background-color: #f5f5f5;
}

.conf-reg-currency-option span:hover {
    border-color: #999;
}

/* Payment Methods Selection */
.conf-reg-payment-methods {
    margin-bottom: 24px;
}

.conf-reg-methods-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.conf-reg-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.conf-reg-method-btn {
    display: block;
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.conf-reg-method-btn:hover {
    border-color: #999;
    background-color: #fafafa;
}

.conf-reg-method-btn.selected {
    border-color: #333;
    background-color: #f5f5f5;
    box-shadow: 0 0 0 1px #333;
}

.conf-reg-method-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.conf-reg-method-desc {
    display: block;
    font-size: 13px;
    color: #666;
}

.conf-reg-method-price {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-top: 8px;
}

/* Error */
.conf-reg-error-text {
    margin-top: 12px;
    font-size: 13px;
    color: #c00;
}

/* Messages */
.conf-reg-message {
    padding: 16px 20px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.conf-reg-message-success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.conf-reg-message-info {
    background-color: #e3f2fd;
    color: #1565c0;
}

.conf-reg-message-error {
    background-color: #ffebee;
    color: #c62828;
}

.conf-reg-message a {
    color: inherit;
    text-decoration: underline;
}

/* Price Table */
.conf-reg-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.conf-reg-price-table th,
.conf-reg-price-table td {
    padding: 12px 16px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.conf-reg-price-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.conf-reg-price-table th .period-date {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #888;
    margin-top: 2px;
}

.conf-reg-price-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.conf-reg-price-table .current-period {
    background-color: #fff8e1;
}

.conf-reg-price-table .price-krw {
    font-size: 12px;
    color: #666;
}

.conf-reg-table-note {
    margin-top: 12px;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}

/* Registration Status */
.conf-reg-status {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 6px;
}

.conf-reg-status-registered {
    background-color: #e8f5e9;
}

.conf-reg-status-pending {
    background-color: #f5f5f5;
}

.conf-reg-status-icon {
    font-size: 20px;
    line-height: 1;
}

.conf-reg-status-content h4 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
}

.conf-reg-status-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.conf-reg-status-content li {
    margin-bottom: 4px;
}

.conf-reg-status-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* Responsive */
@media (max-width: 480px) {
    .conf-reg-types {
        flex-direction: column;
    }

    .conf-reg-banquet-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .conf-reg-banquet-price {
        text-align: left;
    }

    .conf-reg-price-table th,
    .conf-reg-price-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
}
