/* Consolidated dashboard/form overrides: consistent fonts, input/select sizing, and dropdown fixes */
*, *:before, *:after { box-sizing: border-box; }

body, input, textarea, select, button, .form-control, .dashboard-title, .dashboard-card h4 {
    font-family: 'Roboto', 'Noto Sans Ethiopic', Arial, sans-serif;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 12px;
}

.form-group label, .dashboard-card h4, .dashboard-title, .user-content h5, .user-content h4 {
    font-weight: 600;
    font-size: 12px;
    color: #0f172a;
}

.form-control {
    font-size: 12px;
    line-height: 1.45;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #fff;
    transition: all 150ms ease;
}
.form-control:focus { border-color: #009999; box-shadow: 0 8px 24px rgba(0,153,153,0.12); outline: none; }
textarea.form-control { min-height: 110px; padding-top: 12px; padding-bottom: 12px; }

select.form-control { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 40px; }
select.form-control option { padding: 10px 12px; line-height: 1.6; font-size: 12px; }

.select2-container .select2-dropdown, .select2-container .select2-results, .select2-container--open .select2-dropdown {
    z-index: 999999 !important;
}
.dropdown-menu { z-index: 999999; }

.dashboard-card, .user-content { overflow: visible; }

.btn, .btn-primary { font-weight: 600; border-radius: 10px; font-size: 12px; }

/* Ensure table cells and headers are at least 12px */
table th, table td { font-size: 12px; }

/* Ensure small labels and helper text do not drop below 12px */
.form-text, small, .help-text { font-size: 12px; }

@media (max-width: 576px) {
    .form-control { padding: 10px 12px; min-height: 42px; }
    .form-group label { font-size: 0.92rem; }
}

/* Force a 12px minimum font size for form and header/navigation elements */
body,
input,
textarea,
select,
button,
a,
label,
span,
li,
th,
td,
.form-control,
.btn,
.btn-primary,
.nav-link,
.search-input,
.search-select,
.currency-select,
.language-select,
.deliver-to-link,
.country-name,
.sidenav-menu-header,
.dashboard-sidebar h2,
.dashboard-sidebar .dashboard-nav li a,
.form-text,
small,
.help-text {
    font-size: 12px !important;
    line-height: 1.4 !important;
}

.search-input,
.search-select,
.currency-select,
.language-select,
.nav-link,
.profile-icon,
.sidenav-menu-header {
    font-size: 12px !important;
}

.sidenav-menu-header {
    line-height: 1.4 !important;
}
