/* Auth Page Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --text-light: #7f8c8d;
    --border-color: #e0e0e0;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: var(--text-color);
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.logo span {
    color: var(--primary-color);
}

.auth-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.auth-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: var(--text-light);
    z-index: 2;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    z-index: 2;
}

.password-strength {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    flex: 1;
    background-color: #eee;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    color: var(--text-light);
}

.terms-group {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.terms-group input {
    margin-right: 0.5rem;
}

.terms-group label {
    font-weight: normal;
    font-size: 0.9rem;
}

.terms-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.terms-group a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Password strength indicators */
.password-weak .strength-bar:nth-child(-n+1) {
    background-color: var(--error-color);
}
.password-weak .strength-text {
    color: var(--error-color);
}

.password-medium .strength-bar:nth-child(-n+2) {
    background-color: var(--warning-color);
}
.password-medium .strength-text {
    color: var(--warning-color);
}

.password-strong .strength-bar {
    background-color: var(--success-color);
}
.password-strong .strength-text {
    color: var(--success-color);
}

/* Error states */
.error input {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

/* Responsive styles */
@media (max-width: 576px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
}
        body {
            font-family: 'Inter', sans-serif;
        }
        .password-strength {
            display: flex;
            gap: 2px;
            margin-top: 4px;
        }
        .strength-bar {
            height: 4px;
            flex-grow: 1;
            background-color: #e5e7eb;
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        .strength-text {
            margin-left: 8px;
            font-size: 12px;
            color: #6b7280;
        }

        .hidden {
    display: none;
}

.border-red-500 {
    border-color: #ef4444;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem; /* spacing from next field */
}

.remember-group {
    display: flex;
    align-items: center;
    gap: 0.4rem; /* space between checkbox and text */
    font-size: 0.9rem;
    color: var(--dark-color);
}

.forgot-password {
    text-align: right;
    font-size: 0.9rem;
    color: #1E90FF;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}