/**
 * Deactivated account notice — sticky bar below fixed header
 */

.adm-deactivated-bar {
    position: sticky;
    top: var(--header-height, 168px);
    z-index: 1015;
    width: 100%;
    background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 8px 24px -12px rgba(0, 0, 0, 0.12);
}

.adm-deactivated-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #047857;
}

.adm-deactivated-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1rem;
    padding-inline-start: 1.15rem;
}

@media (min-width: 768px) {
    .adm-deactivated-bar__inner {
        padding: 0.9rem 1.25rem;
        padding-inline-start: 1.35rem;
    }
}

.adm-deactivated-bar__content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1 1 14rem;
    min-width: 0;
}

.adm-deactivated-bar__icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, 0.22);
    color: #047857;
    font-size: 1.35rem;
}

.adm-deactivated-bar__text {
    min-width: 0;
}

.adm-deactivated-bar__title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #18181b;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.adm-deactivated-bar__desc {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #52525b;
    max-width: 52ch;
}

.adm-deactivated-bar__actions {
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 576px) {
    .adm-deactivated-bar__actions {
        width: auto;
    }
}

.adm-deactivated-bar__cta {
    width: 100%;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.15rem;
    border-radius: 10px !important;
    border: 1px solid #047857 !important;
    background: #047857 !important;
    color: #fff !important;
    transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.15s ease;
}

@media (min-width: 576px) {
    .adm-deactivated-bar__cta {
        width: auto;
        min-width: 10.5rem;
    }
}

.adm-deactivated-bar__cta:hover {
    background: #065f46 !important;
    border-color: #065f46 !important;
    color: #fff !important;
}

.adm-deactivated-bar__cta:active {
    transform: scale(0.98);
}

body.has-deactivated-notice .aiz-main-wrapper {
    scroll-margin-top: var(--header-height, 168px);
}

@media (prefers-reduced-motion: reduce) {
    .adm-deactivated-bar__cta {
        transition: none;
    }

    .adm-deactivated-bar__cta:active {
        transform: none;
    }
}
