/* Style only the added teacher control; preserve the native account/signup button styles. */
header.header .header-right > .goohub-instructor-control {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    box-sizing: content-box;
    padding-inline-start: 10px;
    margin-inline-start: 0;
    border-inline-start: 1px solid #dbe6ef;
    line-height: 1;
}
header.header .goohub-instructor-control > a.goohub-instructor-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid #eed6b6;
    border-radius: 50%;
    color: #986019;
    background: #fff6e9;
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.15s ease, color 0.15s ease;
}
header.header .goohub-instructor-link svg {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    pointer-events: none;
}
header.header .goohub-instructor-control > a.goohub-instructor-link:hover {
    background: #986019;
    color: #fff;
    border-color: #986019;
}
header.header .goohub-instructor-control > a.goohub-instructor-link:focus-visible {
    outline: 3px solid #096aa9;
    outline-offset: 3px;
}
@media (min-width: 1200px) and (max-width: 1499px) {
    header.header.goohub-instructor-enabled .header-right .search-form {
        max-width: 224px;
        min-width: 0;
    }
}
/* Allow the logo column to shrink before controls overlap on small screens. */
@media (max-width: 991px) {
    header.header.goohub-instructor-enabled .header-content-wrapper,
    header.header.goohub-instructor-enabled .logo { min-width: 0; }
    header.header.goohub-instructor-enabled .logo img { max-width: 100%; height: auto; }
    header.header.goohub-instructor-enabled .header-right { flex-shrink: 0; }
}
@media (max-width: 575px) {
    header.header .header-right > .goohub-instructor-control { padding-inline-start: 6px; }
    header.header .goohub-instructor-control > a.goohub-instructor-link {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }
    header.header .goohub-instructor-link svg {
        flex-basis: 22px;
        width: 22px;
        height: 22px;
    }
}
@media (prefers-reduced-motion: reduce) {
    header.header .goohub-instructor-control > a.goohub-instructor-link { transition: none; }
}
