
/* =========================================================
   STUDENT LOGIN
   ========================================================= */

.custom-student-login {
    display: inline-flex!important;
    align-items: center;
    justify-content: center;
    gap: 4px;

    min-height: 32px;
    padding: 6px 12px;

    background: #ff6100;
    color: #ffffff;

    font-size: 12px;
    font-weight: 600;
    line-height: 1;

    border-radius: 6px;

    text-decoration: none;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);

    white-space: nowrap;

    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.custom-student-login:hover {
    background: #e95700;
    color: #ffffff;
    text-decoration: none;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.custom-student-login:active {
    transform: translateY(1px);
}


/* Student SVG */

.custom-student-icon {
    width: 16px;
    height: 16px;

    flex: 0 0 16px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) {

    .custom-topbar-container {
        padding-left: 24px;
        padding-right: 24px;
    }

}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 992px) {

    .custom-topbar-container {
        padding-left: 40px;
        padding-right: 40px;
    }

}


/* =========================================================
   EXTRA LARGE DESKTOP
   ========================================================= */

@media (min-width: 1500px) {

    .custom-topbar-container {
        padding-left: 24px;
        padding-right: 24px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .custom-topbar-container {
        padding: 7px 12px;

        gap: 8px;
    }

    .custom-topbar-left {
        gap: 0;
    }

    /* Keep affiliation visible on mobile */
    .custom-affiliation {
        font-size: 10px;
        letter-spacing: 0.02em;
    }

    /* Hide phone on mobile */
    .custom-phone {
        display: none;
    }

    /* Hide email on mobile */
    .custom-email {
        display: none;
    }

    /* Compact student login */
    .custom-student-login {
        min-height: 30px;
        padding: 6px 9px;

        font-size: 11px;
        border-radius: 5px;
    }

    .custom-student-icon {
        width: 15px;
        height: 15px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .custom-topbar-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .custom-affiliation {
        font-size: 9px;
    }

    .custom-student-login {
        padding: 6px 8px;
        font-size: 10px;
    }

    .custom-student-icon {
        width: 14px;
        height: 14px;
    }

}