/* Client portal entry on the public VetMir website.
   Keep independent from the legacy, generated main.css bundle. */
.sidebar-client-portal {
    margin: 14px 0 0;
    width: 100%;
}

.sidebar-client-portal__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 44px;
    padding: 10px 9px;
    border: 1px solid #007b99;
    border-radius: 7px;
    background-color: #007b99;
    box-shadow: 0 2px 7px rgba(0, 102, 129, .18);
    color: #fff !important;
    font-family: "RobotoMedium", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .015em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.sidebar-client-portal__icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.sidebar-client-portal__text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
}

.sidebar-client-portal__arrow {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    opacity: .9;
}

.sidebar-client-portal__link:hover {
    background-color: #00647d;
    border-color: #00647d;
    box-shadow: 0 4px 10px rgba(0, 102, 129, .25);
    color: #fff !important;
}

.sidebar-client-portal__link:focus-visible {
    outline: 3px solid #ffb300;
    outline-offset: 3px;
}

.sidebar-client-portal__link:active {
    transform: translateY(1px);
}

/* A short window still needs room for all menu items and the hours block. */
@media (max-height: 780px) {
    .sidebar-client-portal { margin-top: 8px; }
    .sidebar-client-portal__link { min-height: 40px; padding-top: 7px; padding-bottom: 7px; }
    .sidebar .main-menu { margin-top: 12px; }
    .sidebar .main-menu__item { height: 34px; }
    .sidebar .main-menu__link { line-height: 33px; }
}

/* On very short screens, do not allow the fixed footer to overlap navigation. */
@media (max-height: 700px) {
    .sidebar { overflow-y: auto; }
    .sidebar .sidebar-bottom {
        position: static;
        width: 100%;
        margin-top: 16px;
        padding-bottom: 10px;
    }
    .sidebar .sidebar-bottom .btn { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar-client-portal__link { transition: none; }
}
