/* YesAdmin maintenance banner v1.0.0 */

.yesadmin-maintenance-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    width: 100%;
    padding: 0.55rem 1rem;
    border-bottom: 1px solid rgb(251 146 60);
    background: rgb(255 247 237);
    color: rgb(154 52 18);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.dark .yesadmin-maintenance-banner {
    border-bottom-color: rgb(234 88 12);
    background: rgb(67 20 7);
    color: rgb(254 215 170);
}

.yesadmin-maintenance-banner__icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.yesadmin-maintenance-banner__text {
    flex: 1 1 auto;
    min-width: 0;
}

.yesadmin-maintenance-banner__link {
    flex-shrink: 0;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid rgb(251 146 60);
    background: rgb(255 255 255);
    color: rgb(194 65 12);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.yesadmin-maintenance-banner__link--secondary {
    background: transparent;
}

.yesadmin-maintenance-banner__link:hover {
    background: rgb(255 237 213);
    color: rgb(154 52 18);
}

.dark .yesadmin-maintenance-banner__link {
    border-color: rgb(234 88 12);
    background: rgb(124 45 18);
    color: rgb(255 237 213);
}

.dark .yesadmin-maintenance-banner__link:hover {
    background: rgb(154 52 18);
    color: rgb(255 255 255);
}

@media (max-width: 640px) {
    .yesadmin-maintenance-banner {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

[dir='rtl'] .yesadmin-maintenance-banner {
    direction: rtl;
}

.yesadmin-auth-maintenance-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    border-bottom: 1px solid rgb(251 146 60);
}

.yesadmin-auth-shell--maintenance {
    padding-top: 3.25rem;
}
