/*!
 * Newsup Grid & Core UI Framework
 * Lightweight, high-performance replacement for bootstrap.css (~12 KB vs 195 KB).
 * Supports standard 12-column grid, responsive containers, navbar, nav tabs,
 * dropdowns, search forms, and essential utilities with native LTR and RTL support.
 */

/* -------------------------------------------------------------------------
   1. Reboot / Normalize Defaults
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  margin-block-start: 0;
  margin-block-end: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

p {
  margin-block-start: 0;
  margin-block-end: 0;
}

ul, ol {
  margin-block-start: 0;
  margin-block-end: 0;
}

a { 
  text-decoration: none;
  background-color: transparent;
}

a:hover { 
  text-decoration: underline;
}

img {
  vertical-align: middle;
  border-style: none;
}

svg {
  overflow: hidden;
  vertical-align: middle;
}

button {
  border-radius: 0;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

input, button, select, optgroup, textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

[type="button"], [type="reset"], [type="submit"], button {
  -webkit-appearance: button;
}

[type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner, button::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

/* -------------------------------------------------------------------------
   2. Responsive Containers
   ------------------------------------------------------------------------- */
.container,
.container-fluid {
  width: 100%;
  padding-inline-end: 15px;
  padding-inline-start: 15px;
  margin-inline-end: auto;
  margin-inline-start: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* -------------------------------------------------------------------------
   3. Grid System (Rows & 12 Columns)
   ------------------------------------------------------------------------- */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline-end: -15px;
  margin-inline-start: -15px;
}

.no-gutters {
  margin-inline-end: 0;
  margin-inline-start: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-inline-end: 0;
  padding-inline-start: 0;
}

.col,
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
.col-sm, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
.col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-xl, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6,
.col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12 {
  position: relative;
  width: 100%;
  padding-inline-end: 15px;
  padding-inline-start: 15px;
}

.col {
  flex-basis: 0;
  flex-grow: 1;
  min-width: 0;
  max-width: 100%;
}

.col-1  { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3  { flex: 0 0 25%; max-width: 25%; }
.col-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6  { flex: 0 0 50%; max-width: 50%; }
.col-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9  { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
  .col-sm   { flex-basis: 0; flex-grow: 1; min-width: 0; max-width: 100%; }
  .col-sm-1  { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-sm-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-sm-3  { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-sm-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-sm-6  { flex: 0 0 50%; max-width: 50%; }
  .col-sm-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-sm-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-sm-9  { flex: 0 0 75%; max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
  .col-md   { flex-basis: 0; flex-grow: 1; min-width: 0; max-width: 100%; }
  .col-md-1  { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-md-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3  { flex: 0 0 25%; max-width: 25%; }
  .col-md-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6  { flex: 0 0 50%; max-width: 50%; }
  .col-md-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9  { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg   { flex-basis: 0; flex-grow: 1; min-width: 0; max-width: 100%; }
  .col-lg-1  { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-lg-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3  { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6  { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9  { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 1200px) {
  .col-xl   { flex-basis: 0; flex-grow: 1; min-width: 0; max-width: 100%; }
  .col-xl-1  { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-xl-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-xl-3  { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-xl-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-xl-6  { flex: 0 0 50%; max-width: 50%; }
  .col-xl-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-xl-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-xl-9  { flex: 0 0 75%; max-width: 75%; }
  .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}

/* -------------------------------------------------------------------------
   4. Transitions & Collapse
   ------------------------------------------------------------------------- */
.fade {
  transition: opacity 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
  .fade {
    transition: none;
  }
}

.fade:not(.show) {
  opacity: 0;
}

.collapse:not(.show) {
  display: none;
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .collapsing {
    transition: none;
  }
}

/* -------------------------------------------------------------------------
   5. Dropdowns
   ------------------------------------------------------------------------- */
.dropup,
.dropright,
.dropdown,
.dropleft {
  position: relative;
}

.dropdown-toggle {
  white-space: nowrap;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: #212529;
  text-align: start;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.dropdown-menu-right {
  right: 0;
  left: auto;
}

.dropdown-menu-left {
  right: auto;
  left: 0;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #16181b;
  text-decoration: none;
  background-color: #f8f9fa;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #007bff;
}

.dropdown-header {
  display: block;
  padding: 0.5rem 1.5rem;
  margin-block-end: 0;
  font-size: 0.875rem;
  color: #6c757d;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   6. Navs, Tabs, and Panels
   ------------------------------------------------------------------------- */
.nav {
  display: flex;
  flex-wrap: wrap;
  padding-inline-start: 0;
  margin-block-end: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link:focus {
  text-decoration: none;
}

.nav-link.disabled {
  color: #6c757d;
  pointer-events: none;
  cursor: default;
}

.nav-tabs {
  border-bottom: 1px solid #dee2e6;
}

.nav-tabs .nav-item {
  margin-block-end: -1px;
}

.nav-tabs .nav-link {
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  border-color: #e9ecef #e9ecef #dee2e6;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

.tab-content > .tab-pane {
  display: none;
}

.tab-content > .active {
  display: block;
}

/* -------------------------------------------------------------------------
   7. Navbar
   ------------------------------------------------------------------------- */
.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
} 

.navbar .container,
.navbar .container-fluid {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.navbar-brand {
  display: inline-block;
  padding-block-start: 0.3125rem;
  padding-block-end: 0.3125rem;
  margin-inline-end: 1rem;
  font-size: 1.25rem;
  line-height: inherit;
  white-space: nowrap;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-inline-start: 0;
  margin-block-end: 0;
  list-style: none;
}

.navbar-nav .nav-link {
  padding-inline-end: 0;
  padding-inline-start: 0;
}

.navbar-nav .dropdown-menu {
  position: static;
  float: none;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
  text-decoration: none;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-flow: row nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-inline-end: 0.5rem;
    padding-inline-start: 0.5rem;
  }
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  .navbar-expand-lg > .container,
  .navbar-expand-lg > .container-fluid {
    flex-wrap: nowrap;
  }
}

/* -------------------------------------------------------------------------
   8. Forms & Inputs
   ------------------------------------------------------------------------- */
.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-group {
  margin-block-end: 1rem;
}

.form-inline {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-inline-end: -5px;
  margin-inline-start: -5px;
}

.form-row > .col,
.form-row > [class*="col-"] {
  padding-inline-end: 5px;
  padding-inline-start: 5px;
}

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.input-group > .form-control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  margin-block-end: 0;
}

.input-group-btn,
.input-group-append,
.input-group-prepend {
  display: flex;
}

/* -------------------------------------------------------------------------
   9. Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
  color: #212529;
  text-decoration: none;
}

.btn:focus,
.btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn.disabled,
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* -------------------------------------------------------------------------
   10. Flexbox Utilities
   ------------------------------------------------------------------------- */
.d-flex { display: flex !important; }
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-content-start { align-content: flex-start !important; }

/* -------------------------------------------------------------------------
   11. Display & Visibility Utilities
   ------------------------------------------------------------------------- */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.overflow-hidden { overflow: hidden !important; }

@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-flex { display: flex !important; }
  .justify-content-md-end { justify-content: flex-end !important; }
  .text-md-right { text-align: end !important; }
}

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-flex { display: flex !important; }
  .text-lg-left { text-align: start !important; }
}

/* -------------------------------------------------------------------------
   12. Spacing Utilities (Margins & Paddings)
   ------------------------------------------------------------------------- */
.m-0  { margin: 0 !important; }
.mb-0 { margin-block-end: 0 !important; }
.mb-1 { margin-block-end: 0.25rem !important; }
.mb-2 { margin-block-end: 0.5rem !important; }
.mb-3 { margin-block-end: 1rem !important; }
.mb-4 { margin-block-end: 1.5rem !important; }
.mb-5 { margin-block-end: 3rem !important; }
.mb-n1 { margin-block-end: -0.25rem !important; }

.mt-0 { margin-block-start: 0 !important; }
.mt-1 { margin-block-start: 0.25rem !important; }
.mt-2 { margin-block-start: 0.5rem !important; }
.mt-3 { margin-block-start: 1rem !important; }
.mt-4 { margin-block-start: 1.5rem !important; }
.mt-5 { margin-block-start: 3rem !important; }

.mx-auto { margin-inline-end: auto !important; margin-inline-start: auto !important; }
.my-auto { margin-block-start: auto !important; margin-block-end: auto !important; }
.mx-1 { margin-inline-end: 0.25rem !important; margin-inline-start: 0.25rem !important; }
.mx-2 { margin-inline-end: 0.5rem !important; margin-inline-start: 0.5rem !important; }
.my-2 { margin-block-start: 0.5rem !important; margin-block-end: 0.5rem !important; }

.ml-auto { margin-inline-start: auto !important; }
.mr-auto { margin-inline-end: auto !important; }

.p-0 { padding: 0 !important; }
.px-0 { padding-inline-end: 0 !important; padding-inline-start: 0 !important; }
.py-2 { padding-block-start: 0.5rem !important; padding-block-end: 0.5rem !important; }
.py-3 { padding-block-start: 1rem !important; padding-block-end: 1rem !important; }
.pl-3 { padding-inline-start: 1rem !important; }
.pb-4 { padding-block-end: 1.5rem !important; }

@media (min-width: 992px) {
  .mb-lg-0 { margin-block-end: 0 !important; }
  .my-lg-0 { margin-block-start: 0 !important; margin-block-end: 0 !important; }
}

/* -------------------------------------------------------------------------
   13. Typography & Text Utilities
   ------------------------------------------------------------------------- */
.text-left { text-align: start !important; }
.text-right { text-align: end !important; }
.text-center { text-align: center !important; }
.text-muted { color: #6c757d !important; }
.text-white { color: #fff !important; }
.text-primary { color: var(--pri-color, #1151d3) !important; }
.text-secondary { color: var(--secondary-color, #202f5b) !important; }
.text-danger { color: #dc3545 !important; }
.text-warning { color: #ffc107 !important; }
.text-success { color: #28a745 !important; }
.text-info { color: #17a2b8 !important; }
.text-dark { color: #343a40 !important; }
.bg-primary { background-color: var(--pri-color, #1151d3) !important; }
.bg-secondary { background-color: var(--secondary-color, #202f5b) !important; }
.bg-light { background-color: #f8f9fa !important; }
.bg-dark { background-color: #1f2024 !important; }
.bg-white { background-color: #fff !important; }
.bg-transparent { background-color: transparent !important; }
.font-weight-bold { font-weight: 700 !important; }
.lead { font-size: 1.25rem; font-weight: 300; }
.list-inline { padding-inline-start: 0; list-style: none; }
.list-inline-item { display: inline-block; }
.list-inline-item:not(:last-child) { margin-inline-end: 0.5rem; }

/* -------------------------------------------------------------------------
   14. Pagination, Helpers & Borders
   ------------------------------------------------------------------------- */
.pagination {
  display: flex;
  padding-inline-start: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.page-item:first-child .page-link {
  margin-inline-start: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-inline-start: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-static { position: static !important; }
.fixed-top { position: fixed; top: 0; right: 0; left: 0; z-index: 1030; }
.fixed-bottom { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1030; }
.sticky-top { position: sticky; top: 0; z-index: 1020; }
.border { border: 1px solid #dee2e6 !important; }
.border-0 { border: 0 !important; }
.rounded-circle { border-radius: 50% !important; }
.img-fluid { max-width: 100%; height: auto; }
.clearfix::after { display: block; clear: both; content: ""; }

/* -------------------------------------------------------------------------
   15. Automatic RTL Support via Logical Properties
   ------------------------------------------------------------------------- */
body.rtl ,
[dir="rtl"] {
  direction: rtl;

  .mg-latest-news .bn_title .wtitle {
    padding: 0 20px 0 8px;
  }
  .bn_title .wtitle .effect-ripple::before, .bn_title .wtitle .effect-ripple::after {
    inset-inline-start: -28px;
  }
}
body.rtl .dropdown-menu,
[dir="rtl"] .dropdown-menu {
  right: 0;
  left: auto; 
}
body.rtl .dropdown-menu-right,
[dir="rtl"] .dropdown-menu-right {
  right: auto;
  left: 0;
}

/* -------------------------------------------------------------------------
   16. Badges & Tooltips
   ------------------------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  background-color: #6c757d;
  color: #fff;
}

.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
}

.arrow {
  position: absolute;
  display: block;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}