/* assets/css/auth.css - Authentication Pages */

.auth-container {
    min-height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-logo {
    font-size: 4em;
    margin-bottom: 15px;
}

/* User Type Selection */
.user-type-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.user-type-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-type-option:hover {
    background: #e9ecef;
}

.user-type-option.selected {
    border-color: #2E8B57;
    background: rgba(46, 139, 87, 0.05);
}

.user-type-option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
}

.user-type-icon {
    font-size: 1.2em;
    margin-right: 10px;
}

.user-type-label {
    flex: 1;
    text-align: left;
}

.user-type-desc {
    font-size: 0.8em;
    color: #666;
    margin-top: 2px;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
    font-size: 0.85em;
    font-weight: 500;
}

.password-strength.weak {
    color: #e74c3c;
}

.password-strength.medium {
    color: #f39c12;
}

.password-strength.strong {
    color: #2E8B57;
}

/* Error Messages */
.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #fcc;
    font-size: 0.9em;
}

.success-message {
    background: #efe;
    color: #363;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #cfc;
    font-size: 0.9em;
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile Optimizations for Auth */
@media (max-width: 480px) {
    .auth-container {
        padding: 15px;
        align-items: flex-start;
        padding-top: 40px;
    }
    
    .auth-logo {
        font-size: 3.5em;
    }
}

@media (max-width: 360px) {
    .user-type-option {
        padding: 12px;
    }
    
    .user-type-icon {
        font-size: 1.1em;
    }
}