.oi-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2100;
    width: min(420px, calc(100vw - 2rem));
    display: grid;
    gap: .75rem;
    pointer-events: none;
}

.oi-toast {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .7rem;
    align-items: start;
    padding: .9rem 1rem;
    border: 1px solid transparent;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 10px 28px rgba(5, 21, 35, .2);
    color: #17313d;
    pointer-events: auto;
    animation: oiToastIn .18s ease-out;
    overflow: hidden;
}

.oi-toast[data-auto-dismiss] {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2100;
    width: min(420px, calc(100vw - 2rem));
}

.oi-toast::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #DBA733;
    content: '';
    transform-origin: right center;
    animation: oiToastTimer var(--oi-toast-duration, 7s) linear forwards;
}

.oi-toast-success { border-color: #a9d8b3; }
.oi-toast-error { border-color: #e6b4b4; }
.oi-toast-info { border-color: #b5d1e2; }
.oi-toast-icon { font-size: 1.1rem; font-weight: 700; }
.oi-toast-success .oi-toast-icon { color: #218838; }
.oi-toast-error .oi-toast-icon { color: #bd3030; }
.oi-toast-info .oi-toast-icon { color: #17658a; }
.oi-toast-message { line-height: 1.4; }
.oi-toast-close {
    border: 0;
    background: transparent;
    color: #607783;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 .15rem;
}

.oi-confirm-modal-content {
    border: 0;
    border-radius: .85rem;
    box-shadow: 0 18px 45px rgba(5, 21, 35, .25);
}

.oi-confirm-modal-content .modal-header {
    background: #051523;
    color: #fff;
    border-bottom: 0;
}

.oi-confirm-modal-content .modal-header .btn-close {
    filter: invert(1);
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .global-header .row {
        flex-wrap: wrap !important;
    }
    .global-header .row > .col-md-4,
    .global-header .row > .col-md-8 {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    .global-header .row > .col-md-8 {
        margin-top: .75rem;
    }
    .global-header .doc-nav {
        justify-content: flex-start !important;
    }
}

@media (min-width: 1400px) {
    .global-header .doc-nav {
        gap: .25rem !important;
    }
    .global-header .doc-nav > a {
        flex: 0 0 auto !important;
        padding: .3rem .45rem !important;
        font-size: .78rem !important;
    }
    .global-header .global-header-notification-wrap {
        flex: 0 0 auto !important;
    }
    .global-header .global-header-notifications {
        margin-right: .25rem !important;
        padding: .3rem .45rem !important;
    }
}

@keyframes oiToastIn {
    from { opacity: 0; transform: translateY(-.5rem); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes oiToastTimer {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 575.98px) {
    .oi-toast-container { top: .75rem; right: .75rem; left: .75rem; width: auto; }
    .oi-toast[data-auto-dismiss] { top: .75rem; right: .75rem; left: .75rem; width: auto; }
}
