/* HostingOPS app overrides. Loaded after the Bootstrap theme files. */
body {
    background: #f6faf7;
    color: #1f2933;
}

.navbar-brand {
    letter-spacing: 0;
}

.hop-shell {
    min-height: calc(100vh - 57px);
}

.hop-sidebar {
    background: #ffffff;
    border-right: 1px solid #d8eadc;
    flex: 0 0 236px;
    padding: 1rem 0.75rem;
}

.hop-sidebar-label {
    color: #5f7c69;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0.25rem 0.75rem 0.75rem;
    text-transform: uppercase;
}

.hop-sidebar .nav-link {
    align-items: center;
    border-radius: 6px;
    color: #365443;
    display: flex;
    /* font-weight: 400; */
    gap: 0.35rem;
    margin-bottom: 0.5rem;
    padding: 0.35rem 0.45rem;
}

.hop-sidebar .nav-link:hover {
    background: #edf7ef;
    color: #0f5132;
}

.hop-sidebar .nav-link.active {
    background: #dff4e5;
    color: #0f5132;
}

.hop-sidebar-icon {
    background: #edf7ef;
    border-radius: 6px;
    color: #16803c;
    display: inline-flex;
    flex: 0 0 1.8rem;
    height: 1.8rem;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
}

.hop-sidebar-footer {
    border-top: 1px solid #edf7ef;
    color: #5f7c69;
    font-size: 0.8rem;
    margin-top: 1rem;
    padding: 1rem 0.75rem 0;
}

.hop-content {
    flex: 1 1 auto;
    min-width: 0;
}

.hop-panel {
    background: #ffffff;
    border: 1px solid #d8eadc;
    border-radius: 8px;
    padding: 1.25rem;
}

.hop-stat {
    min-height: 132px;
    background: #ffffff;
    border: 1px solid #d8eadc;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hop-stat span {
    color: #456653;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hop-stat strong {
    color: #102a1c;
    display: block;
    font-size: 1.8rem;
    line-height: 1.1;
}

.hop-stat small {
    color: #5f7c69;
}

.hop-stat.hop-success strong {
    color: #16803c;
}

.hop-stat.hop-success {
    background: #f4fbf6;
    border-color: #bde5c8;
}

.hop-stat.hop-warning strong {
    color: #b45309;
}

.hop-stat.hop-warning {
    background: #fffaf0;
    border-color: #f5cf82;
}

.hop-stat.hop-danger strong {
    color: #dc2626;
}

.hop-stat.hop-danger {
    background: #fff6f6;
    border-color: #f2b8b8;
}

.hop-stat.hop-dark-danger strong {
    color: #7f1d1d;
}

.hop-stat.hop-dark-danger {
    background: #ffb7b7;
    border-color: #fc6969;
}

.table > :not(caption) > * > * {
    padding: 0.85rem 0.75rem;
}

.table thead th {
    color: #456653;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.btn,
.badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.65rem;
    text-decoration: none!important;
}

.btn,
.badge {
    border-radius: 6px;
}

.hop-guest-hero {
    min-height: calc(100vh - 94px);
    display: flex;
    align-items: center;
    padding: 3rem 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(163, 230, 53, 0.18), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f6faf7 52%, #e8f7ec 100%);
}

.hop-kicker {
    color: #16803c;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hop-preview {
    background: #ffffff;
    border: 1px solid #d8eadc;
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(15, 81, 50, 0.14);
    padding: 1.25rem;
}

.hop-preview-header {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.hop-preview-header span {
    width: 0.7rem;
    height: 0.7rem;
    background: #d8eadc;
    border-radius: 999px;
    display: inline-block;
}

.hop-preview-stat {
    background: #f6faf7;
    border: 1px solid #d8eadc;
    border-radius: 8px;
    padding: 1rem;
}

.hop-preview-stat small,
.hop-preview-row span {
    color: #5f7c69;
    font-weight: 700;
}

.hop-preview-stat strong {
    color: #102a1c;
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.hop-preview-stat.hop-success strong {
    color: #16803c;
}

.hop-preview-stat.hop-warning strong {
    color: #f59e0b;
}

.hop-preview-stat.hop-danger strong {
    color: #dc2626;
}

.hop-preview-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.hop-preview-row b {
    color: #102a1c;
}

.hop-preview-bar {
    background: #edf7ef;
    border-radius: 999px;
    height: 0.6rem;
    overflow: hidden;
}

.hop-preview-bar span {
    background: linear-gradient(90deg, #16803c, #a3e635);
    display: block;
    height: 100%;
}

.hop-preview-bar.hop-danger span {
    background: linear-gradient(90deg, #dc2626, #dc2626);
}

.hop-preview-bar.hop-warning span {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.hop-preview-bar.hop-success span {
    background: linear-gradient(90deg, #16803c, #a3e635);
}

.hop-auth-shell {
    background: #f4f8f5;
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    min-height: 100vh;
}

.hop-app-sidebar {
    background: #10251a;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    color: #dbeee2;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.hop-app-brand {
    align-items: center;
    color: #ffffff;
    display: flex;
    gap: 0.75rem;
    padding: 0.35rem 0.35rem 1rem;
    text-decoration: none!important;
}

.hop-app-brand:hover {
    color: #ffffff;
}

.hop-brand-mark {
    align-items: center;
    background: #52b788;
    border-radius: 8px;
    color: #07140d;
    display: inline-flex;
    flex: 0 0 2.3rem;
    font-weight: 900;
    height: 2.3rem;
    justify-content: center;
}

.hop-brand-logo {
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.hop-app-brand-logo {
    max-height: 2.55rem;
    width: 11.9rem;
}

.hop-app-brand strong {
    display: block;
    font-size: 1rem;
    line-height: 1.1;
}

.hop-app-brand small {
    color: #95c7a8;
    display: block;
    font-size: 0.75rem;
}

.hop-nav-group {
    margin-top: 1rem;
}

.hop-nav-title {
    color: #7fb594;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0.6rem 0.5rem;
    text-transform: uppercase;
}

.hop-app-sidebar .nav-link {
    align-items: center;
    border-radius: 8px;
    color: #cce7d4;
    display: flex;
    /* font-weight: 700; */
    gap: 0.65rem;
    margin-bottom: 0.25rem;
    min-height: 2.45rem;
    padding: 0.55rem 0.65rem;
    text-decoration: none!important;
}

.hop-app-sidebar .nav-link:hover {
    background: rgba(82, 183, 136, 0.16);
    color: #ffffff;
}

.hop-app-sidebar .nav-link.active {
    background: #e7f8eb;
    color: #0f5132;
}

.hop-app-sidebar .nav-link.disabled {
    color: #6c947c;
    opacity: 1;
}

.hop-app-sidebar .nav-link i {
    font-size: 1rem;
    text-align: center;
    width: 1.15rem;
}

.hop-coming-soon {
    color: #8fc79f;
    font-size: 0.68rem;
    margin-left: auto;
}

.hop-sidebar-user {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    padding-top: 1rem;
}

.hop-user-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #ffffff;
    display: flex;
    gap: 0.65rem;
    padding: 0.65rem;
    text-decoration: none!important;
}

.hop-user-card:hover {
    color: #ffffff;
}

.hop-user-avatar {
    align-items: center;
    background: #d9f99d;
    border-radius: 8px;
    color: #10251a;
    display: inline-flex;
    flex: 0 0 2rem;
    font-weight: 900;
    height: 2rem;
    justify-content: center;
    text-transform: uppercase;
}

.hop-workspace {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hop-topbar {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid #d8eadc;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 76px;
    padding: 0.85rem 1.5rem;
}

.hop-topbar-kicker {
    color: #5f7c69;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hop-topbar h1 {
    color: #102a1c;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.hop-topbar-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hop-content {
    padding: 1.25rem;
}

.hop-alert-stack {
    margin: 0 auto 1rem;
    max-width: 1320px;
    padding: 0 0.75rem;
}

.hop-public-nav {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #d8eadc;
    box-shadow: 0 10px 30px rgba(16, 42, 28, 0.05);
    min-height: 72px;
}

.hop-public-brand {
    align-items: center;
    color: #102a1c;
    display: inline-flex;
    gap: 0.7rem;
    text-decoration: none!important;
}

.hop-public-brand:hover {
    color: #102a1c;
}

.hop-public-brand .hop-brand-mark {
    border-radius: 10px;
    flex-basis: 2.35rem;
    height: 2.35rem;
    width: 2.35rem;
}

.hop-public-brand-logo {
    max-height: 2.4rem;
    width: 11.2rem;
}

.hop-public-brand strong {
    display: block;
    font-size: 1rem;
    line-height: 1.05;
}

.hop-public-brand small {
    color: #5f7c69;
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
}

.hop-public-nav .navbar-toggler {
    border: 1px solid #d8eadc;
    border-radius: 8px;
    padding: 0.4rem 0.55rem;
}

.hop-public-links {
    align-items: center;
    gap: 0.35rem;
}

.hop-public-links .nav-link {
    align-items: center;
    border-radius: 999px;
    color: #365443;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    text-decoration: none!important;
}

.hop-public-links .nav-link:hover,
.hop-public-links .nav-link.active {
    background: #edf7ef;
    color: #0f5132;
}

.hop-public-actions {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    margin-left: 0.75rem;
}

.hop-public-main {
    min-height: calc(100vh - 72px);
    padding: 1.5rem 0 2.5rem;
}

.hop-public-alerts {
    margin: 0 auto 1rem;
    max-width: 1120px;
    padding: 0 0.75rem;
}

@media (max-width: 991.98px) {
    .hop-auth-shell {
        display: block;
    }

    .hop-app-sidebar {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-right: 0;
        padding: 0.75rem;
    }

    .hop-app-brand {
        padding-bottom: 0.65rem;
    }

    .hop-nav-group {
        margin-top: 0.65rem;
    }

    .hop-app-sidebar .nav {
        flex-direction: row !important;
        gap: 0.35rem;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .hop-nav-title,
    .hop-sidebar-user {
        display: none;
    }

    .hop-app-sidebar .nav-link {
        margin-bottom: 0;
        white-space: nowrap;
    }

    .hop-topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem;
    }

    .hop-topbar-actions {
        width: 100%;
    }

    .hop-public-links {
        align-items: stretch;
        gap: 0.25rem;
        padding-top: 0.85rem;
    }

    .hop-public-links .nav-link {
        border-radius: 8px;
        justify-content: flex-start;
        width: 100%;
    }

    .hop-public-actions {
        align-items: stretch;
        flex-direction: column;
        margin-left: 0;
        margin-top: 0.65rem;
    }

    .hop-app-brand-logo {
        max-height: 2.25rem;
        width: 10.5rem;
    }

    .hop-public-brand-logo {
        max-height: 2.1rem;
        width: 9.8rem;
    }

    .hop-shell {
        display: block !important;
    }

    .hop-sidebar {
        border-bottom: 1px solid #d8eadc;
        border-right: 0;
        flex: none;
        overflow-x: auto;
        padding: 0.75rem;
    }

    .hop-sidebar-label,
    .hop-sidebar-footer {
        display: none;
    }

    .hop-sidebar .nav {
        flex-direction: row !important;
        gap: 0.5rem;
        min-width: max-content;
    }

    .hop-sidebar .nav-link {
        margin-bottom: 0;
        white-space: nowrap;
    }
}
