/* Auth Modal Styles */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #eee;
}

.auth-tabs {
    display: flex;
    gap: 2rem;
}

.auth-tab {
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.auth-tab.active {
    color: #333;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #0D9488;
    border-radius: 2px;
}

.auth-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.auth-close:hover {
    background: #F8FAFC;
    color: #0F172A;
}

.auth-form-container {
    display: none;
    padding: 2rem;
}

.auth-form-container.active {
    display: block;
}

.auth-welcome {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    width: 60px;
    height: 60px;
    background: #0D9488;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #FFFFFF;
    position: relative;
}

.auth-logo.vip {
    background: #0D9488;
}

.auth-logo.vip .vip-text {
    font-size: 0.7rem;
    font-weight: 700;
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #0F172A;
    color: #0D9488;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.6rem;
}

.auth-welcome h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.5rem;
}

.auth-welcome p {
    color: #6B7280;
    font-size: 0.9rem;
    line-height: 1.4;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.google-btn:hover {
    border-color: #d0d0d0;
    background: #f9f9f9;
}

.google-btn i {
    font-size: 1.2rem;
    color: #4285f4;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider span {
    background: white;
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #0F172A;
    font-size: 0.9rem;
}

.form-group input {
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0D9488;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6B7280;
    cursor: pointer;
    padding: 0.5rem;
}

.password-toggle:hover {
    color: #0F172A;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #E5E7EB;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #0D9488;
    border-color: #0D9488;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.8rem;
}

.terms-text {
    font-size: 0.8rem;
    color: #6B7280;
    line-height: 1.4;
}

.terms-text a {
    color: #0D9488;
    text-decoration: none;
    font-weight: 600;
}

.terms-text a:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    padding: 1rem 2rem;
    background: #0D9488;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-submit-btn:hover {
    background: #0F766E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.auth-submit-btn:disabled {
    background: #E5E7EB;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.vip-btn {
    background: #0D9488;
}

.auth-links {
    text-align: center;
    margin-top: 1rem;
}

.auth-links p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #6B7280;
}

.auth-links a {
    color: #0D9488;
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.trustpilot-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.trustpilot-rating .stars {
    display: flex;
    gap: 2px;
}

.trustpilot-rating .stars i {
    color: #00b67a;
    font-size: 0.9rem;
}

.trustpilot-rating span {
    font-size: 0.8rem;
    color: #6B7280;
    font-weight: 600;
}

.auth-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.auth-message.show {
    transform: translateX(0);
}

.auth-message.success {
    background: #00b67a;
}

.auth-message.error {
    background: #DC2626;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .auth-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .auth-form-container {
        padding: 1.5rem;
    }
    
    .auth-tabs {
        gap: 1rem;
    }
    
    .auth-tab {
        font-size: 1rem;
    }
    
    .auth-welcome h2 {
        font-size: 1.3rem;
    }
    
    .auth-logo {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .auth-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: none;
    }
    
    .auth-modal-header {
        padding: 1rem;
    }
    
    .auth-form-container {
        padding: 1rem;
    }
    
    .auth-tabs {
        gap: 0.5rem;
    }
    
    .auth-tab {
        font-size: 0.9rem;
    }
}
