html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.system-management-drop-item{
    display: flex;
    align-items: center;
    gap: 12px;
}

.system-management-drop-item .icon {
    width: 20px;
    display: flex;
    justify-content: center;
}

    .system-management-drop-item .end-icon {
        margin-left: auto;
        display: flex;
        align-items: center;
        color: var(--text-muted);
    }

.navbar-gradient {
    background: linear-gradient(270deg, var(--brand-light) 0%, var(--brand-dark) 100%);
}

.navbar-logo {
    height: 48px;    
}


.navbar .nav-link {
    transition: all 0.2s ease;
}

    .navbar .nav-link:hover {
        background-color: rgba(255,255,255,0.15);
        transform: translateY(-1px);
    }

/* Page Styles */
.page-container {
    padding: 32px;
}

@media (max-width: 768px) {
    .page-container {
        padding: 16px 16px 100px 16px; /* extra bottom space */
    }
}

.page-title {
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.page-subtitle {
    font-size: clamp(14px, 1.5vw, 18px);
    color: var(--text-muted);
    margin: 2px 0 0;
}

/* Form Customization */

.form-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.error-text {
    font-size: 12px;
    font-weight: 500;
}

/* DataTable Customization */
.custom-datatable thead th {
    background-color: var(--brand-light) !important;
    color: var(--surface) !important;
}

.dataTables_length {
    margin-bottom: 16px;
}

.dataTables_length {
    margin-bottom: 16px;
}

#datatable_filter {
    padding-bottom: 16px;
}

#datatable thead th:first-child {
    border-top-left-radius: 10px;
}

#datatable thead th:last-child {
    border-top-right-radius: 10px;
}

.card-header-datatable {
    background-color: var(--brand-pale);
}


/*Select2 Products Page*/
.select2-container .select2-selection--single {
    height: 38px; /* increase as you like */
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px; /* must match height */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 38px;
}