/* ============================================================
   SupervisionDashboard Component Styles
   Brand Colours:
     Coral (Primary):   #ec5f59
     Teal (Secondary):  #97c1bc
     Navy (Text):       #372562
     Purple (Accent):   #7c3aed
     Gold (Accent):     #fdc758
     Darker Coral:      #D4605A
   ============================================================ */

/* ==================== Layout / Main Container ==================== */

.supervision-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #372562;
}

/* ==================== Header ==================== */

.supervision-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #97c1bc;
}

.supervision-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.supervision-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #372562;
}

.supervision-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #372562;
    background: #f0f7f4;
    border: 1px solid #97c1bc;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.supervision-back-btn:hover {
    background: #dff0ea;
    border-color: #6da99a;
}

/* ==================== Tab Navigation ==================== */

.supervision-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0;
}

.supervision-tab {
    position: relative;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    margin-bottom: -2px;
    border-radius: 6px 6px 0 0;
}

.supervision-tab:hover {
    color: #372562;
    background: #f9fafb;
}

.supervision-tab.active {
    color: #ec5f59;
    font-weight: 600;
    border-bottom-color: #ec5f59;
    background: #fff5f4;
}

/* ==================== Content Area ==================== */

.supervision-content {
    min-height: 300px;
}

/* ==================== Loading State ==================== */

.supervision-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.supervision-loading p {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
}

.supervision-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #ec5f59;
    border-radius: 50%;
    animation: supervision-spin 0.9s linear infinite;
}

@keyframes supervision-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== Error State ==================== */

.supervision-error {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fee2e2;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-left: 4px solid #dc2626;
}

.btn-retry {
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-retry:hover {
    background: #b91c1c;
}


/* ==================== Supervisee List Section ==================== */

.supervisee-list-section {
    padding: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #372562;
}

/* Count / Pending Badges */

.count-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 600;
    background: #f0f7f4;
    color: #372562;
    border: 1px solid #97c1bc;
    border-radius: 12px;
}

.supervisee-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: #97c1bc;
    color: white;
    border-radius: 10px;
    margin-left: 0.4rem;
}

.pending-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    background: #ec5f59;
    color: white;
    border-radius: 10px;
    margin-left: 0.4rem;
}

.pending-count {
    background: #ec5f59;
    color: white;
    border-color: #ec5f59;
}

.tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 10px;
    margin-left: 0.4rem;
}

/* Empty State */

.empty-state {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #9ca3af;
}

.empty-state p {
    margin: 0;
    font-size: 0.95rem;
    font-style: italic;
}

/* ==================== Supervisee Grid / Cards ==================== */

.supervisee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.85rem;
}

.supervisee-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

.supervisee-card:hover {
    box-shadow: 0 4px 14px rgba(45, 36, 86, 0.1);
    border-color: #97c1bc;
    transform: translateY(-2px);
}

/* Avatar */

.supervisee-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ec5f59 0%, #D4605A 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.supervisee-avatar.large {
    width: 56px;
    height: 56px;
    min-width: 56px;
    font-size: 1.05rem;
}

/* Supervisee Info */

.supervisee-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
    min-width: 0;
}

.supervisee-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #372562;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.supervisee-role {
    font-size: 0.8rem;
    color: #6b7280;
}

.supervisee-arrow {
    font-size: 1.4rem;
    color: #9ca3af;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

.supervisee-card:hover .supervisee-arrow {
    color: #ec5f59;
    transform: translateX(3px);
}

/* ==================== Supervisee Dashboard Section ==================== */

.supervisee-dashboard-section {
    padding: 0;
}

.supervisee-header-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 1.25rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f0f7f4 0%, #fef5f4 100%);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.supervisee-selected-name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #372562;
}

/* ==================== Sub-view Navigation Cards ==================== */

.subview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.subview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

.subview-card:hover {
    box-shadow: 0 6px 18px rgba(45, 36, 86, 0.1);
    border-color: #ec5f59;
    transform: translateY(-3px);
}

.subview-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.subview-label {
    font-size: 1rem;
    font-weight: 600;
    color: #372562;
    margin-bottom: 0.3rem;
}

.subview-desc {
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.35;
}

/* Sub-view Content */

.subview-content {
    padding: 0;
}

.subview-title {
    margin: 0.75rem 0 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #372562;
}


/* ==================== Tables ==================== */

.supervision-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.supervision-table thead th {
    background: #372562;
    color: white;
    padding: 0.65rem 0.85rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.supervision-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}

.supervision-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.supervision-table tbody tr:hover {
    background: #f0f7f4;
}

.supervision-table td {
    padding: 0.55rem 0.85rem;
    vertical-align: middle;
    color: #372562;
}

/* Child Initials Badge (in tables) */

.child-initials-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #97c1bc 0%, #6da99a 100%);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ==================== Status Badges ==================== */

.status-badge {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 10px;
    white-space: nowrap;
    text-transform: capitalize;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-discharged {
    background: #e5e7eb;
    color: #374151;
}

.status-waiting-list,
.status-waiting_list {
    background: #fef3c7;
    color: #92400e;
}

.status-new_referral {
    background: #dbeafe;
    color: #1e40af;
}

.status-assessment {
    background: #ede9fe;
    color: #5b21b6;
}

.status-on_hold {
    background: #fce7f3;
    color: #9d174d;
}

.status-returned {
    background: #fff7ed;
    color: #c2410c;
}

.status-submitted {
    background: #fdc758;
    color: white;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-unknown {
    background: #f3f4f6;
    color: #6b7280;
}

/* ==================== RAG Badges ==================== */

.rag-badge {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 10px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rag-green {
    background: #d1fae5;
    color: #065f46;
}

.rag-amber {
    background: #fef3c7;
    color: #92400e;
}

.rag-red {
    background: #fee2e2;
    color: #991b1b;
}

.rag-none {
    background: #f3f4f6;
    color: #9ca3af;
}

/* ==================== Caseload Summary Grid ==================== */

.caseload-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.caseload-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.15rem 0.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    border-top: 3px solid #ec5f59;
    text-align: center;
}

.caseload-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ec5f59;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.caseload-stat-label {
    font-size: 0.82rem;
    font-weight: 500;
    color: #6b7280;
}


/* ==================== Quality Audit — Config Form ==================== */

.audit-config-form {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.audit-config-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.audit-config-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    min-width: 160px;
}

.audit-config-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #372562;
}

.audit-input {
    padding: 0.5rem 0.65rem;
    font-size: 0.88rem;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    color: #372562;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.audit-input:focus {
    outline: none;
    border-color: #ec5f59;
    box-shadow: 0 0 0 3px rgba(232, 114, 106, 0.15);
}

/* Supervisee Checkboxes */

.supervisee-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.5rem 0;
}

.supervisee-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #372562;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    transition: background 0.15s;
}

.supervisee-checkbox-label:hover {
    background: #f0f7f4;
}

.supervisee-checkbox-label input[type="checkbox"] {
    accent-color: #ec5f59;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.empty-hint {
    font-size: 0.82rem;
    color: #9ca3af;
    font-style: italic;
}

/* Audit Actions */

.audit-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-primary {
    padding: 0.55rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #ec5f59 0%, #D4605A 100%);
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(232, 114, 106, 0.3);
}

.btn-primary:hover:not(:disabled) {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(232, 114, 106, 0.35);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.audit-loading-text {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: italic;
}

/* ==================== Quality Audit — Metadata ==================== */

.audit-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding: 0.65rem 1rem;
    background: #f0f7f4;
    border: 1px solid #97c1bc;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #372562;
}

.meta-item {
    white-space: nowrap;
}

.meta-item strong {
    color: #ec5f59;
    font-weight: 700;
}

/* ==================== Quality Audit — Results ==================== */

.audit-results {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.audit-visit-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.audit-visit-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Visit Header (clickable) */

.audit-visit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
    gap: 0.75rem;
}

.audit-visit-header:hover {
    background: #fafbfc;
}

.audit-visit-summary {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.audit-supervisee-name {
    font-weight: 600;
    color: #372562;
    font-size: 0.9rem;
}

.audit-child-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #97c1bc 0%, #6da99a 100%);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
}

.audit-school {
    font-size: 0.85rem;
    color: #6b7280;
}

.audit-date {
    font-size: 0.82rem;
    color: #9ca3af;
    white-space: nowrap;
}

/* Indicator Badges (CR / NoV / TU) */

.audit-indicators {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

.indicator-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    border-radius: 5px;
    letter-spacing: 0.02em;
}

.indicator-yes {
    background: #d1fae5;
    color: #065f46;
}

.indicator-no {
    background: #fee2e2;
    color: #991b1b;
}

/* Expand Arrow */

.expand-arrow {
    font-size: 0.75rem;
    color: #9ca3af;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.expand-arrow.expanded {
    transform: rotate(180deg);
}

/* ==================== Quality Audit — Visit Detail (expanded) ==================== */

.audit-visit-detail {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 1.25rem;
    background: #fafbfc;
}

.detail-section {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #e5e7eb;
}

.detail-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-section-title {
    margin: 0 0 0.6rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #7c3aed;
}

.detail-empty {
    color: #9ca3af;
    font-style: italic;
}

.detail-empty p {
    margin: 0;
    font-size: 0.85rem;
}

.detail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 0.6rem;
}

.detail-item {
    font-size: 0.85rem;
    color: #372562;
}

.detail-label {
    font-weight: 600;
    color: #372562;
    font-size: 0.85rem;
}

.detail-text-block {
    margin-top: 0.5rem;
}

.detail-text-block p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #372562;
    line-height: 1.5;
    white-space: pre-wrap;
}

/* Agreed Actions List */

.agreed-actions-list {
    margin: 0.35rem 0 0;
    padding-left: 1.25rem;
    list-style: disc;
}

.agreed-actions-list li {
    font-size: 0.85rem;
    color: #372562;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.action-who {
    font-size: 0.78rem;
    color: #6b7280;
    font-style: italic;
}

/* Target Updates */

.target-update-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.4rem 0.65rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 0.4rem;
}

.target-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #372562;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ==================== Reports Inbox ==================== */

.reports-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 180px;
}

.filter-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #372562;
}

.filter-select {
    padding: 0.45rem 0.6rem;
    font-size: 0.88rem;
    border: 1.5px solid #d1d5db;
    border-radius: 6px;
    color: #372562;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: #ec5f59;
    box-shadow: 0 0 0 3px rgba(232, 114, 106, 0.15);
}

/* Reports Table */

.reports-table {
    /* inherits from .supervision-table */
}

.report-row-clickable {
    cursor: pointer;
}

.report-row-clickable:hover {
    background: #fef5f4 !important;
}

/* ==================== Responsive Design ==================== */

@media (max-width: 1024px) {
    .supervision-dashboard {
        padding: 1rem;
    }

    .supervisee-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .subview-cards {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .audit-config-row {
        flex-direction: column;
    }

    .audit-config-field {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .supervision-dashboard {
        padding: 0.75rem;
    }

    .supervision-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .supervision-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .supervision-title {
        font-size: 1.25rem;
    }

    .supervision-tabs {
        flex-wrap: wrap;
        gap: 0;
    }

    .supervision-tab {
        flex: 1;
        text-align: center;
        padding: 0.55rem 0.5rem;
        font-size: 0.82rem;
    }

    .supervisee-grid {
        grid-template-columns: 1fr;
    }

    .subview-cards {
        grid-template-columns: 1fr;
    }

    .caseload-summary-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .supervisee-header-bar {
        flex-direction: column;
        text-align: center;
    }

    .audit-visit-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .audit-visit-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .audit-indicators {
        margin-top: 0.35rem;
    }

    .reports-filters {
        flex-direction: column;
    }

    .filter-field {
        min-width: 100%;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .audit-metadata {
        flex-direction: column;
        gap: 0.35rem;
    }

    .detail-grid {
        flex-direction: column;
        gap: 0.35rem;
    }

    /* Make tables horizontally scrollable on small screens */
    .supervision-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .supervision-tab {
        font-size: 0.75rem;
        padding: 0.5rem 0.35rem;
    }

    .caseload-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .supervisee-card {
        padding: 0.65rem 0.75rem;
    }

    .subview-card {
        padding: 1rem 0.75rem;
    }

    .audit-config-form {
        padding: 0.85rem;
    }

    .target-update-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}