body {
    background-color: #f4f6f9;
    font-size: 14px;
    color: #333;
    margin: 0;
}

.container-main {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.card-form {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: none !important;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "\e930";
    font-family: 'feather' !important;
    font-size: 10px;
    color: #9ca3af;
}

.breadcrumb-custom {
    font-size: 13px;
    color: #0062cc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-custom a {
    text-decoration: none;
    color: #0062cc;
}

.header-info-company {
    line-height: 1.4;
    font-size: 12px;
}

.btn-action-top,
.btn-toolbar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 400;
    border-radius: 6px;
    background-color: #fff;
    transition: all 0.2s;
    border: 1px solid #d1d5db;
    text-decoration: none;
    height: 32px;
}

.btn-action-top:hover,
.btn-toolbar:hover {
    opacity: 0.8;
    background-color: #f9fafb;
}

.btn-action-gray,
.btn-gray {
    color: #6b7280;
    border-color: #d1d5db;
}

.btn-action-blue,
.btn-blue {
    color: #3b82f6;
    border-color: #bfdbfe;
}

.btn-action-red,
.btn-red {
    color: #ef4444;
    border-color: #fca5a5;
}

.btn-action-purple,
.btn-purple {
    color: #6366f1;
    border-color: #c7d2fe;
}

.btn-cyan {
    color: #06b6d4;
    border-color: #a5f3fc;
}

.btn-action-blue:hover {
    background-color: #eff6ff;
}

.btn-action-red:hover {
    background-color: #fef2f2;
}

.btn-action-purple:hover {
    background-color: #e0e7ff;
}

.btn-circle-action {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-circle-action:hover {
    background-color: #f8f9fa;
}

.btn-support-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border: none;
}

.table-responsive-custom {
    max-height: calc(100vh - 280px);
    overflow-y: auto;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.table-main thead th {
    background-color: #f8f9fa !important;
    font-weight: 600;
    color: #333;
    vertical-align: middle;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    padding: 8px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-main tbody td {
    padding: 6px 8px;
    vertical-align: middle;
}

.table-filter-control,
.table-filter-input {
    width: 100%;
    height: 28px !important;
    padding: 2px 8px;
    font-size: 13px;
    color: #495057;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}

.table-filter-control {
    height: 32px !important;
}

.table-filter-control:focus,
.table-filter-input:focus {
    border-color: #86b7fe;
}

select.table-filter-control {
    background-image: none !important;
    padding-right: 4px !important;
    appearance: auto !important;
}

.sticky-action-col {
    position: sticky;
    right: 0;
    background-color: #fff !important;
    z-index: 2;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.05);
}

.badge-soft {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.badge-soft-success {
    background-color: #d4f4e2;
    color: #179c50;
}

.badge-soft-warning1 {
    background-color: #f59e0b;
    color: white;
}

.pagination-container {
    font-size: 13px;
    color: #6b7280;
}

.custom-pagination a,
.page-link-custom {
    color: #9ca3af;
    text-decoration: none;
    font-size: 16px;
    padding: 0 8px;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.custom-pagination .active-page,
.page-link-custom.active {
    background-color: #eff6ff;
    color: #3b82f6;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
}

.form-label-sm {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 4px;
}

.form-control-custom,
.form-select-custom {
    height: 38px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

.form-control-custom:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.form-section-divider {
    position: relative;
    text-align: left;
    margin: 30px 0 20px 0;
}

.form-section-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #e5e7eb;
    z-index: 1;
}

.form-section-divider span {
    position: relative;
    background-color: #fff;
    padding-right: 15px;
    z-index: 2;
    font-weight: 700;
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
}

.report-input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.report-input-group .form-control,
.report-input-group .form-select {
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    height: 36px;
}

.form-check {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding-left: 0 !important;
    min-height: 24px;
}

input[type="checkbox"].form-check-input,
input[type="radio"].form-check-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #d1d5db !important;
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    position: relative !important;
    cursor: pointer !important;
    display: inline-block !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-shrink: 0;
    vertical-align: middle;
}

input[type="checkbox"].form-check-input::before,
input[type="radio"].form-check-input::before {
    display: none !important;
    content: none !important;
}

input[type="checkbox"].form-check-input::after,
input[type="radio"].form-check-input::after {
    display: none !important;
    content: none !important;
}

input[type="radio"].form-check-input {
    border-radius: 50% !important;
}

input[type="checkbox"].form-check-input {
    border-radius: 4px !important;
}

input[type="checkbox"].form-check-input:checked,
input[type="radio"].form-check-input:checked {
    background-color: #6366f1 !important;
    border-color: #6366f1 !important;
    background-image: none !important;
}

input[type="checkbox"].form-check-input:checked::after,
input[type="radio"].form-check-input:checked::after {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
}

input[type="radio"].form-check-input:checked::after {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #fff !important;
    transform: translate(-50%, -50%) !important;
}

input[type="checkbox"].form-check-input:checked::after {
    width: 10px !important;
    height: 5px !important;
    border-left: 2px solid #fff !important;
    border-bottom: 2px solid #fff !important;
    background-color: transparent !important;
    transform: translate(-50%, -70%) rotate(-45deg) !important;
}

.form-check-label {
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
    line-height: 1;
    margin: 0;
    padding-left: 0 !important;
}

.form-check .form-check-label::before,
.form-check .form-check-label::after {
    display: none !important;
    content: none !important;
    background: none !important;
    border: none !important;
    width: 0 !important;
    height: 0 !important;
}

td.text-center .form-check-input {
    margin: 0 auto !important;
    vertical-align: middle;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 200px;
    z-index: 1100;
}

.dropdown-item {
    font-size: 14px;
    color: #4b5563;
    padding: 10px 20px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
    color: #6366f1;
}

.dropdown-item:hover i {
    color: #6366f1 !important;
}

.modal-custom-content {
    border-radius: 12px;
    border: none;
    overflow: hidden;
}

.btn-close-custom {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    transition: 0.2s;
    opacity: 1;
}

.form-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eef0f7;
    box-shadow: 0 10px 30px rgba(82, 63, 105, 0.05);
    padding: 30px;
}

.form-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #5e6278;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    margin: 30px 0 20px;
}

.form-section-title::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: #f1f1f4;
    margin-left: 15px;
}

.form-label-custom {
    font-weight: 600;
    font-size: 13px;
    color: #3f4254;
    margin-bottom: 6px;
}

.form-control-modern {
    border-radius: 8px;
    border: 1px solid #e1e3ea;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.2s;
    background-color: #f9f9f9;
}

.form-control-modern:focus {
    background-color: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

.modern-check {
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.modern-check input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.card-center-wrapper {
    max-width: 1300px;
    margin: 20px auto;
}

.form-card-main {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 35px 40px;
}

.btn-save-blue {
    background-color: #6366f1 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-save-blue:hover {
    background-color: #4f46e5 !important;
}

.form-section-header {
    display: flex;
    align-items: center;
    margin: 40px 0 20px;
}

.form-section-header span {
    font-weight: 700;
    font-size: 13px;
    color: #4b5563;
    text-transform: uppercase;
    padding-right: 15px;
}

.form-section-header::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #eef0f7;
}