/*users-auth-styles.css*/


/* ====================================================== */
/*      START: UPDATED USER ACCOUNT DROPDOWN STYLES       */
/* ====================================================== */

.account-menu-container {
    position: relative;
    margin-left: 15px;
}

.account-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-button:hover, .account-button.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

.account-button img {
    width: 32px; /* Slightly larger */
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* --- LIGHTER DROPDOWN STYLES --- */
.account-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 320px;
    /* Light theme with glass effect */
    background: rgba(240, 255, 240, 0.85); /* Very light green, glassy */
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    z-index: 1050 !important;
    overflow: hidden;
    display: none;
    color: #0E1C12; /* Dark text for contrast */
    font-family: 'Nunito Sans', sans-serif;
}

.account-dropdown.show {
    display: block;
}

/* --- LOGGED-IN VIEW STYLES --- */
.user-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.user-info-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.user-info-details h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
}
.user-info-details p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
    word-break: break-all;
}

.dropdown-menu-links {
    padding: 10px;
}
.dropdown-menu-links .dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-menu-links .dropdown-link:hover {
    background-color: #5CB860;
    color: #fff;
}

.dropdown-menu-links .dropdown-link i {
    width: 20px;
    text-align: center;

}

.dropdown-divider {
    height: 1px;
    /*background-color: rgba(0,0,0,0.03);*/
    /*color: rgba(0,0,0,0.03);*/
    margin: 5px 10px;
}


/*#logoutBtn {*/
/*    width: 100%;*/
/*    border: none;*/
/*    background: none;*/
/*    text-align: left;*/
/*    cursor: pointer;*/
/*    outline: none;*/
/*    box-shadow: none;*/
/*}*/

/*#logoutBtn:focus,*/
/*#logoutBtn:active {*/
/*    outline: none !important;*/
/*    border: none !important;*/
/*    box-shadow: none !important;*/
/*    background-color: #5CB860 !important; !* Maintain hover background *!*/
/*    color: #fff !important; !* Maintain hover text color *!*/
/*}*/



/* --- LOGGED-OUT VIEW STYLES (Sign In / Sign Up) --- */
.auth-view .dropdown-header {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 20px;
}
.auth-view .dropdown-header h5 {
    font-weight: 700;
    margin: 0;
}
.account-form {
    padding: 0 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.account-form input {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px;
    color: #333;
    font-size: 0.9rem;
}
.account-form input::placeholder { color: #888; }
.account-form input:focus {
    outline: none;
    border-color: #5CB860;
    box-shadow: 0 0 0 2px rgba(92, 184, 96, 0.2);
}
.account-form button {
    background-color: #00B76F;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s, box-shadow 0.3s;
}
.account-form button:hover {
    background-color: #00E68C;
}
#g_id_onload, .g_id_signin {
    margin: 0 auto;
    padding: 0 20px;
}
.switch-form-link {
    color: #1a1a5f !important;
    text-decoration: none;
    font-size: 0.85rem;
    text-align: center;
    display: block;
    margin: 15px 0;
    cursor: pointer;
    font-weight: 600;
}
.switch-form-link:hover {
    text-decoration: underline;
}

.auth-view { display: none; }
.auth-view.active { display: block; }




