/* =====================================================
   MAIN WEBSITE LOGO
   ===================================================== */

.login-brand-logo {
    position: absolute;

    top: 40px;
    left: 48px;

    width: 325px;

    z-index: 5;

    display: flex;
    align-items: center;
}

.login-brand-logo img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

/* =====================================================
   LOGIN PANEL LOGO
   ===================================================== */

.login-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}

.login-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 35px;
}

.login-logo {
    width: 90px;
    height: 90px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    display: block;
}

.login-brand-name {
    display: flex;
    flex-direction: column;

    line-height: 1.05;
}

.login-brand-name span {
    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;

    color: #475569;
}

.login-brand-name strong {
    margin-top: 5px;

    font-size: 25px;
    font-weight: 800;

    letter-spacing: 1px;

    background: linear-gradient(
        90deg,
        #f43f5e,
        #a855f7
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 900px) {

    .login-brand-logo {
        display: none;
    }

    .login-visual {
        display: none;
    }

    .login-panel {
        position: relative;

        top: auto;
        right: auto;

        transform: none;

        width: 100%;
        max-width: 450px;

        margin: 30px auto;
    }

    .login-screen {
        min-height: 100vh;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 20px;
    }
}

/* =========================================================
   DASHBOARD BRAND HEADER
   ========================================================= */

.dashboard-header {
    /*width: 100%;*/
    /*min-height: 88px;*/

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 10px;

    background: linear-gradient(
        135deg,
        #111827 0%,
        #172554 55%,
        #312e81 100%
    );

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, 0.12);

    margin-bottom: 18px;
}


/* =========================================================
   LEFT BRAND
   ========================================================= */

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 6px;

    min-width: 0;
}


/* Logo icon */

.dashboard-brand-icon {
    /*width: 58px;*/
    height: 66px;

    flex: 0 0 66px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.10);

    border: 1px solid rgba(255, 255, 255, 0.18);

    overflow: hidden;
}


.dashboard-brand-icon img {
    width: 103px;
    /*height: 52px;*/

    object-fit: contain;

    display: block;
}


/* =========================================================
   BRAND TEXT
   ========================================================= */

.dashboard-brand-name {
    font-size: 25px;
    line-height: 1.1;

    font-weight: 750;

    color: #ffffff;

    letter-spacing: -0.4px;
}


.dashboard-brand-name span {
    color: #ff3f8e;
}


.dashboard-brand-subtitle {
    margin-top: 4px;

    font-size: 13px;

    color: rgba(255, 255, 255, 0.72);

    font-weight: 500;
}


/* =========================================================
   LOGGED USER
   ========================================================= */

.dashboard-user {
    margin-top: 5px;

    display: flex;
    align-items: center;
    gap: 5px;

    font-size: 13px;

    color: rgba(255, 255, 255, 0.90);
}


.dashboard-user svg {
    width: 15px;
    height: 15px;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.dashboard-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* Session */

.dashboard-session {
    height: 42px;

    display: flex;
    align-items: center;
    gap: 7px;

    padding: 0 15px;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.18);

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
}


.dashboard-session svg {
    width: 17px;
    height: 17px;
}


/* =========================================================
   LOGOUT BUTTON
   ========================================================= */

.dashboard-logout {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.10);

    color: #ffffff;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.dashboard-logout:hover {
    background: rgba(255, 63, 142, 0.85);

    transform: translateY(-1px);
}


.dashboard-logout svg {
    width: 19px;
    height: 19px;
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

@media (max-width: 600px) {

    .dashboard-header {
        width: 100%;

        margin: 8px auto;
        padding: 10px;

        min-height: 92px;

        border-radius: 14px;

        align-items: center;
        display: flow;
    }

    .dashboard-actions {
        justify-content: end;
    }


    /* LEFT 

    .dashboard-header-left {
        min-width: 0;
    }


    /* Smaller logo */

    .dashboard-logo {
        width: 48px;
        height: 48px;

        flex: 0 0 48px;

        border-radius: 10px;
    }


    /* Brand */

    .dashboard-brand {
        margin-left: 8px;

        min-width: 0;
    }


    .dashboard-brand-title {
        font-size: 18px;

        white-space: nowrap;
    }


    .dashboard-brand-subtitle {
        font-size: 11px;

        margin-top: 3px;
    }


    .dashboard-user {
        font-size: 10px;

        margin-top: 2px;
    }


    /* RIGHT */

    .dashboard-header-right {
        gap: 6px;
    }


    /* Timer */

    .session-timer {
        min-height: 36px;

        padding: 0 8px;

        font-size: 11px;

        border-radius: 9px;
    }


    /* Logout */

    .logout-button {
        width: 40px;
        height: 36px;

        border-radius: 9px;
    }
}

@media (max-width: 430px) {

    .dashboard-header {
        width: 100%

        padding: 8px;

        min-height: 82px;

        display: flow;
    }

    .dashboard-actions {
        justify-content: end;
    }


    .dashboard-logo {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }


    .dashboard-brand {
        margin-left: 7px;
    }


    .dashboard-brand-title {
        font-size: 16px;
    }


    .dashboard-brand-subtitle {
        font-size: 10px;
    }


    .dashboard-user {
        font-size: 9px;
    }


    .session-timer {
        padding: 0 7px;

        min-height: 34px;

        font-size: 10px;
    }


    .logout-button {
        width: 36px;
        height: 34px;
    }
}


