/* Authentication Modal Styles */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    animation: fadeInAuth 0.3s ease forwards;
}

@keyframes fadeInAuth {
    to {
        opacity: 1;
    }
}

.auth-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    animation: scaleInAuth 0.3s ease forwards;
    position: relative;
}

@keyframes scaleInAuth {
    to {
        transform: scale(1);
    }
}

.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-close:hover {
    color: var(--text-primary);
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.auth-modal-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-tabs {
    display: flex;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 32px;
}

.auth-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.auth-tab.active {
    background: #e0115f;
    color: white;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-input-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.auth-input-group input {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.2s;
}

.auth-input-group input:focus {
    outline: none;
    border-color: #e0115f;
    background: var(--bg-secondary);
}

.auth-input-group small {
    font-size: 12px;
    color: var(--text-secondary);
}

.auth-error {
    color: #f87171;
    font-size: 14px;
    padding: 12px;
    background: rgba(248, 113, 113, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(248, 113, 113, 0.3);
    display: none;
}

.auth-error:not(:empty) {
    display: block;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #e0115f 0%, #c71050 100%);
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 17, 95, 0.4);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

/* Signup Bonus Banner */
.signup-bonus-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(224, 17, 95, 0.1) 0%, rgba(199, 16, 80, 0.1) 100%);
    border: 1px solid rgba(224, 17, 95, 0.3);
    border-radius: 8px;
    margin-bottom: 20px;
}

.bonus-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.bonus-text {
    flex: 1;
}

.bonus-text strong {
    display: block;
    color: #e0115f;
    font-size: 14px;
    margin-bottom: 4px;
}

.bonus-text p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* Payment Method Selection */
.payment-method-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-method-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.payment-method-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-method-option {
    cursor: pointer;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-card {
    padding: 14px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.payment-method-option input[type="radio"]:checked + .payment-method-card {
    border-color: #e0115f;
    background: linear-gradient(135deg, rgba(224, 17, 95, 0.05) 0%, rgba(199, 16, 80, 0.05) 100%);
}

.payment-method-card:hover {
    border-color: rgba(224, 17, 95, 0.5);
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.payment-method-icon {
    font-size: 20px;
}

.payment-method-header strong {
    color: var(--text-primary);
    font-size: 14px;
}

.payment-method-badge {
    margin-left: auto;
    padding: 3px 8px;
    background: #e0115f;
    color: white;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.payment-method-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 4px 0;
}

.payment-method-fee {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0 0 0;
    font-weight: 600;
}

.payment-method-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-modal {
        padding: 32px 24px;
    }

    .auth-modal-header h2 {
        font-size: 24px;
    }

    .bonus-icon {
        font-size: 24px;
    }
}
