/* Auth Pages Styles */
/* This file was missing and causing redirect loops */

.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
}

.auth-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 500px;
}

.register-box {
    max-width: 600px;
}

.auth-logo {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo img {
    max-width: 180px;
    height: auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.auth-header p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Form Styles */
.auth-form .form-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}

.auth-form .form-control {
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.auth-form .form-control:focus {
    border-color: #00b9e1;
    box-shadow: 0 0 0 0.2rem rgba(0, 185, 225, 0.25);
}

.auth-form .btn-primary {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    background-color: #00b9e1;
    border-color: #00b9e1;
    transition: all 0.3s ease;
}

.auth-form .btn-primary:hover {
    background-color: #0099c1;
    border-color: #0099c1;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 185, 225, 0.3);
}

/* Alert Styles */
.auth-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.auth-alert.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.auth-alert.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.auth-alert.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Links */
.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #00b9e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #0099c1;
    text-decoration: underline;
}

/* Divider */
.auth-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.auth-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #dee2e6;
}

.auth-divider span {
    background-color: white;
    padding: 0 15px;
    position: relative;
    color: #6c757d;
    font-size: 14px;
}

/* Social Login Buttons */
.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background-color: white;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.social-login-btn:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.social-login-btn i {
    margin-right: 10px;
    font-size: 18px;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 5px;
    height: 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background-color: #dc3545;
    width: 33%;
}

.password-strength.medium {
    background-color: #ffc107;
    width: 66%;
}

.password-strength.strong {
    background-color: #28a745;
    width: 100%;
}

/* Checkbox Styles */
.form-check-input:checked {
    background-color: #00b9e1;
    border-color: #00b9e1;
}

.form-check-input:focus {
    border-color: #00b9e1;
    box-shadow: 0 0 0 0.25rem rgba(0, 185, 225, 0.25);
}

/* Loading Spinner */
.auth-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.auth-loading.active {
    display: block;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* Responsive Design */
@media (max-width: 576px) {
    .auth-box {
        padding: 30px 20px;
    }
    
    .auth-logo img {
        max-width: 140px;
    }
    
    .auth-form .form-control,
    .auth-form .btn-primary {
        font-size: 14px;
    }
}

/* Plan Selection Styles (for checkout page) */
.plan-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.plan-summary h5 {
    color: #333;
    margin-bottom: 15px;
}

.plan-summary .plan-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-summary .plan-details li {
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
}

.plan-summary .plan-details li:last-child {
    border-bottom: none;
}

.plan-summary .total {
    font-size: 1.25rem;
    font-weight: bold;
    color: #00b9e1;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #dee2e6;
}

/* Success Page Styles */
.success-container {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon i {
    color: white;
    font-size: 40px;
}

.success-message h2 {
    color: #333;
    margin-bottom: 10px;
}

.success-message p {
    color: #6c757d;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Error Page Styles */
.error-container {
    text-align: center;
    padding: 40px;
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #dc3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon i {
    color: white;
    font-size: 40px;
}

.error-message h2 {
    color: #333;
    margin-bottom: 10px;
}

.error-message p {
    color: #6c757d;
    font-size: 18px;
    margin-bottom: 30px;
}