﻿@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');

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

p, body {
    font-family: "Public Sans", sans-serif !important;
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 16px;
    line-height: 25px;
    color: #475569;
    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: 35px;
}

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

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

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

.text-muted {
    color: #64748b !important;
}

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

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

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

.btn-primary {
    padding: 0.8rem 1.5rem;
    display: flex;
    font-weight: 700;
    color: #fff;
    border-radius: 0.5rem;
    background-color: #11546f;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border-color: #11546f;
    font-size: 16px;
    gap: 0.5rem;
}

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

.btn-secondary {
    padding: 0.8rem 1.5rem;
    display: flex;
    font-weight: 700;
    color: #fff;
    border-radius: 0.5rem;
    background-color: #0bb5cb;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border-color: #0bb5cb;
    font-size: 16px;
    gap: 0.5rem;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #11546f;
    box-shadow: none;
    border-color: #11546f;
}

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

.field-validation-error {
    font-size: 14px;
}

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

.humbuger-link {
    color: #11556e;
    display: flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
}

.humbuger-link:hover {
    color: #0f172a;
    background-color: #f1f5f9;
    border-radius: 50px;
}

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

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

.header-icon-link:hover {
    color: #0f172a;
    background-color: #f1f5f9;
    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.5rem;
    border-radius: 100px;
}

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

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

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

.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 !important;
    top: 50px !important;
    border-radius: 0.75rem !important;
    border-color: #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: 230px !important;
    width: auto !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-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 0rem 0rem 0.75rem 0.75rem !important;
}

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

@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: #11556e;
}

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

/* Footer */
.main-footer {
    background-color: #fff !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #64748b !important;
    padding: 1rem 2rem !important;
    font-size: 13px !important;
    position: fixed;
    width: 100%;
    bottom: 0px;
    z-index: 10;
}

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

.sidebar {
    padding: 0rem !important;
}

.side-bar-logo .material-symbols-outlined {
    background-color: #0bb5cb;
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border-radius: 50px;
}

.side-bar-logo-section {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 2rem;
}

.side-bar-subtitle {
    color: #0bb5cb;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600 !important;
    font-size: 12px;
    line-height: 1;
}

.main-sidebar {
    background-color: #11556e !important;
    overflow-x: hidden;
    padding: 1.5rem 1rem;
    width: 270px !important;
}

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

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: rgba(11, 181, 203, 0.2) !important;
    box-shadow: none !important;
    border-radius: 0.5rem;
    border-left: 4px solid #0BB5CB;
}

.text-sm .nav-link {
    padding: 0.75rem 1rem !important;
    border-left: 4px solid #0bb5cb00;
    border-radius: 0.5rem !important;
}

.nav-link .material-symbols-outlined {
    color: #fff;
    opacity: 0.7;
}

.nav-link.active .material-symbols-outlined {
    color: #0bb5cb;
    opacity: 1;
}

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

.nav-link p {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500 !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 > .nav-link:focus {
    background-color: rgb(255 255 255 / 0.1) !important;
    border-radius: 0.5rem;
}

.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 .menu-open > .nav-treeview {
    position: relative;
    padding-left: 20px;
    margin: 0;
    list-style: none;
    border-left: 1px solid rgb(255 255 255 / 0.2);
    margin-left: 30px;
    width: calc(240px - 1rem * 2);
}

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

.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: 185px !important;
}

.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 .nav-link > p > .right {
    right: 1rem !important;
    top: 1.1rem !important;
}

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-header {
    margin-left: 270px!important;
}

body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer {
    margin-left: 120px !important;
}

.sidebar-pro-img {
    border: 2px solid #0bb5cb;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50px;
}

.sidebar-profile-sec {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background-color: rgb(255 255 255 / 0.05);
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    justify-content: space-around;
}

.sidebar-pro-col-2 .logged-username {
    color: #fff !important;
    font-size: 13px !important;
    margin-bottom: 5px !important;
}

.sidebar-pro-col-2 .profile-email {
    font-size: 10px !important;
    color: rgb(255 255 255 / 0.6);
    line-height: 1;
}

.sidebar-pro-col-3 .logout-text {
    display: none;
}

.sidebar-pro-col-3 .log-out-icon {
    color: rgb(255 255 255 / 0.5) !important;
    display: flex !important;
    padding: 0px !important;
}

.sidebar-pro-col-3 .log-out-icon:hover {
    color: #fff !important;
    background-color: rgb(239 68 68 / 0%) !important;
}

.sidebar-pro-col-3 .log-out-icon .material-symbols-outlined {
    margin-right: 0px !important;
}

.os-scrollbar {
    width: 3px !important;
}

/* mini sidebar */
.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 .side-bar-logo .material-symbols-outlined {
    width: 3rem;
    height: 3rem;
}

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

.sidebar-mini.sidebar-collapse .main-sidebar .sidebar-profile-sec {
    display: none;
}

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

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

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

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

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

.sidebar-mini.sidebar-collapse .main-sidebar:hover .side-bar-logo .material-symbols-outlined,
.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .side-bar-logo .material-symbols-outlined {
    width: 2.5rem;
    height: 2.5rem;
}

.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 {
    right: -11rem;
    top: .4rem;
}

.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .nav-link, .sidebar-mini.sidebar-collapse .main-sidebar:hover .nav-link {
    width: calc(255px - .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 .sidebar-profile-sec, .sidebar-mini.sidebar-collapse .main-sidebar:hover .sidebar-profile-sec {
    display: flex!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 {
    padding: .3rem 1rem !important;
    width: 185px !important;
}

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

.sidebar-mini.sidebar-collapse .main-sidebar:hover .menu-open > .nav-link .right,
.sidebar-mini.sidebar-collapse .main-sidebar.sidebar-focused .menu-open > .nav-link .right {
    transform: rotate(-90deg);
}

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

.breadcrumb-nav a {
    color: #64748b;
}

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

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

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

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

/* datatables */

.datatable-filter-row {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 1rem;
    margin: 25px 0px;
}

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

.dataTables_length label, .dataTables_filter label {
    margin-bottom: 0rem;
    font-size: 15px;
    color: #64748b;
}

.dataTables_length .custom-select {
    padding: 8px 35px 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 #11546f;
    box-shadow: 0 0 0 3px rgb(17 84 111 / 20%);
}

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

.table thead {
    vertical-align: middle;
    background-color: #eaf0f6;
    color: #40484d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.table thead th {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    border-top: none;
}

.data-table-body table.dataTable {
    margin: 0px !important;
    background-color: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
}

.dataTables_scroll {
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}

.dataTables_scrollHead {
    border-radius: 0.75rem 0.75rem 0rem 0rem;
}

.table td {
    padding: 1rem 1.5rem;
}

.table-hover tbody tr:hover {
    background-color: #e3f2f2;
}

.datatable-pagination-row {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 1rem;
    margin: 25px 0px;
    align-items: center;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    gap: 0.5rem;
    margin: 0px;
    justify-content: flex-end;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0px;
}

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

.page-link:focus {
    box-shadow: 0 0 0 3px rgb(17 84 111 / 20%);
}

.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: 5px;
    background: #11546f !important;
    color: #fff !important;
    border-color: #11546f;
}

.btn-header {
    background: linear-gradient(135deg, #003c52 0%, #11546f 100%);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    color: #fff;
    border-radius: 0.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 15px;
    gap: 0.2rem;
}

.btn-header:hover {
    color: #fff;
    background: linear-gradient(135deg, #11546f 0%, #003c52 100%);
}

.btn-header-2 {
    background-color: #e7e8ea;
    color: #014d67;
    border-radius: 0.5rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 15px;
    gap: 0.2rem;
}

.btn-header-2:hover {
    color: #014d67;
    background-color: #d9dadc;
}

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

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

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

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

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

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

.action-reset, .action-view {
    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;
    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 {
    padding: 2rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}

.form-footer {
    padding: 2rem 0rem 0rem;
    border-top: 1px solid #e5e7eb;
    margin: 0px;
    margin-top: 2rem;
}

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

.form-control {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.6rem 1rem;
    height: 48px;
    font-size: 15px;
}

.form-control:focus {
    border: 1px solid #11546f;
    box-shadow: 0 0 0 2px rgb(17 84 111 / 0.2);
}

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

.select2-selection.select2-selection--single {
    height: 48px !important;
}

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

.select2-container--bootstrap4.select2-container--focus .select2-selection {
    outline: none;
    border: 1px solid #11546f;
    box-shadow: 0 0 0 2px rgb(17 84 111 / 0.2);
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
    border-radius: 0.5rem;
    background-color: rgb(17 84 111 / 0.1);
    color: #11546f;
    font-size: 12px;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgb(17 84 111 / 0.2);
    font-weight: 700;
}

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

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

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

/* form buttons */
.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-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%;
}

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

.btn-update, .btn-create, .btn-submit {
    background-color: #11546f;
    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: #0bb5cb;
    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;
}

/* 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;
    color: #ffffff;
    text-shadow: none;
    opacity: 1;
    background-color: #0bb5cb !important;
    border-radius: 5px;
    padding: 10px;
    top: 5px;
    right: 5px;
    position: relative;
}

.modal-header .close:hover {
    opacity: 1 !important;
    background-color: rgb(11 181 203 / 80%) !important;
}

.modal-body {
    padding: 1.5rem;
}

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

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

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

/* cards */
.card {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    background-color: #fff;
    padding: 16px 24px;
    border: 1px solid rgb(192 199 205 / 0.15);
    border-radius: 0.5rem;
}

.nav-tabs .nav-link {
    padding: 16px 35px;
    color: #11556e;
    background-color: #fff;
}

.nav-tabs .nav-link.active {
    color: #ffffff;
    background-color: #11556e;
    font-weight: 700;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #ffffff;
}

.nav-tabs {
    border-bottom: 1px solid rgb(192 199 205 / 0.15);
}

/* transaction detail page */
.deposit.status {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    background: linear-gradient(135deg, #003c52 0%, #11546f 100%);
    padding: 2rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.deposit h5 {
   color: #fff!important;
   font-size: 20px!important;
}

.deposit h2 {
    font-size: 36px !important;
    color: #fff !important;
}

.deposit p {
    font-weight: 500 !important;
    font-size: 14px;
    color: rgb(186 230 253 / 0.8);
}

.deposit-icon {
    background-color: rgb(255 255 255 / 0.1);
    color: #fff;
    border-radius: 0.75rem;
    backdrop-filter: blur(12px);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deposit-icon .material-symbols-outlined {
    font-size: 30px;
}

/* reports pages */
.filter-form {
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgb(192 199 205 / 0.2);
}

.filter-form label {
    margin-bottom: .3rem !important;
    color: #94a3b8;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.datatable-pagination-row {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 1rem;
    margin: 25px 0px;
    align-items: center;
}

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

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

.top {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 1rem;
    margin: 25px 0px;
}

.bottom {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 1rem;
    margin: 25px 0px;
}


.btn-group .btn-secondary {
    padding: 0.5rem 1rem;
}

#tblData_wrapper .btn-group {
    border-radius: 0.375rem;
    margin-left: 0rem;
}

@media screen and (max-width: 1024px) {
    .dataTables_filter .form-control-sm {
        width: 14rem !important;
    }

    .header-icon-link {
        display: none!important;
    }
}

@media screen and (max-width: 991px) {
    .content-wrapper > .content {
        padding: 2rem 1.5rem 5rem !important;
    }

    .main-header {
        padding: 1rem 2rem !important;
    }

    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-header {
        margin-left: 0px !important;
    }

    body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer {
        margin-left: 0px !important;
    }

}

@media screen and (max-width: 767px) {
    h4 {
        font-size: 25px;
        line-height: 30px;
    }

    h5 {
        font-size: 20px;
        line-height: 25px;
    }

    .main-header {
        padding: 1rem 1.5rem !important;
    }

    .form-group {
        margin-bottom: 0rem;
    }

    .form-group .col-md-12, .form-group .col-md-6, .form-group .col-md-4, .form-group .col-md-3 {
        margin-bottom: 1rem;
    }

    .dataTables_length, .dataTables_info {
        margin-bottom: 20px;
    }

    .form-section {
        padding: 1.5rem;
    }

    #tblData_wrapper .top {
        display: block;
    }

    .filter-form .col-md-4 {
        margin-bottom: 1rem;
    }

    .btn-group, .btn-group-vertical {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .breadcrumb-nav {
        display: none;
    }

    .modal-dialog {
        width: 90%;
        margin: 50px auto;
        height: 90%;
    }

    .nav-tabs .nav-link {
        padding: 13px 20px;
    }

    .deposit.status {
        padding: 1rem;
    }

    .deposit h2 {
        font-size: 26px !important;
        color: #fff !important;
    }

    #tblData_wrapper .bottom {
        display: block;
    }

    .btn-group-vertical > .btn, .btn-group > .btn {
        flex: none;
    }

    .btn-group .btn-secondary {
        padding: 0.6rem 0.8rem;
        font-size: 14px;
    }




}