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);
}

/* 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(--page-title-color);
    margin: 0;
}

.page-subtitle {
    font-size: clamp(14px, 1.5vw, 18px);
    color: var(--page-subtitle-color);
    margin: 2px 0 0;
}

/* Form Customization */
.form-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--form-label-color);
    margin-bottom: 3px;
}

.error-text {
    font-size: 12px;
    font-weight: 500;
}

/* DataTable Customization */
.custom-datatable {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--data-table-border-color) !important;
}

.custom-datatable thead th {
    background-color: var(--data-table-header-color) !important;
    color: var(--data-table-header-text-color) !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 {
    background-color: var(--card-header-background);
}

/*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;
}

.dropdown-item-color {
    color: var(--text-dark-color) !important;
}

.footer-logo {
    max-width: var(--footer-logo-width);
    height: auto;
}

.icon-color{
    color: var(--icon-color);
}