/* Authentication Styles for RiversMall Job Board */

/* Auth container in navigation */
#auth-container {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

/* Loading spinner */
.auth-loading {
    color: #6c757d;
    font-size: 0.9rem;
}

/* User info display */
.auth-user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-welcome {
    color: #495057;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Login button */
.auth-login-info {
    display: flex;
    align-items: center;
}

#auth-login-btn {
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease-in-out;
}

#auth-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Logout button */
#auth-logout-btn {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease-in-out;
}

#auth-logout-btn:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

/* Success/Error messages */
.alert {
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #auth-container {
        padding: 0.25rem 0;
    }
    
    .auth-welcome {
        font-size: 0.8rem;
    }
    
    #auth-login-btn,
    #auth-logout-btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .alert {
        max-width: 300px;
        font-size: 0.9rem;
    }
}

/* Animation for smooth transitions */
.auth-user-info,
.auth-login-info {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Loading spinner animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 