@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

* {
    font-family: "Roboto", sans-serif;
    font-size: 0.9rem;
}

[v-cloak] {
    display: none;
}

.info-box {
    min-height: 40px !important;
}

@media screen and (min-width: 1024px) {
    .main-sidebar {
        z-index: 1000;
        width: 270px;
        top: 63px !important;
    }

    .navbar {
        margin-left: 0 !important;
    }

    .content-wrapper {
        margin-left: 270px !important;
    }

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

    .main-footer {
        margin-left: 270px !important;
    }
}

.txt-color {
    color: #0c4ca3 !important;
}

.view_detail_border {
    margin-top: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    position: relative;
}

.view_detail_text {
    position: absolute;
    top: -15px;
    padding: 5px;
    background: #fff;
}

[class*="sidebar-light-"] .nav-sidebar > .nav-item.menu-open > .nav-link {
    background-color: white !important;
}

.btn-primary {
    background: #2196f3 !important;
    border: none !important;
}

.w80 {
    width: 80px !important;
    color: white !important;
}
.pb10 {
    padding-bottom: 10px;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #90caf9 !important;
}

thead th {
    background: rgba(227, 242, 253, 1);
}

.bg-light-blue {
    background: rgba(227, 242, 253, 1);
}

hr {
    border-top: 0.5px solid rgba(0, 0, 0, 0.2) !important;
}

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

/* Card container nền xanh */
.card-container {
    min-height: calc(100vh - 80px);
    border-radius: 6px;
}

.card-brc {
    padding: 13px 15px !important;
    border-radius: 6px;
}

.card-child {
    min-height: calc(100vh - 178px);
    margin-bottom: 0;
    border-radius: 6px;
}

.status-active {
    padding: 2px 10px;
    background-color: aqua;
    border-radius: 10px;
}
.status-unactive {
    padding: 2px 10px;
    background-color: rgb(243, 165, 93);
    border-radius: 10px;
}

.status-pending {
    padding: 2px 10px;
    background-color: rgb(255, 255, 0);
    border-radius: 10px;
}

.border-left-pa {
    border-left: 5px solid rgba(0, 0, 0, 0.3);
}

.bg-warning-pa {
    background-color: #f2d785;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Sidebar custom */
.nav-sidebar .nav-link {
    color: #333;
}

.nav-sidebar .nav-link.active {
    background: #e3f2fd !important;
    color: #0c4ca3 !important;
}

.nav-sidebar .nav-link:hover {
    background: #f5f5f5;
}

/* Table styles */
.table th {
    font-weight: 600;
    white-space: nowrap;
}

.table td {
    vertical-align: middle;
}

/* Badge enhancements */
.badge {
    font-weight: 500;
}

/* Card header */
.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header .card-title {
    font-weight: 600;
    margin-bottom: 0;
}

/* Card wrapper nền xanh */
.card-wrapper {
    background: transparent;
    min-height: calc(100vh - 105px);
    padding: 15px 0;
}

/* Card breadcrumb trắng */
.card-brc {
    background: #fff;
    border-radius: 8px;
    padding: 12px 20px !important;
    margin-bottom: 15px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.card-brc .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
}

.card-brc .breadcrumb-item,
.card-brc .breadcrumb-item a {
    color: #0c4ca3;
    font-weight: bold;
}

/* Card title trắng */
.card-title-section {
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.card-title-section h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0c4ca3;
    margin: 0;
}

/* Card chính chứa table trắng */
.card-main {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.card-main .card-body {
    padding: 20px;
}

.card-main .card-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
}

/* Table với border xanh theo mẫu */
.table-custom {
    margin-bottom: 0;
}

.table-custom thead th {
    background: #e3f2fd;
    border: 1px solid #90caf9 !important;
    color: #333;
    font-weight: 600;
    padding: 12px 15px;
    white-space: nowrap;
}

.table-custom tbody td {
    border: 1px solid #90caf9 !important;
    padding: 12px 15px;
    vertical-align: middle;
}

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

/* Filter section trong card */
.filter-section {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    background: #fff;
}

.filter-section .form-control {
    border-radius: 4px;
}

.filter-section .btn {
    border-radius: 4px;
}
