.cbc-general-grid {
    grid-template-columns: 1.2fr 1.2fr 0.8fr;
}

.cbc-section-title {
    margin-top: 24px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5eaf0;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.cbc-check-item {
    grid-template-columns: 1.5fr 1fr;
}

.cbc-options {
    justify-content: flex-end;
}

.cbc-options span {
    min-width: 76px;
}

.cbc-options label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cbc-step.is-hidden-step {
    display: none;
}

.cbc-step.is-active {
    display: block;
}

.cbc-step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.cbc-submit-actions {
    display: none;
}

.cbc-alert {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 800;
    border: 1px solid #fecaca;
}

.cbc-missing {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18) !important;
}

.pagination-status {
    font-weight: 700;
    color: var(--primary);
}

.checklist {
    display: grid;
    gap: 14px;
}

.check-item {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #e5eaf0;
    background: #fff;
}

.check-info {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.check-number {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #eef8fb;
    border: 1px solid #d6edf3;
    color: var(--primary);
    font-weight: 700;
}

.check-info strong {
    display: block;
    color: var(--primary);
    font-size: 15px;
    margin-bottom: 4px;
}

.check-info small {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.check-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.check-options label {
    cursor: pointer;
}

.check-options span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid #d9e2ec;
    background: #fff;
    transition: all .2s ease;
    font-weight: 700;
}

.check-options input[type="radio"] {
    display: none;
}

.check-options input[type="radio"]:checked+span {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.secondary-button {
    border: 1px solid #d9e2ec;
    background: #fff;
    color: var(--primary);
    border-radius: 999px;
    padding: 16px 28px;
    cursor: pointer;
    font-weight: 700;
    transition: .2s ease;
}

.secondary-button:hover {
    background: #f8fafc;
}

@media (max-width: 900px) {

    .cbc-general-grid,
    .cbc-check-item {
        grid-template-columns: 1fr;
    }

    .cbc-options {
        justify-content: flex-start;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .cbc-options span {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 640px) {

    .cbc-options {
        grid-template-columns: 1fr;
    }

    .cbc-step-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cbc-step-actions .primary-button,
    .cbc-step-actions .secondary-button {
        width: 100%;
        justify-content: center;
    }

    .check-item {
        padding: 14px;
    }

    .check-info {
        flex-direction: column;
        gap: 10px;
    }

    .check-number {
        width: 30px;
        height: 30px;
    }
}

.field select {
    width: 100%;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 15px;
    font-family: inherit;
    background: #ffffff;
    color: var(--text);
    outline: none;
    transition: 0.2s ease;
}

.field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 166, 200, 0.12);
}
