﻿@import url('https://fonts.googleapis.com/css2?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: "Open Sans", sans-serif !important;
    font-weight: 500 !important;
    font-style: normal !important;
    font-size: 14px;
    line-height: 25px;
    color: #4b5563;
    margin-bottom: 0px !important;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 45px;
    line-height: 50px;
}

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

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

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

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

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

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

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

.content-wrapper {
    background-color: #f4f7fa !important;
}

.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;
}

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

.humbuger-link {
    background-color: #e9eefc;
    color: #0b2567;
    border-radius: 0.75rem;
    padding: 12px;
    height: auto;
    display: flex;
}

.humbuger-link:hover {
    color: #1f2937;
}

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

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

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

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

.img-avatar-header {
    width: 2.8rem;
    border-radius: 100px;
}

.profile-info p {
    line-height: 1rem;
}

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

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

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

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

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

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

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

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

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


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

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

.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;
}

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

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

.breadcrumb-nav a {
    color: #6b7280;
}

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

.breadcrumb-nav .material-symbols-outlined {
    font-size: 1rem;
}

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

.header-breadcrum {
    margin-left: 1rem;
}

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

/* Sidebar profile */
.sidebar-profile-section {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #fff;
}

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

.sidebar-profile-info {
    margin-left: 10px;
}

.sidebar-profile-info .logged-username {
    margin-bottom: 3px;
}

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

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

.sidebar {
    padding: 1rem;
}

.side-bar-logo img {
    width: 50px;
    background-color: #fff;
    padding: 5px;
    border-radius: 8px;
}

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

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

.side-bar-title {
    margin-left: 10px;
}

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

.sidebar-mini .main-sidebar .nav-link {
    width: calc(255px - .6rem*2);
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: rgb(234 0 41 / 80%) !important;
    box-shadow: none;
    border-radius: 0.4rem;
}

[class*=sidebar-dark-] .sidebar a {
    color: #c3d1f3;
}

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

.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: #c3d1f3;
    font-size: 14px;
    font-weight: 600 !important;
}

.text-sm .nav-link {
    padding: .6rem 1rem;
}

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

.nav-sidebar .nav-treeview .nav-link {
    margin-bottom: .3rem;
    display: flex;
    align-items: center;
}

.nav-sidebar > .nav-item:hover > .nav-link, .nav-sidebar > .nav-item.menu-open > .nav-link, .nav-sidebar > .nav-item > .nav-link:focus {
    background-color: rgb(234 0 41 / 80%) !important;
    border-radius: 0.4rem;
}

.nav-sidebar > .nav-item.menu-open > .nav-link p, .nav-sidebar > .nav-item:hover > .nav-link p, .nav-sidebar > .nav-item > .nav-link:focus p {
    color: #ffffff;
}

.nav-sidebar > .nav-item:hover > .nav-link p {
    color: #ffffff;
}

.nav-sidebar .nav-treeview .nav-link {
    padding: .3rem 1rem !important;
    width: 205px;
}

.nav-sidebar .nav-link > p > .right {
    right: 0rem;
    top: .9rem;
}

body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
    margin-left: 270px;
}

.nav-treeview > .nav-item > .nav-link.active, .nav-treeview > .nav-item:hover > .nav-link {
    background-color: rgb(255 255 255 / 20%) !important;
    border-radius: 0.4rem;
    width: 205px;
}

.nav-treeview > .nav-item > .nav-link.active p, .nav-treeview > .nav-item:hover > .nav-link p {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500 !important;
}

.nav-treeview > .nav-item > .nav-link p {
    color: #c3d1f3;
    font-size: 13px;
    font-weight: 500 !important;
}

.nav-sidebar .menu-open > .nav-treeview {
    padding-left: 30px;
}

.sidebar-logout {
    position: fixed;
    bottom: 0px;
}

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

/* datatables */
.data-table-subtitle {
    color: #6b7280;
}

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

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

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

.table-hover tbody tr:hover {
    color: #4b5563;
    background-color: #f9fafb;
}

.data-table-body {
    background-color: #ffffff;
    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_length, .dataTables_filter {
    padding: 1rem;
    font-size: 14px;
}

.dataTables_length label, .dataTables_filter label {
    margin-bottom: 0rem;
    font-weight: 500!important;
}

.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: 13px;
    letter-spacing: 0.6px;
}

.data-table-body table.dataTable {
    margin-top: 0px !important;
}

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: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
}

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

.btn-header-2 {
    background-color: #0b2567;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
}

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

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

.action-delete {
    padding: 0px;
    border-radius: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #dc3545;
    border: none;
}

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

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

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

.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 {
    background-color: transparent;
    color: #18a8ba;
}

/* forms */
.form-section {
    background-color: #ffffff;
    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;
}

.form-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.form-footer {
    padding: 1.5rem;
}

.form-group label {
    color: #374151;
    font-weight: 500 !important;
}

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

.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;
    height: auto;
    padding: 0.2rem 1rem;
    font-weight: 500;
    color: #6b7280;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    height: 45px!important;
}

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

.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);
    height: 45px !important;
}

.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.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;
}

.btn-update, .btn-create {
    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 {
    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;
}

/* print buttons table */
#tblData_wrapper .top, #tblMyRequests_wrapper .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#tblData_wrapper .bottom, #tblMyRequests_wrapper .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#tblData_wrapper .btn-group, #tblMyRequests_wrapper .btn-group {
    background-color: #0b2567;
    border-radius: 0.375rem;
    padding: 0.5rem 0rem;
    margin-left: 1rem;
}

.btn.btn-secondary {
    background-color: #0b2567;
    padding: 0px 1rem;
    border-radius: 0px;
    border-top: none;
    border-bottom: none;
    border-left: 1px solid rgb(255 255 255 / 0.2);
    border-right: none;
}

.btn.btn-secondary:hover {
    border-top: none;
    border-bottom: none;
    border-left: 1px solid rgb(255 255 255 / 0.2)!important;
    border-right: none;
}

hr {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

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

.modal-body {
    padding: 1.5rem;
}

#add-item-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 0.75rem;
    background-color: #ea0029;
    font-size: 14px;
}

#add-item-btn:hover {
    background-color: #0b2567;
}

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

.card-body {
    padding: 1.5rem;
}

.card-header {
    background-color: #0b2567;
    border-bottom: 0px;
    padding: 0.75rem 1.5rem;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background-color: #fff;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.filter-form {
    box-shadow: 0 10px 15px -3px rgb(229 231 235 / 0.5), 0 4px 6px -4px rgb(229 231 235 / 0.5);
    border-radius: 0.75rem;
    background-color: #fff;
    padding: 1.5rem 1rem;
    margin: 0px;
}

#btnFilter {
    height: 45px;
    border-radius: 0.75rem;
}