.catalog-page {
    min-height: calc(100vh - 6rem);
}

.catalog-card {
    border: 1px solid #dbe5ef;
    border-radius: 1rem;
    box-shadow: 0 0.75rem 2rem rgba(15, 32, 55, 0.08);
}

.catalog-card .card-header {
    background: linear-gradient(135deg, #edf5ff, #f7fbff);
    border-bottom: 1px solid #dbe5ef;
    border-radius: 1rem 1rem 0 0;
}

.catalog-list {
    max-height: 68vh;
    overflow: auto;
}

.catalog-list-card {
    display: flex;
    flex-direction: column;
}

.catalog-list-card .catalog-list-search {
    flex: 0 0 auto;
}

.catalog-list-card .catalog-list {
    flex: 1 1 auto;
    min-height: 0;
}

.catalog-list-card .catalog-list-page-scroll {
    max-height: none;
    overflow: visible;
}

.catalog-list .table tbody tr {
    cursor: pointer;
}

.catalog-list .table tbody tr.table-active {
    --bs-table-bg: #e9f3ff;
}

.catalog-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #52708f;
}

.catalog-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.catalog-helper {
    color: #5e7288;
    font-size: 0.9rem;
}

.catalog-checkbox-list {
    max-height: 20rem;
    overflow: auto;
    border: 1px solid #dbe5ef;
    border-radius: 0.75rem;
    padding: 0.75rem;
    background: #fbfdff;
}

.catalog-checkbox-list .form-check {
    padding: 0.35rem 0 0.35rem 1.8rem;
}

.catalog-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    background: #eef6ff;
    color: #36516e;
    font-size: 0.85rem;
    margin: 0.15rem;
}

.catalog-color-preview {
    width: 100%;
    height: 2.75rem;
    border-radius: 0.75rem;
    border: 1px solid #dbe5ef;
    background: rgb(255, 0, 0);
}

.catalog-empty {
    padding: 1rem;
    border: 1px dashed #bfd0e2;
    border-radius: 0.75rem;
    color: #5e7288;
    background: #fbfdff;
}

.catalog-slot-indicator {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 1px solid #9caec2;
    background: #e5ebf1;
}

.catalog-slot-indicator-active {
    border-color: #248a55;
    background: #2fb66d;
    box-shadow: 0 0 0 0.2rem rgba(47, 182, 109, 0.16);
}

.catalog-slot-summary {
    border-top: 1px solid #dbe5ef;
    padding-top: 1rem;
}

.catalog-slot-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.catalog-summary-label {
    color: #5e7288;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
}

.catalog-summary-value {
    color: #24364a;
    font-size: 0.98rem;
    font-weight: 700;
}
