/* Registration/Login Page Specific Styles */

.auth-container {
    display: flex;
    min-height: 100vh;
}

/* Alert and Error Styles */
.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.error-message {
    font-size: 14px;
    margin-bottom: 8px;
}

.error-message:last-child {
    margin-bottom: 0;
}

/* Left side - Form */
.auth-left {
    flex: 1.2;
    padding: 60px 80px;
    background: white;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    max-width: 700px;
}

.auth-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.2;
}

.auth-header p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 48px;
}

.selected-plan-banner {
    background: linear-gradient(135deg, #009688 0%, #00bcd4 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 16px 0 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    animation: slideInDown 0.3s ease-out;
}

.selected-plan-banner i {
    font-size: 18px;
    color: #4ade80;
}

.selected-plan-banner .change-plan-link {
    margin-left: auto;
    color: #ffffff;
    text-decoration: underline;
    font-size: 13px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.selected-plan-banner .change-plan-link:hover {
    opacity: 1;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-link {
    text-align: center;
    font-size: 15px;
    color: #6b7280;
}

.auth-link a {
    color: #009688;
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Right side - Dashboard Preview */
.auth-right {
    flex: 0.8;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.dashboard-banner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.dashboard-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0;
}

.dashboard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(124, 58, 237, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-radius: 0;
    pointer-events: none;
}

.preview-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 16px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive Design for Auth Pages */
@media (max-width: 1024px) {
    .auth-left {
        padding: 40px;
    }
    
    .auth-right {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-right {
        min-height: 300px;
        flex: none;
    }
    
    .auth-left {
        padding: 30px 20px;
        flex: none;
    }
    
    .auth-header h1 {
        font-size: 32px;
    }
    
    /* Password validation responsive */
    .password-validation,
    .password-match {
        margin-top: 8px;
    }
}

/* Password Validation Styles */
.password-validation,
.password-match {
    margin-top: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: none;
}

.validation-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.validation-item:last-child {
    margin-bottom: 0;
}

.validation-icon {
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.validation-invalid {
    color: #dc2626;
}

.validation-invalid .validation-icon {
    color: #dc2626;
}

.validation-valid {
    color: #16a34a;
}

.validation-valid .validation-icon {
    color: #16a34a;
}

.validation-item span {
    font-weight: 500;
}

/* Terms and Conditions Checkbox Styles */
.terms-checkbox-group {
    margin-top: 24px;
    margin-bottom: 24px;
}

.terms-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.terms-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #009688;
}

.checkbox-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.checkbox-text .terms-link {
    color: #009688;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.checkbox-text .terms-link:hover {
    color: #00796b;
    text-decoration: underline;
}

.terms-checkbox-group .error-message {
    margin-top: 8px;
    margin-left: 32px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
}