.child-support-shell {
    max-width: 1560px;
}

.child-support-nav .nav-link {
    border-radius: 999px;
    color: #495057;
    font-weight: 600;
}

.child-support-nav .nav-link.active {
    background: #0d6efd;
    color: #fff;
}

.child-support-card,
.child-support-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.child-support-card {
    padding: 1rem 1.25rem;
}

.child-support-tools-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.75rem;
}

.child-support-tools-toggle {
    min-width: 2.5rem;
    font-size: 1rem;
    line-height: 1;
}

.child-support-tools-card {
    border-radius: 14px;
    border-color: #dbe2ea;
    box-shadow: none;
    background: #fbfcfe;
}

.child-support-tools-card .list-group-item {
    background: transparent;
}

.child-support-tools-panel.collapsed .child-support-tools-header {
    border-bottom: 0;
    padding-bottom: 0;
}

.child-support-section {
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.child-support-section h2,
.child-support-section h3,
.child-support-section h4 {
    margin-bottom: 1rem;
}

.child-support-sticky {
    position: sticky;
    top: 1rem;
}

.child-support-local-list {
    display: grid;
    gap: 0.75rem;
    max-height: 18rem;
    overflow-y: auto;
}

.child-support-local-item {
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    padding: 0.85rem;
    background: #f8fafc;
}

.child-support-local-item.active {
    border-color: #0d6efd;
    background: #eef5ff;
}

.child-support-local-item h6 {
    margin-bottom: 0.25rem;
}

.child-support-local-empty {
    border: 1px dashed #ced4da;
    border-radius: 12px;
    padding: 1rem;
    color: #6c757d;
    text-align: center;
}

.child-support-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

.child-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.child-support-table th,
.child-support-table td {
    vertical-align: middle;
    color:black;
}


.child-support-inline-note {
    font-size: 0.9rem;
    color: #6c757d;
}

.child-support-status {
    min-height: 1.5rem;
}

.child-support-queue-list {
    max-height: 16rem;
    overflow-y: auto;
    display: grid;
    gap: 0.5rem;
}

.child-support-queue-item {
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    padding: 0.6rem 0.7rem;
    background: #f8fafc;
}

/* Scope date icon styling so global img rules do not blow up calendar icons */
.child-support-shell .date-holder {
    position: relative;
}

.child-support-shell .date-holder input {
    padding-right: 2.25rem;
}

.child-support-shell .date-holder .dateimg {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem !important;
    height: 1rem !important;
    max-width: 1rem;
    max-height: 1rem;
    opacity: 0.75;
    pointer-events: auto;
    cursor: pointer;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .child-support-sticky {
        position: static;
    }

    .child-support-local-list {
        max-height: 24rem;
    }
}
