/* Default style = Warning (amber) */
.deployment-notice:not(.d-none) {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    margin: 12px 16px;
    padding: 12px 16px;
    border: 1px solid #f5d78a;
    border-left: 4px solid #e6a700;
    border-radius: 8px;
    background-color: #fff8e1;
    color: #8a5a00;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.deployment-notice--alert {
    border-color: #f1aa9b !important;
    border-left-color: #dc3545 !important;
    background-color: #fdecea !important;
    color: #8a2318 !important;
}

.deployment-notice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fbe3a1;
    color: #c07f00;
    font-size: 13px;
    line-height: 1;
}

.deployment-notice--alert .deployment-notice__icon {
    background-color: #f7ccc6;
    color: #dc3545;
}

.deployment-notice__text {
    flex: 1 1 auto;
    min-width: 0;
}

.deployment-notice__text p{
    margin-bottom : 0 !important;
}

.deployment-notice__title {
    display: block;
    margin-bottom: 2px;
}

.deployment-notice__body ul,
.deployment-notice__body ol {
    margin: 4px 0;
    padding-left: 20px;
}

.deployment-notice__body .countdown {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.deployment-notice__close {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    padding: 0 4px;
}

.deployment-notice__close:hover {
    opacity: 1;
}

:root[data-bs-theme="dark"] .deployment-notice {
    border-color: #6b5522;
    border-left-color: #e6a700;
    background-color: #2c2513;
    color: #f0d9a6;
    box-shadow: none;
}

:root[data-bs-theme="dark"] .deployment-notice__icon {
    background-color: #4a3c15;
    color: #f0c04a;
}

:root[data-bs-theme="dark"] .deployment-notice--alert {
    border-color: #7a3a2a;
    border-left-color: #dc3545;
    background-color: #331d16;
    color: #f3c3b4;
}

:root[data-bs-theme="dark"] .deployment-notice--alert .deployment-notice__icon {
    background-color: #5a2018;
    color: #f0857b;
}
