/* auth-styles.css - Styles for the authentication components */
/* Warm brown/orange palette */

/* Auth container styling */
.auth-container {
    display: flex;
    align-items: center;
}

#user-container {
    display: flex;
    align-items: center;
    position: relative;
}

/* Loading indicator */
.loading-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #f5efe9;
    border-top: 2px solid #da7756;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

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

/* Login button */
.login-button {
    background-color: #da7756;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background-color: #c45a3a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(218, 119, 86, 0.3);
}

/* User profile section */
#user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Profile picture styling */
#user-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #da7756;
    cursor: pointer;
    transition: all 0.3s ease;
}

#user-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(218, 119, 86, 0.3);
}

/* Admin dropdown styling */
#admin-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 8px;
}

.admin-button {
    background-color: #a96b4d;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-button:hover {
    background-color: #8b5a3c;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 25px rgba(45, 41, 38, 0.15);
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(45, 41, 38, 0.08);
}

#admin-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #2d2926;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: rgba(218, 119, 86, 0.08);
    color: #da7756;
}
