.rbo-general-grid {
    grid-template-columns: 1.4fr 0.8fr 1fr;
}

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

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

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

.rbo-subsection {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #e5eaf0;
}

.rbo-subsection:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.rbo-subsection h3 {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 19px;
}

.form-card>p {
    margin: -6px 0 18px;
    color: var(--muted);
    line-height: 1.45;
}

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

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

.rbo-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);
}

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

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

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

@media (max-width: 900px) {

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

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

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

@media (max-width: 640px) {
    .rbo-options {
        grid-template-columns: 1fr;
    }

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

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