/************* HEADER.CSS *************/

/* ==================================================
   HEADER CONTAINER
   ================================================== */
.header-container {
    width: 100%;
    background-color: #121212;
    padding: 10px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid #333;
}

/* ==================================================
   LEFT GROUP (logo + home)
   ================================================== */
.header-left-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-logo {
    height: 50px;
    object-fit: contain;
}

/* ==================================================
   RIGHT GROUP (identity + login + hamburger)
   ================================================== */
.header-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ==================================================
   IDENTITY DISPLAY
   ================================================== */
.header-identity {
    display: flex;
    flex-direction: column;
    position: relative;
}

#headerUserName {
    cursor: pointer;
    font-weight: bold;
}

/* ==================================================
   USER MENU DROPDOWN
   ================================================== */
.user-menu {
    position: absolute;
    top: 30px;
    right: 0;

    background-color: #1f1f1f;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 6px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==================================================
   LOGIN PANEL
   ================================================== */
.login-panel {
    position: absolute;
    top: 60px;
    right: 20px;

    background-color: #1f1f1f;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 6px;
    width: 220px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==================================================
   HAMBURGER BUTTON
   ================================================== */
.hamburger-btn {
    background-color: transparent;
    color: white;
    font-size: 28px;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
}

/* ==================================================
   MOBILE RESPONSIVE
   ================================================== */
@media (max-width: 600px) {

    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-right-group {
        width: 100%;
        justify-content: space-between;
    }

    .login-panel {
        right: 10px;
        width: 180px;
    }
}

    .forgot-inline {
        margin-top: 4px;
        text-align: right;
}

    .forgot-link {
        cursor: pointer;
        color: #4ea3ff;
        text-decoration: underline;
        pointer-events: auto;
        z-index: 99999;
}
