﻿@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans", sans-serif !important;
    font-weight: 700 !important;
    font-style: normal !important;
    color: #0b2567 !important;
}

p, body {
    font-family: "DM Sans", sans-serif!important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 15px!important;
    line-height: 24px;
    color: #4a5568;
    margin-bottom: 0px !important;
}

body {
    background-color: #f6f6f8 !important;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 38px!important;
    line-height: 43px!important;
}

h2 {
    font-size: 35px !important;
    line-height: 40px !important;
}

h3 {
    font-size: 30px !important;
    line-height: 35px !important;
}

h4 {
    font-size: 25px !important;
    line-height: 30px !important;
}

h5 {
    font-size: 20px !important;
    line-height: 24px !important;
}

h6 {
    font-size: 16px !important;
    line-height: 16px !important;
}

.text-muted {
    color: #6b7280 !important;
}

.content-wrapper > .content {
    padding: 2rem !important;
}

.content-wrapper {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230B2567' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-color: #f6f6f8;
}

.main-page-container {
    max-width: 68rem;
    margin: 0px auto;
}

.btn-primary {
    padding: 0.8rem 1.5rem;
    display: inline-flex;
    font-weight: 700;
    color: #fff;
    border-radius: 10rem;
    background-color: #ea0029;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border-color: #ea0029;
    letter-spacing: 0.025em;
    font-size: 15px;
}

.btn-primary:hover, .btn-primary:focus {
    color: #fff;
    background-color: #0b2567;
    box-shadow: none;
    border-color: #0b2567;
}

.required:after {
    content: " *";
    color: red;
}

.mb-5, .my-5 {
    margin-bottom: 2.5rem !important;
}

/* Header */
.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 0.7rem 1.5rem !important;
}

.main-header .navbar-nav {
    align-items: center;
}

.humbuger-link {
    color: #ea0029;
    display: flex;
}

.humbuger-link:hover {
    color: #0b2567;
}

.humbuger-link .material-symbols-outlined {
    font-size: 26px;
}

.header-icon-link {
    color: #6b7280;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
}

.header-icon-link:hover {
    color: #374151;
    background-color: #f3f4f6;
    border-radius: 50px;
}

.user-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    margin-left: 1rem !important;
    border-radius: 50px;
}

.img-avatar-header {
    width: 2rem;
    border-radius: 50px;
}

.profile-info p {
    line-height: 1rem;
    font-size: 12px!important;
}

.profile-info h6 {
    font-size: 14px!important;
}

.profile-info {
    text-align: center;
    padding: 0px 10px;
}

.logged-username {
    margin-bottom: 0px;
}

.online-circle {
    position: absolute;
    top: -2px;
    right: 0px;
    width: 8px;
    height: 8px;
    background: #34c759;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.animated--fade-in {
    animation: fadeIn 0.2s ease-in-out;
}

.profile-avatar img {
    width: 2.5rem;
    border-radius: 100px;
}

.profile-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    padding: 15px;
}

.profile-header .logged-username {
    margin-bottom: 0px;
}

.profile-header-info {
    padding-left: 10px;
}

.dropdown-menu {
    padding: 0rem !important;
    background-color: #fff !important;
    top: 60px !important;
    border-radius: 0.75rem !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;
    min-width: 200px !important;
}

.log-out-icon .material-symbols-outlined {
    font-size: 17px;
}

.log-out-icon {
    color: #ef4444 !important;
    display: flex !important;
    align-items: center;
    width: 100%;
    padding: 10px 15px !important;
    font-weight: 500 !important;
    border-radius: 0rem 0rem 0.75rem 0.75rem !important;
}

.log-out-icon:hover {
    background-color: rgb(239 68 68 / 0.1);
    color: #ef4444;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(52, 199, 89, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.online-text {
    font-size: 14px;
    line-height: 14px;
}

.dropdown-toggle::after {
    display: none !important;
}

.toggle-arrow {
    color: #6b7280;
    position: relative;
    top: 4px;
}

.nav-item.dropdown.show .toggle-arrow {
    transform: rotate(180deg);
}

/* Footer */
.main-footer {
    background-color: #fff!important;
    border-top: 1px solid #e5e7eb!important;
    color: #6b7280!important;
    padding: 1rem 2rem!important;
    font-size: 14px!important;
}

/* breadcrum */
.main-breadcrum.main-header {
    background-color: rgb(255 255 255 / 0.5);
    border-bottom: 1px solid #e5e7eb !important;
    padding: 0.6rem 2rem !important;
    backdrop-filter: blur(4px);
    display: flex;
}

.breadcrumb-nav {
    list-style: none;
    padding-left: 0px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1rem;
    font-weight: 600;
}

.breadcrumb-nav a {
    color: #0b2567;
}

.breadcrumb-nav a:hover {
    color: #ea0029;
}

.breadcrumb-nav .material-symbols-outlined {
    font-size: 15px;
    margin: 0px 5px;
    color: #ea0029;
}

.breadcrumb-nav .current-page {
    color: #ea0029;
    font-weight: 600;
}

/* Sidebar */
body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, .main-footer, .main-header {
    margin-left: 290px !important;
}

.main-sidebar {
    background-color: #0b2567 !important;
    overflow-x: hidden!important;
}

.layout-fixed .wrapper .sidebar {
    height: calc(100vh - (7rem + 1px))!important;
}

.sidebar {
    padding: 1rem!important;
}

.side-bar-logo img {
    width: 60px;
}

.side-bar-logo-section {
    display: flex;
    padding: 1.5rem;
    align-items: center;
}

.main-brand-title {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 20px !important;
}

.side-bar-title {
    margin-left: 0.70rem;
}

.main-sidebar {
    width: 288px !important;
}

.main-sidebar .nav-link {
    width: calc(275px - .6rem*2)!important;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #f6f6f8 !important;
    box-shadow: none !important;
    border-radius: 0.3rem;
    color: #ea0029 !important;
}

.nav-sidebar .nav-item:hover .nav-link.active p {
    color: #ea0029 !important;
}

.nav-link.active p {
    color: #ea0029;
}

.sidebar a {
    color: #d1d5db!important;
}

.nav-sidebar > .nav-item > .nav-link.active p > .right, .nav-sidebar > .nav-item > .nav-link:hover p > .right, .nav-sidebar > .nav-item.menu-open > .nav-link p > .right, .nav-sidebar > .nav-item > .nav-link:focus p > .right {
    right: 1rem;
}

.nav-link p {
    color: #d1d5db;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 20px;
}

.text-sm .nav-link {
    padding: 0.6rem 0.75rem!important;
}

.nav-sidebar .nav-item > .nav-link {
    margin-bottom: .3rem !important;
    display: flex;
    align-items: center;
}

.nav-sidebar > .nav-item:hover > .nav-link, .nav-sidebar > .nav-item.menu-open > .nav-link {
    background-color: rgb(234 0 41 / 0.8) !important;
    box-shadow: none !important;
    border-radius: 0.3rem!important;
    color: #fff !important;
}

.nav-sidebar > .nav-item:hover > .nav-link p {
    color: #fff !important;
}

.nav-sidebar .menu-open > .nav-treeview {
    padding-left: 1rem;
    border-left: 2px solid rgb(255 255 255 / 0.2);
    margin-left: 1rem;
}

.nav-sidebar .nav-treeview .nav-link {
    padding: .5rem 0.7rem !important;
    width: 222px !important;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link.active {
    background-color: rgba(234, 0, 43, 0.45)!important;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link.active p {
    color: #fff!important
}

.nav-sidebar .nav-link > .right, .nav-sidebar .nav-link > p > .right {
    top: 0.9rem!important;
}

/* mini sidebar */

.sidebar-mini.sidebar-collapse .main-sidebar .side-bar-logo-section {
    padding: 1rem;
}

.sidebar-mini.sidebar-collapse .main-sidebar .side-bar-title {
    display: none;
}

.sidebar-mini.sidebar-collapse .main-sidebar .side-bar-logo img {
    width: 50px;
}

.sidebar-mini.sidebar-collapse .main-sidebar, .sidebar-mini.sidebar-collapse .main-sidebar::before {
    width: 5.2rem !important;
}

.sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
    margin-left: 5.2rem !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar .text-sm .nav-link {
    padding: .6rem 0.8rem!important;
    width: 50px!important;
}

.sidebar-mini.sidebar-collapse .main-sidebar .material-symbols-outlined {
    margin-right: 0px !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar .menu-open > .nav-treeview {
    display: none !important;
}

/* sidebar hover */
.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused, .sidebar-mini.sidebar-collapse .main-sidebar:hover {
    width: 288px !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar:hover .material-symbols-outlined, .sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .material-symbols-outlined {
    margin-right: 0.5rem !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-link, .sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-link {
    width: calc(275px - .6rem*2)!important;
}

.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .side-bar-title, .sidebar-mini.sidebar-collapse .main-sidebar:hover .side-bar-title {
    display: block !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .side-bar-logo-section, .sidebar-mini.sidebar-collapse .main-sidebar:hover .side-bar-logo-section {
    padding: 1.5rem!important;
}

.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-treeview > .nav-item > .nav-link.active, .nav-treeview > .nav-item:hover > .nav-link,
.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-treeview > .nav-item > .nav-link.active, .nav-treeview > .nav-item:hover > .nav-link {
    width: calc(275px - .6rem*2) !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-sidebar .nav-treeview .nav-link,
.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-sidebar .nav-treeview .nav-link,
.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-treeview > .nav-item > .nav-link.active, .nav-treeview > .nav-item:hover > .nav-link {
    width: 222px !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .menu-open > .nav-treeview, .sidebar-mini.sidebar-collapse .main-sidebar:hover .menu-open > .nav-treeview {
    display: block !important;
}

.sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-sidebar .nav-link > p > .right, 
.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-sidebar .nav-link > p > .right {
    left: 12rem !important;
    top: 0.2rem !important;
}

/* main title */
.page-main-title {
    margin-bottom: 2rem;
}

.page-main-title h3 {
    margin-bottom: 0px;
}


.table td, .table th {
    white-space: nowrap !important;
}

.table thead th {
    vertical-align: middle;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.7rem 1.5rem;
}

.datatable-filter-row {
    background-color: rgb(11 37 103 / 0.1);
    margin: 0px;
    border-bottom: 2px solid #0b2567;
    border-radius: 1rem 1rem 0rem 0rem;
}

.table td {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.table-hover tbody tr:hover {
    color: #373e49;
    background-color: #f9fafb;
}

.data-table-body {
    box-shadow: 0 10px 15px -3px rgb(229 231 235 / 0.5), 0 4px 6px -4px rgb(229 231 235 / 0.5);
    border-radius: 1rem;
}

.dataTables_scrollBody {
    background-color: #fff;
    color: #373e49;
}

.datatable-pagination-row {
    background-color: #fff;
    margin: 0px;
    border-radius: 0rem 0rem 1rem 1rem;
}

.dataTables_length, .dataTables_filter {
    padding: 1rem;
    font-size: 15px;
}

.dataTables_length label, .dataTables_filter label {
    margin-bottom: 0rem;
    font-weight: 600 !important;
    font-size: 15px;
    color: #0b2567;
}

.dataTables_length .custom-select {
    padding: 8px 25px 8px 15px;
    font-size: 14px !important;
    color: #111827;
    background: #f9fafb url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") right 0.4rem center/25px 20px no-repeat;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    box-shadow: none;
    height: 40px;
    margin: 0px 5px;
}

.dataTables_filter .form-control-sm {
    width: 16rem !important;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    height: 40px;
}

.dataTables_filter .form-control-sm:focus, .dataTables_length .form-control-sm:focus {
    background-color: #f9fafb;
    border: 1px solid #0b2567;
    box-shadow: 0 0 0 2px rgb(11 37 103 / 0.2);
}

.data-table-header {
    padding: 1rem;
    background-color: #f9fafb;
    font-weight: 600;
    color: #0b2567;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.6px;
}

.data-table-body table.dataTable {
    margin: 0px !important;
    background-color: #fff;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    margin: 0px;
}

div.dataTables_wrapper div.dataTables_info {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    margin: 0px;
}

.page-item .page-link {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    background: #f3f4f6 !important;
    color: #1f2937 !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.page-link:focus {
    box-shadow: 0 0 0 2px rgb(11 37 103 / 0.2);
}

.page-item.disabled .page-link {
    border-color: #f3f4f6;
    opacity: 0.5;
    cursor: not-allowed;
}

.page-item:hover .page-link {
    background: #f3f4f6 !important;
    border-color: #f3f4f6;
}

.page-item.active .page-link {
    border-radius: 0.75rem;
    background: #0b2567 !important;
    color: #fff !important;
    border-color: #0b2567;
}

.btn-header {
    background-color: #ea0029;
    color: #fff;
    border-radius: 0.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 15px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    gap: 0.3rem;
}

.btn-header:hover {
    color: #fff;
    background-color: #0b2567;
}

.btn-header-2 {
    background-color: #0b2567;
    color: #fff;
    border-radius: 0.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 15px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    gap: 0.3rem;
}

.btn-header-2:hover {
    color: #fff;
    background-color: #ea0029;
}

.btn-header-success {
    background-color: #28a745;
    color: #fff;
    border-radius: 0.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 15px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    gap: 0.3rem;
}

.btn-header-success:hover {
    background-color: #0e8028;
    color: #fff;
}

/* datatable scroller */
.dataTables_scrollBody::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.dataTables_scrollBody::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background: #c6c6c6;
    border-radius: 3px;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb:hover {
    background: #b0b0b0;
}

#tblData {
    width: 100% !important;
}

.dataTables_wrapper {
    width: 100%;
}


/* datatable icons */
.action-edit, .action-edit.btn-success:disabled {
    padding: 0px;
    border-radius: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #28a745;
    border: none;
    cursor: pointer;
}

.action-delete, .action-delete.btn-danger.disabled {
    padding: 0px !important;
    border-radius: 0rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent !important;
    color: #dc3545 !important;
    border: none;
    cursor: pointer;
}

.action-reset, .action-view, .action-print {
    padding: 0px;
    border-radius: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #00BCD4;
    border: none;
    cursor: pointer;
}

.action-edit:hover, .action-edit:focus, .action-edit.btn-success:not(:disabled):not(.disabled):active {
    background-color: transparent!important;
    color: #0e8028!important;
}

.action-delete:hover, .action-delete:focus, .action-delete.btn-danger:not(:disabled):not(.disabled):active {
    background-color: transparent!important;
    color: #c31d2d!important;
}

.action-reset:hover, .action-reset:focus, .action-reset.btn-primary:not(:disabled):not(.disabled):active,
.action-view:hover, .action-view:focus, .action-view.btn-primary:not(:disabled):not(.disabled):active,
.action-print:hover, .action-print:focus, .action-print.btn-primary:not(:disabled):not(.disabled):active {
    background-color: transparent;
    color: #18a8ba;
}

/* forms */
.form-section {    
    box-shadow: 0 10px 15px -3px rgb(229 231 235 / 0.5), 0 4px 6px -4px rgb(229 231 235 / 0.5);
    border-radius: 1rem;
}

.data-table-subtitle {
    color: #0b2567;
}

.form-header {
    padding: 1.5rem;
    background-color: rgb(11 37 103 / 0.1);
    border-bottom: 2px solid #0b2567;
    border-radius: 1rem 1rem 0rem 0rem;
}

.form-body {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.form-footer {
    padding: 1.5rem;
    background-color: #fff;
    margin: 0px;
    border-radius: 0rem 0rem 1rem 1rem;
}

.form-group label {
    color: #374151;
    font-weight: 600 !important;
    margin-bottom: 0.3rem;
}

label {
    margin-bottom: .3rem;
}

.form-control {
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    height: 45px;
    font-size: 15px;
}

.form-control:focus {
    background-color: #f9fafb;
    border: 1px solid #0b2567;
    box-shadow: 0 0 0 2px rgb(11 37 103 / 0.2);
}

.select2-container--bootstrap4 .select2-selection {
    transition: all 0.3s ease;
    padding: 0.3rem 1rem;
    font-weight: 500;
    color: #6b7280;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
}

.select2-selection.select2-selection--single {
    height: 45px !important;
    transition: all 0.3s ease;
    padding: 0.3rem 1rem;
    font-weight: 500;
    color: #6b7280;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
}

.select2-container--default.select2-container--focus .select2-selection--single, .select2-container--default.select2-container--open .select2-selection--single {
    background-color: #f9fafb;
    border: 1px solid #0b2567;
    box-shadow: 0 0 0 2px rgb(11 37 103 / 0.2);
}

.select2-container--default .select2-dropdown .select2-search__field:focus, .select2-container--default .select2-search--inline .select2-search__field:focus {
    border: 1px solid #0b2567;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px!important;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
    color: #0b2567 !important;
    font-size: 17px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #0b2567 !important;
}

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    outline: none;
    background-color: #f9fafb;
    border: 1px solid #0b2567;
    box-shadow: 0 0 0 2px rgb(11 37 103 / 0.2);
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    border: none;
    border-radius: 50px;
    background-color: rgb(11 37 103 / 0.1);
    color: #0b2567;
    font-size: 13px;
    padding: 0.2rem 0.6rem;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered {
    padding: 0rem;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 37px;
    padding-left: 0rem;
}

.select2.select2-container.select2-container--bootstrap4 {
    width: 100%;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
    float: left;
    color: #ffffff;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-search__field {
    color: #6b7280;
    background-color: #f9fafb;
}

.btn-back {
    background-color: #f3f4f6;
    color: #374151;
    border-radius: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    width: 100%;
}

.btn-back:hover {
    background-color: #e5e7eb;
}

.button-delete {
    background-color: #dc3545;
    color: #fff;
    border-radius: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    width: 100%;
}

.button-delete:hover {
    background-color: #c31d2d;
    color: #fff;
}

.btn-update, .btn-create, .btn-submit {
    background-color: #0b2567;
    color: #fff;
    border-radius: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    width: 100%;
}

.btn-update:hover, .btn-create:hover, .btn-submit:hover {
    background-color: #ea0029;
    color: #fff;
}

.badge {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 20px;
}

.badge-danger {
    color: #dc3545;
    background-color: #f7dbde;
}

.badge-danger {
    color: #dc3545;
    background-color: #f7dbde;
}

.badge-success {
    color: #28a745;
    background-color: #c7ffd4;
}

.badge-warning {
    color: #c38621;
    background-color: #fdf1ce;
}

/* popup */
.modal-header {
    background-color: #ffffff !important;
    padding: 1.5rem;
    border-radius: 1rem 1rem 0rem 0rem;
}

.modal-header .close {
    font-size: 2rem;
    line-height: 1.1rem;
    text-shadow: none;
    opacity: 1;
    background-color: #ea0029 !important;
    border-radius: 5px;
    padding: 8px 10px 12px;
    top: 5px;
    right: 5px;
    position: relative;
}

.modal-header .close:hover {
    opacity: 1 !important;
    background-color: #0b2567 !important;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.4rem 0rem 0rem;
    flex-wrap: nowrap;
    gap: 1rem;
}

.modal-footer > * {
    margin: 0rem;
}

.modal-content {
    border-radius: 1rem;
}

.form-subtitles {
    font-size: 19px !important;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #d1d5db;
    margin-bottom: 1.5rem;
    font-family: "DM Sans", sans-serif !important;
    color: #082977 !important;
    line-height: 23px !important;
}

/* custom checkbox */
.checkbox-tick {
    width: 18px;
    height: 18px;
    border: 2px solid #0b2567;
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.form-checkbox input[type="checkbox"] {
    display: none;
}

.form-checkbox input[type="checkbox"]:checked + .checkbox-tick {
    background-color: #0b2567;
    border-color: #0b2567;
}

.form-checkbox input[type="checkbox"]:checked + .checkbox-tick::after {
    content: "✓";
    position: absolute;
    top: -4px;
    left: 3px;
    font-size: 13px;
    color: #fff;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 0px !important;
}

.checkbox-text {
    font-weight: 600 !important;
    color: #374151;
    font-size: 15px;
    line-height: 1rem;
}

/* calender */
.fc-event {
    cursor: pointer;
}

#calendar {
    max-width: 1100px;
    margin: 0 auto;
}

.calendar-card-body {
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.fc-col-header-cell a {
    color: #4b5563;
}

.fc-theme-standard th, .fc-theme-standard td {
    border: none !important;
}

thead {
    border: none !important;
}

.fc-theme-standard .fc-scrollgrid {
    border: none!important;
}

.fc-daygrid-day-frame {
    border: 1px solid #e5e7eb;
    padding: 5px;
}

.fc td {
    padding: 1px!important;
}

.fc-day-other {
    background-color: #f9fafb;
}

.fc-daygrid-day-number {
    color: #0b2567;
    font-weight: 600;
    font-size: 17px;
}

.fc-daygrid-day-number:hover {
    color: #0b2567;
}

.fc .fc-daygrid-day-top {
    justify-content: flex-end;
}

.fc-daygrid-day.has-event {
    background-color: rgb(234 0 41 / 0.1);
}

.fc-event:focus {
    box-shadow: none!important;
}

.fc-event-selected:after, .fc-event:focus:after {
    background: none!important;
}

.fc-h-event .fc-event-main {
    color: #ea0029!important;
}

.fc-daygrid-event-harness a {
    font-weight: 700 !important;
    line-height: 20px !important;
    background-color: transparent !important;
    border: none;
    font-size: 13px;
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: transparent!important;
}

.fc-day-today .fc-daygrid-day-number {
    background-color: #ea0029;
    color: #fff;
    border-radius: 50px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc .fc-toolbar-title {
    font-size: 20px !important;
}

.fc-prev-button, .fc-next-button {
    color: #0b2567 !important;
    background-color: #f3f4f6 !important;
    border-color: #f3f4f6 !important;
    padding: 8px !important;
    border-radius: 50px !important;
    box-shadow: none!important;
}

.fc .fc-button-group {
    gap: 0.75rem;
}

.fc-prev-button:hover, .fc-next-button:hover {
    color: #fff !important;
    background-color: #0b2567 !important;
    border-color: #0b2567 !important;
    padding: 8px !important;
    border-radius: 50px !important;
}

.fc-today-button, .fc-dayGridMonth-button, .fc-timeGridWeek-button, .fc-timeGridDay-button {
    display: none !important;
}

.fc-daygrid-event {
    font-weight: 700 !important;
    line-height: 20px !important;
    background-color: transparent !important;
    border: none;
    font-size: 13px;
    color: #ea0029 !important;
}

.fc-daygrid-event-dot {
    border: calc(var(--fc-daygrid-event-dot-width, 8px) / 2) solid #ea0029!important;
}

/* hawa page*/
#hawbTable_wrapper .datatable-pagination-row.mt-3 {
    margin-top: 0px!important;
}

#hawbTable_wrapper .datatable-filter-row.mb-3 {
    margin-bottom: 0px !important;
}

.dt-buttons.btn-group .btn-outline-primary {
    color: #ffffff;
    border-color: #ffffff;
    background-color: #0b2567;
    font-weight: 600;
    padding: 7px 15px;
}

.dt-buttons.btn-group .btn-outline-primary:hover {
    background-color: #ea0029;
}

.btn-group-vertical > .btn:hover, .btn-group > .btn:hover {
    z-index: 0;
}

.dt-buttons.btn-group {
    margin-left: 1rem;
}

.badge-info {
    color: #ffffff;
    background-color: #25aec4;
}

div.dataTables_wrapper div.dataTables_processing {
    margin-top: 10px;
    text-align: center;
    padding: 0px;
    box-shadow: none;
    margin-bottom: 0px;
    font-weight: 600;
    color: #0b2567;
    z-index: 900;
}

.hawb-details-modal .modal-body {
    padding: 2rem;
}

.hawb-details-modal .modal-header {
    background-color: #ffffff !important;
    padding: 2rem;
    border-radius: 1rem 1rem 0rem 0rem;
}

.hawb-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e0e6ed;
}

.hawb-accordion-toggle {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    font-weight: 600;
    font-size: 16px;
    color: #0b2567;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.hawb-accordion-title {
    display: flex;
    align-items: center;
}

.hawb-chevron {
    transition: transform 0.3s ease;
    color: #0b2567;
    margin-right: 10px;
    transform: rotate(0deg);
}

.hawb-accordion-toggle[aria-expanded="true"] .hawb-chevron {
    transform: rotate(180deg);
}



.hawb-accordion-body {
    padding: 1.5rem;
}

.hawb-item-card {
    background-color: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-top: 20px;
}

.light-bg-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
}

.detail-label {
    color: #4f6077;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.1em;
}

.detail-value {
    color: #1e40af;
    font-weight: 600;
}

.badge-blue {
    color: #1d4ed8;
    background-color: #dbeafe;
    border-radius: 0.25rem;
    font-size: 13px;
}

.badge-green {
    color: #047857;
    background-color: #d1fae5;
    border-radius: 0.25rem;
    font-size: 13px;
}

.icon-title-box {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.hawb-item {
    padding: 1.5rem;
    background-color: rgb(232 242 252 / 50%);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}

.red-icon-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ea0029;
    font-weight: 600;
    background-color: #ffe6ea;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.badge-icon-boxes {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 0.5rem 1rem;
    background-color: #fff;
    border: 1px solid #f1f5f9 !important;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
}

.btn-success.generate-receipt-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #059669;
    background-color: #fff;
    border: 2px solid #059669;
    padding: 10px 25px;
    border-radius: 0.5rem;
    box-shadow: none !important;
    font-weight: 600;
}

.btn-success.generate-receipt-btn:hover {
    color: #fff;
    background-color: #059669;
}

.remove-hawb-btn {
    font-size: 18px;
    position: relative;
    color: #ea0029;
    border: none;
    padding: 0px;
    right: 8px;
    line-height: 1;
    background: none;
}

/* demurrage page */
.btn-add-week {
    border: 1px solid #0b2567;
    border-radius: 6px;
    padding: 6px 12px;
    color: #0b2567!important;
    font-weight: 600;
    font-size: 14px;
}

.btn-add-week:hover {
    border: 1px solid #0b2567;
    color: #fff !important;
    background-color: #0b2567;
}

.filter-form {
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    border-radius: 0.5rem;
    margin: 0px;
}

.table-view-btn {
    padding: 0px;
    font-weight: 600;
    color: #0b2567;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.table-view-btn:hover {
    color: #ea0029;
}

/* receipt genaration */
.receipt-details-card {
    box-shadow: none;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #fff;
}

.label-text {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
}

.value-text {
    font-weight: 600;
    font-size: 15px;
    color: #1f2937;
    margin-left: 3px;
}

.charge-row {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.display-amount {
    text-align: right;
    font-weight: 600;
}

.summary-row {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.summary-total {
    font-size: 17px;
    color: #061c55;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    padding-top: 10px;
}

.form-subtitles.text-danger {
    color: #ea0029!important;
}
