.list-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.list-page-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.list-page-subtitle {
    font-size: 12px;
    color: #7a7a76;
    margin: 2px 0 0;
}

.list-stat-cards {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.list-stat-card {
    flex: 1 1 160px;
    background: #fff;
    border-radius: 8px;
    padding: 14px 16px;
    border-top: 3px solid #1a1a1a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.list-stat-card.accent {
    border-top-color: #f5c518;
}

.list-stat-card-label {
    font-size: 11px;
    color: #7a7a76;
    margin: 0 0 4px;
}

.list-stat-card-value {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.list-search-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.list-search-field {
    flex: 1 1 240px;
}

.list-search-field-with-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-search-field-with-btn .form-control {
    flex: 1;
}

.list-search-bar .form-control {
    background: #f5f5f3;
    border: 1px solid #e5e5e2;
    border-radius: 6px;
    height: 34px;
    box-sizing: border-box;
    box-shadow: none;
}

.list-search-btn {
    height: 41px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5c518;
    border: 1px solid #f5c518;
    color: #1a1a1a;
    border-radius: 6px;
    padding: 0 14px;
    line-height: normal;
}

.list-search-btn:hover,
.list-search-btn:focus {
    background: #e0b400;
    border-color: #e0b400;
    color: #1a1a1a;
}

.list-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fbe9a8;
    color: #6b5900;
    font-weight: 600;
    font-size: 11px;
    margin-right: 8px;
    flex: 0 0 auto;
}

.list-action-link {
    color: #333333;
    font-size: 16px;
    margin-left: 12px;
}

.list-action-link + .list-action-link {
    padding-left: 12px;
    border-left: 1px solid #e5e5e2;
}

.list-action-link:hover,
.list-action-link:focus {
    color: #100f0f;
    text-decoration: none;
}

.list-action-link.danger {
    color: #d85a30;
}

.list-action-link.danger:hover,
.list-action-link.danger:focus {
    color: #a63f1f;
}

table.dataTable thead th,
table.dataTable thead td {
    background: #1a1a1a;
    color: #f5c518;
    font-weight: 500;
    border-bottom: none !important;
}

table.dataTable tbody tr:hover {
    background: #fafaf8;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    margin-left: 6px;
    padding: 6px 12px;
    border: none !important;
    border-radius: 20px;
    background: transparent !important;
    color: #b0b0aa !important;
    box-shadow: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #f5c518 !important;
    color: #1a1a1a !important;
    font-weight: 600;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.disabled) {
    background: #2a2a2a !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: #d6d6d0 !important;
    background: transparent !important;
}

.confirm-modal {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.confirm-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 1;
    color: #b0b0aa;
    opacity: 1;
    text-shadow: none;
    font-size: 20px;
}

.confirm-modal-close:hover {
    color: #7a7a76;
}

.confirm-modal-body {
    padding: 32px 24px 8px;
    text-align: center;
}

.confirm-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fbeae4;
    color: #d85a30;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 16px;
}

.confirm-modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.confirm-modal-text {
    font-size: 13px;
    color: #7a7a76;
    line-height: 1.5;
    margin: 0 0 20px;
}

.confirm-modal-footer {
    display: flex;
    gap: 10px;
    padding: 16px 24px 24px;
}

.confirm-modal-footer .btn {
    flex: 1;
    height: 38px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.confirm-modal-btn-cancel {
    background: #f5f5f3;
    border: 1px solid #e5e5e2;
    color: #5f5e5a;
}

.confirm-modal-btn-cancel:hover {
    background: #ececea;
    color: #5f5e5a;
}

.confirm-modal-btn-danger {
    background: #d85a30;
    border: 1px solid #d85a30;
    color: #fff;
}

.confirm-modal-btn-danger:hover {
    background: #b8481f;
    border-color: #b8481f;
    color: #fff;
}

.form-card {
    background: #fff;
    border-radius: 8px;
    padding: 28px 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.form-field-group {
    flex: 1 1 240px;
    margin-bottom: 18px;
}

.form-field-group.full-width {
    flex-basis: 100%;
}

.form-field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #5f5e5a;
    margin-bottom: 6px;
}

.form-card .form-control,
.confirm-modal .form-control {
    background: #fff;
    border: 1px solid #dcdcd6;
    border-radius: 6px;
    height: 38px;
    box-shadow: none;
}

.form-card .form-control:focus,
.confirm-modal .form-control:focus {
    border-color: #f5c518;
}

.form-card .form-control[readonly],
.form-card .form-control[disabled],
.confirm-modal .form-control[readonly],
.confirm-modal .form-control[disabled] {
    background: #f5f5f3;
    border-color: #e5e5e2;
    color: #7a7a76;
}

.form-card textarea.form-control {
    height: auto;
    min-height: 90px;
}

.form-age-group {
    display: flex;
    gap: 10px;
}

.form-age-field {
    flex: 1;
}

.form-age-field .form-control {
    text-align: center;
    background: #f0f0ee;
    color: #7a7a76;
    border-right: none;
}

.form-age-field .input-group-addon {
    background: #f0f0ee;
    border: 1px solid #e5e5e2;
    border-left: none;
    color: #b0b0aa;
    font-size: 11px;
    padding: 0 8px;
}

.form-card .input-group .form-control {
    border-right: none;
}

.form-card .input-group-addon {
    background: #f0f0ee;
    border: 1px solid #e5e5e2;
    border-left: none;
    color: #b0b0aa;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid #f0f0ee;
}

.btn-outline-dark {
    background: transparent;
    border: 1px solid #dcdcd6;
    color: #1a1a1a;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    background: #f5f5f3;
    color: #1a1a1a;
}

.list-history-toggle {
    cursor: pointer;
    color: #b0b0aa;
    text-align: center;
}

.list-history-toggle:hover {
    color: #1a1a1a;
}

.dataTables_filter {
    display: none;
}

.child-panel {
    background: #f9f9f8;
    padding: 16px 20px;
    border-radius: 6px;
    margin: 8px 0;
}

.child-panel-title {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 8px;
}

.child-panel-table {
    background: #fff;
    font-size: 12px;
    margin-bottom: 0;
}

.child-panel-table th {
    background: #efefec;
    color: #5f5e5a;
    font-weight: 600;
    padding: 6px 10px;
    border-bottom: none;
}

.child-panel-table td {
    padding: 6px 10px;
    border-top: 1px solid #f0f0ee;
}

.child-panel-empty {
    color: #b0b0aa;
    font-size: 12px;
    margin: 0;
    text-align: center;
    padding: 10px 0;
}

.workflow-step {
    margin-bottom: 24px;
}

.workflow-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.workflow-step-number {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #f5c518;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-step-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.workflow-step-subtitle {
    font-size: 12px;
    color: #7a7a76;
    margin: 2px 0 0;
}

.child-panel-title i {
    color: #b0891f;
    margin-right: 6px;
}

.list-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.list-status-badge:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.list-status-badge.active {
    background: #eaf3de;
    color: #3b6d11;
}

.list-status-badge.active:before {
    background: #639922;
}

.list-status-badge.deactive {
    background: #f1efe8;
    color: #5f5e5a;
}

.list-status-badge.deactive:before {
    background: #b0b0aa;
}

.list-status-badge.pending {
    background: #fbf2d5;
    color: #b0891f;
}

.list-status-badge.pending:before {
    background: #e0b400;
}

.list-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: #f1efe8;
    color: #5f5e5a;
    white-space: nowrap;
    margin: 2px;
}

.form-card .bootstrap-select.form-control {
    padding: 0 !important;
    border: none;
    background: transparent;
    height: auto;
    box-shadow: none;
    width: 100% !important;
    margin: 0;
}

.form-card .bootstrap-select > .dropdown-toggle {
    background: #fff !important;
    border: 1px solid #dcdcd6 !important;
    border-radius: 6px !important;
    min-height: 38px;
    padding: 8px 12px;
    box-shadow: none !important;
    color: #1a1a1a !important;
}

.form-card .bootstrap-select > .dropdown-toggle .filter-option {
    overflow: visible;
    height: auto;
}

.form-card .bootstrap-select > .dropdown-toggle .filter-option-inner-inner {
    overflow: visible;
    white-space: normal;
    line-height: 1.4;
}

.form-card .bootstrap-select > .dropdown-toggle:focus {
    outline: none !important;
}

.form-card .bootstrap-select .dropdown-menu {
    border-radius: 6px;
    border: 1px solid #e5e5e2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-card .bootstrap-select .dropdown-menu li.selected a,
.form-card .bootstrap-select .dropdown-menu a:hover {
    background: #f5c518 !important;
    color: #1a1a1a !important;
}

.form-card .bootstrap-select .bs-searchbox .form-control {
    background: #fff;
    border: 1px solid #dcdcd6;
    border-radius: 6px;
    height: 32px;
}
