/* Authentication Pages - Login & Register Styles */

/* Auth Container Layout */
.auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-brand {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    background: white;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--gray-600);
}

/* Auth Brand Elements */
.auth-brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-brand-icon {
    background: rgba(255,255,255,0.2);
}

.auth-brand-name {
    color: white;
    font-size: 2rem;
}

.auth-brand-tagline {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.auth-brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.auth-brand-description {
    font-size: 1.25rem;
    opacity: 0.9;
    text-align: center;
    max-width: 400px;
}

/* Form Elements */
.auth-input-container {
    position: relative;
}

.auth-input-with-icon {
    padding-left: 3rem;
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.auth-remember-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.auth-remember-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.auth-remember-checkbox {
    width: 1rem;
    height: 1rem;
    color: var(--primary-500);
}

.auth-remember-text {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.auth-forgot-link {
    font-size: 0.875rem;
    color: var(--primary-500);
    text-decoration: none;
}

.auth-submit-button {
    margin-bottom: 1rem;
}

.auth-footer {
    text-align: center;
}

.auth-footer-text {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.auth-footer-link {
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.25rem;
}

/* Status Messages */
.auth-status-message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: #d1fae5;
    color: #065f46;
    border-radius: 8px;
    font-size: 0.875rem;
}

.auth-error-message {
    margin-top: 0.25rem;
    color: #dc2626;
    font-size: 0.875rem;
}

/* Role Selection (Register) */
.role-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.role-option {
    position: relative;
}

.role-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.role-option label {
    display: block;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.role-option input[type="radio"]:checked + label {
    border-color: var(--primary-500);
    background: var(--primary-50);
    color: var(--primary-600);
}

.role-option-emoji {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.role-option-title {
    font-weight: 600;
    font-size: 0.875rem;
}

.role-option-subtitle {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-brand {
        display: none;
    }

    .role-options {
        grid-template-columns: 1fr;
    }
}
