/* obyavlyay-technical-break-v3.8.6 */

.technical-break-banner {
    position: relative;
    z-index: 40;
    color: #fff;
    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(255, 255, 255, .14),
            transparent 34%
        ),
        linear-gradient(100deg, #171929, #292442 58%, #1c2036);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.technical-break-banner-inner {
    min-height: 64px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.technical-break-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 14px;
    font-size: 23px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
}

.technical-break-banner strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
    font-weight: 800;
}

.technical-break-banner p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.45;
}

.technical-break-time {
    white-space: nowrap;
    padding: 8px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: 12px;
    font-weight: 700;
}

.technical-break-page-notice,
.technical-break-cart-notice {
    padding: 16px 18px;
    margin: 0 0 18px;
    border-radius: 18px;
    background: #fff7e9;
    border: 1px solid #f2d6a6;
    color: #76501c;
}

.technical-break-page-notice strong,
.technical-break-cart-notice strong {
    display: block;
    margin-bottom: 5px;
}

.technical-break-page-notice p,
.technical-break-cart-notice span {
    display: block;
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
}

.technical-break-cart-notice {
    margin-bottom: 12px;
}

.technical-break-disabled-button,
.technical-break-disabled-button:hover {
    cursor: not-allowed;
    opacity: .56;
    transform: none;
    box-shadow: none;
}

.technical-break-admin-grid {
    display: grid;
    grid-template-columns: minmax(290px, .72fr) minmax(440px, 1.28fr);
    gap: 20px;
    align-items: start;
}

.technical-break-status-card {
    position: sticky;
    top: 108px;
    overflow: hidden;
}

.technical-break-status-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
}

.technical-break-status-card.is-open::before {
    background: #38a86b;
}

.technical-break-status-card.is-closed::before {
    background: #dd7e37;
}

.technical-break-status-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
}

.technical-break-status-heading > span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 17px;
    font-size: 25px;
    background: #f4f1fb;
}

.technical-break-status-heading h2 {
    margin: 0 0 4px;
}

.technical-break-status-heading p {
    margin: 0;
    color: var(--muted, #707180);
    font-size: 13px;
}

.technical-break-current-message {
    padding: 15px;
    margin-bottom: 16px;
    border-radius: 15px;
    background: #f7f7fa;
    font-size: 13px;
    line-height: 1.55;
}

.technical-break-status-list {
    display: grid;
    gap: 10px;
}

.technical-break-status-list > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(30, 31, 40, .08);
    font-size: 13px;
}

.technical-break-status-list > div:last-child {
    border-bottom: 0;
}

.technical-break-settings-form h2 {
    margin: 5px 0 4px;
}

.technical-break-switch {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border-radius: 16px;
    background: #f7f7fa;
    border: 1px solid rgba(30, 31, 40, .08);
}

.technical-break-switch input {
    width: 19px;
    height: 19px;
    margin-top: 2px;
    flex: none;
}

.technical-break-switch span,
.technical-break-switch small {
    display: block;
}

.technical-break-switch small {
    margin-top: 4px;
    color: var(--muted, #707180);
    font-size: 12px;
}

.technical-break-force-switch {
    background: #fff7e9;
    border-color: #f2d6a6;
}

.technical-break-time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.technical-break-time-grid label > span,
.technical-break-settings-form label > span {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
}

.technical-break-save-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.technical-break-save-row > span {
    color: var(--muted, #707180);
    font-size: 12px;
}

@media (max-width: 980px) {
    .technical-break-admin-grid {
        grid-template-columns: 1fr;
    }

    .technical-break-status-card {
        position: static;
    }
}

@media (max-width: 720px) {
    .technical-break-banner-inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .technical-break-time {
        grid-column: 2;
        justify-self: start;
    }

    .technical-break-time-grid {
        grid-template-columns: 1fr;
    }

    .technical-break-save-row {
        align-items: stretch;
        flex-direction: column;
    }

    .technical-break-save-row .button {
        width: 100%;
    }
}
