/* Temporary notice, scoped to avoid changing existing legacy dialogs. */
body.cpd-maintenance-open {
    overflow: hidden !important;
}

#cpd-maintenance-notice {
    color: #182b4c;
    font-family: Tahoma, Thonburi, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

#cpd-maintenance-notice .modal-dialog {
    width: 600px;
    max-width: calc(100% - 24px);
    margin: 24px auto;
}

#cpd-maintenance-notice .modal-content {
    overflow: hidden;
    border: 1px solid #e6eef5;
    border-radius: 18px !important;
    background: #ffffff;
    box-shadow: 0 24px 80px rgba(13, 36, 61, 0.24);
}

#cpd-maintenance-notice .cpd-maintenance-brand {
    position: relative;
    z-index: 1;
    padding: 18px 28px 0;
    color: #142348;
    font: bold 27px/1.3 Arial, sans-serif;
    letter-spacing: -1px;
}

#cpd-maintenance-notice .cpd-maintenance-brand span {
    color: #0288d1;
}

#cpd-maintenance-notice .cpd-maintenance-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #718099;
    font: 32px/44px Arial, sans-serif;
    cursor: pointer;
}

#cpd-maintenance-notice .cpd-maintenance-close:hover {
    background: #edf6fc;
    color: #182b4c;
}

#cpd-maintenance-notice .cpd-maintenance-illustration {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -4px;
}

#cpd-maintenance-notice .cpd-maintenance-body {
    padding: 0 28px 24px;
    text-align: center;
}

#cpd-maintenance-notice .cpd-maintenance-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 16px;
    border-radius: 24px;
    background: #e2f3ff;
    color: #0965ad;
    font-size: 15px;
    font-weight: bold;
}

#cpd-maintenance-notice h2 {
    margin: 0 0 10px;
    color: #182b4c;
    font-family: inherit;
    font-size: 29px;
    font-weight: bold;
    line-height: 1.5;
}

#cpd-maintenance-notice .cpd-maintenance-intro {
    margin: 0 0 20px;
    color: #454e60;
    font-size: 17px;
}

#cpd-maintenance-notice .cpd-maintenance-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #0288d1;
    border-radius: 12px;
    background: #eaf7ff;
}

#cpd-maintenance-notice .cpd-maintenance-schedule .fa {
    color: #0288d1;
    font-size: 44px;
}

#cpd-maintenance-notice .cpd-maintenance-date,
#cpd-maintenance-notice .cpd-maintenance-time,
#cpd-maintenance-notice .cpd-maintenance-timezone {
    display: block;
}

#cpd-maintenance-notice .cpd-maintenance-date {
    font-size: 22px;
    line-height: 1.7;
}

#cpd-maintenance-notice .cpd-maintenance-time {
    color: #101f44;
    font-size: 25px;
    line-height: 1.6;
    white-space: nowrap;
}

#cpd-maintenance-notice .cpd-maintenance-timezone {
    color: #454e60;
    font-size: 14px;
}

#cpd-maintenance-notice .cpd-maintenance-description {
    margin: 0 0 12px;
    color: #454e60;
    font-size: 16px;
    line-height: 1.8;
}

#cpd-maintenance-notice .cpd-maintenance-apology {
    margin: 0 0 18px;
    color: #454e60;
    font-size: 14px;
}

#cpd-maintenance-notice .cpd-maintenance-accept {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    background: #0288d1;
    color: #ffffff;
    font-family: inherit;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.5;
    cursor: pointer;
    transition: background-color 150ms ease-out;
}

#cpd-maintenance-notice .cpd-maintenance-accept:hover {
    background: #006fb2;
}

#cpd-maintenance-notice button:focus {
    outline: 3px solid #244d76;
    outline-offset: -5px;
}

body .modal-backdrop.cpd-maintenance-backdrop.in {
    background-color: #152c42 !important;
    opacity: 0.62;
}

@media (max-width: 480px) {
    #cpd-maintenance-notice .modal-dialog {
        margin: 12px auto;
    }

    #cpd-maintenance-notice .cpd-maintenance-brand {
        padding: 16px 18px 0;
        font-size: 24px;
    }

    #cpd-maintenance-notice .cpd-maintenance-body {
        padding: 0 16px 18px;
    }

    #cpd-maintenance-notice h2 {
        font-size: 23px;
    }

    #cpd-maintenance-notice .cpd-maintenance-intro {
        font-size: 14px;
        margin-bottom: 16px;
    }

    #cpd-maintenance-notice .cpd-maintenance-schedule {
        gap: 12px;
        padding: 12px 8px;
    }

    #cpd-maintenance-notice .cpd-maintenance-schedule .fa {
        font-size: 30px;
    }

    #cpd-maintenance-notice .cpd-maintenance-date {
        font-size: 18px;
    }

    #cpd-maintenance-notice .cpd-maintenance-time {
        font-size: 20px;
    }

    #cpd-maintenance-notice .cpd-maintenance-description {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #cpd-maintenance-notice,
    #cpd-maintenance-notice .modal-dialog,
    #cpd-maintenance-notice button {
        transition: none !important;
    }
}
