/* =========================================================
BO Admin - Setup and configuration status
========================================================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background: #f3f5f8;
    color: #1f2937;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[hidden] {
    display: none !important;
}

.cms-setup-shell {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 1.25rem;
}

.cms-setup-card {
    width: min(100%, 36rem);
    padding: clamp(1.5rem, 5vw, 2.25rem);
    border: 1px solid #d9dee7;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 .8rem 2.2rem rgba(16, 24, 40, .08);
}

.cms-setup-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.cms-setup-brand img {
    flex: 0 0 auto;
    object-fit: contain;
}

.cms-setup-eyebrow,
.cms-setup-product {
    margin: 0;
}

.cms-setup-eyebrow {
    color: #667085;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cms-setup-product {
    margin-top: .35rem;
    color: #111827;
    font-size: 1.25rem;
    font-weight: 650;
}

.cms-setup-message {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: .9rem;
}

.cms-setup-message h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.35rem, 5vw, 1.65rem);
    font-weight: 650;
    line-height: 1.25;
}

.cms-setup-message p {
    margin: .65rem 0 0;
    color: #475467;
    font-size: .95rem;
    line-height: 1.6;
}

.cms-setup-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid #bfdbfe;
    border-radius: .7rem;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 1rem;
    font-weight: 800;
}

.cms-setup-icon.is-warning {
    border-color: #f3d08a;
    background: #fffbeb;
    color: #854d0e;
}

.cms-setup-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    margin-top: 1.5rem;
    padding: .65rem 1rem;
    border: 1px solid #2563eb;
    border-radius: .7rem;
    background: #2563eb;
    color: #fff;
    font-size: .95rem;
    font-weight: 650;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.cms-setup-action:hover {
    border-color: #1d4ed8;
    background: #1d4ed8;
}

.cms-setup-action:focus-visible {
    outline: 3px solid #bfdbfe;
    outline-offset: 3px;
}

.cms-setup-help {
    margin: 1.5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid #e4e7ec;
    color: #667085;
    font-size: .8rem;
    line-height: 1.5;
}

@media (max-width: 479px) {
    .cms-setup-shell {
        align-items: start;
        padding: .75rem;
    }

    .cms-setup-card {
        margin-top: .75rem;
        padding: 1.25rem;
    }

    .cms-setup-brand {
        margin-bottom: 1.4rem;
    }

    .cms-setup-action {
        width: 100%;
    }
}
