:root {
  --primary-color: #FFC91F;
  /* Main theme color */
  --primary-text-color: #222;
  /* Text color for on-primary backgrounds */
  --secondary-color: #f4f4f4;
  --hover-background: #E6B51C;
  /* Darker shade of primary for hover */
  --dark-background: #3A3A3A;
  /* Dark background for sidebars/panels */
  --required-color: red;
}

* {
  font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.ck-editor__editable,
textarea {
  min-height: 150px;
}

.datatable {
  width: 100% !important;
  box-sizing: border-box;
  border-collapse: collapse;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
  top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
  margin-bottom: 0.333em;
}

.dt-buttons .btn {
  margin-left: 0.333em;
  border-radius: 4px;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
  border-bottom: 2px solid var(--secondary-color);
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
  background-image: none;
}

.select2 {
  width: 100%;
}

.searchable-title {
  font-weight: bold;
}

.searchable-fields {
  padding-left: 5px;
}

.searchable-link {
  padding: 0 5px;
}

.searchable-link:hover {
  cursor: pointer;
  background: #eaeaea;
}

.select2-results__option,
.select2-results__options li {
  padding: 0 10px;
}

.form-group .required::after {
  content: " *";
  color: var(--required-color);
}

/* Updated Button Styles */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--primary-text-color);
  /* Ensuring contrast */
  border-radius: 5px !important;
}

.btn-primary:hover {
  color: var(--primary-text-color);
  /* Ensuring contrast */
  background-color: var(--hover-background) !important;
  border-color: var(--hover-background) !important;
}

.box input[type="text"]:focus,
.box input[type="password"]:focus {
  border: 1px solid #79a6fe;
}

/* Updated Admin Panel Skin */
.skin-purple .main-header .navbar,
.skin-purple .main-header .logo {
  background-color: var(--primary-color) !important;
}

.skin-purple .main-header .navbar .sidebar-toggle:hover {
  background-color: var(--hover-background) !important;
}

.skin-purple .main-header .navbar .nav>li>a {
  color: var(--primary-text-color);
  /* Text color for navbar items */
}

.skin-purple .main-header .logo .logo-lg,
.skin-purple .main-header .logo .logo-mini {
  color: var(--primary-text-color);
}


.bg-red,
.callout.callout-danger,
.alert-danger,
.alert-error,
.label-danger,
.modal-danger .modal-body {
  background-color: #ff9933 !important;
}

.skin-purple .wrapper,
.skin-purple .main-sidebar,
.skin-purple .left-side {
  background-color: var(--dark-background) !important;
}

.skin-purple .sidebar a,
.skin-purple .sidebar-menu>li:hover>a,
.skin-purple .sidebar-menu>li.active>a,
.skin-purple .sidebar-menu>li.menu-open>a {
  color: #fff !important;
}

.skin-purple .sidebar-menu>li:hover>a,
.skin-purple .sidebar-menu>li.menu-open>a {
  background: #4a4a4a;
}

.skin-purple .sidebar-menu>li.active>a {
  background: var(--hover-background);
  color: var(--primary-text-color) !important;
}

.skin-purple .sidebar-menu>li.active>a,
.nav-stacked>li.active>a,
.nav-stacked>li.active>a:hover {
  border-left-color: var(--primary-color) !important;
}

.buttons-copy:before,
.buttons-csv:before,
.buttons-excel:before,
.buttons-pdf:before,
.buttons-print:before {
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 18px;
  margin-left: 2px;
}

.buttons-copy:before {
  content: "\f0c5";
  color: #3366ff;
}

.buttons-csv:before {
  content: "\f15c";
  color: #00a651;
}

.buttons-excel:before {
  content: "\f1c3";
  color: #336633;
}

.buttons-pdf:before {
  content: "\f1c1";
  color: #ff6633;
}

.buttons-print:before {
  content: "\f02f";
  color: #66ccff;
}

.buttons-copy span,
.buttons-csv span,
.buttons-excel span,
.buttons-pdf span,
.buttons-print span {
  font-size: 0;
}

div.dt-button-collection {
  width: 28%;
}

div.dt-button-collection a {
  margin: 4px 3px;
  background: var(--primary-color);
  color: var(--primary-text-color);
  font-size: 13px;
}

div.dt-button-collection a:hover {
  color: var(--primary-text-color) !important;
  background: var(--hover-background);
}

.treeview-menu>li>a {
  font-size: 13px;
}

/* Updated Pagination */
.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
  z-index: 3;
  color: var(--primary-text-color);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.sidebar-menu>li>a {
  padding: 10px 20px;
  line-height: 1.87;
  white-space: nowrap;
  display: block;
  width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-default>.panel-heading {
  color: #333;
  background-color: #fff;
  border-color: #ddd;
  font-size: 19px;
  border-top: 4px solid var(--primary-color);
}

.form-control {
  height: 36px;
  padding: 2px 6px;
  border-radius: 4px !important;
}

.input-group .input-group-addon {
  border-radius: 4px;
}

.box #daterange-btn {
  border-radius: 4px 0 0 4px !important;
}

.box .input-group-addon {
  border-radius: 0 4px 4px 0 !important;
}

.box .select2-container .select2-selection--single {
  height: 33px;
  border: 1px solid #d2d6de !important;
}

.box .select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 0;
  padding-top: 2px;
  line-height: 23px !important;
}

.box label {
  margin-bottom: 0;
}

.box.box-info,
.box {
  border-top: 3px solid var(--primary-color);
}

.nekr,
.nav-tabs-custom>.nav-tabs>li.active {
  border-top-color: var(--primary-color);
}

/* Updated Card Backgrounds */
.cardbg-1,
.cardbg-2,
.cardbg-3,
.cardbg-4,
.cardbg-5,
.cardbg-6,
.cardbg-8 {
  background: var(--primary-color) !important;
  box-shadow: none !important;
  border-radius: 10px;
  padding: 31px 50px 31px 28px;
  color: var(--primary-text-color);
  font-size: 15px;
}

.cardbg-1 {
  padding: 41px 50px 41px 28px;
}

.cardbg-1 h5 {
  color: var(--primary-text-color) !important;
}

.caredoane .sweicon {
  position: absolute;
  right: 15px;
  top: 15px;
  object-fit: contain;
  height: 40px;
  max-width: 40px;
}

#collect_cash {
  background: var(--primary-color) !important;
  color: var(--primary-text-color);
  width: 100%;
}

.coenr-capitalize {
  margin-bottom: 20px;
}

.mt-3 {
  margin-top: 10px;
}

.mt-4 {
  margin-top: 16px;
  display: flex;
  gap: 7px;
}

.panelnone {
  margin-bottom: 0;
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--primary-text-color) !important;
}

.dataTables_wrapper .dataTables_scroll {
  margin-bottom: 25px;
}

.box.none {
  margin-bottom: 0;
  box-shadow: none !important;
}

.newdpe {
  display: flex;
  gap: 10px;
}

.small-box {
  border-radius: 4px;
}

select.input-sm {
  height: 35px;
  line-height: 30px;
}

.float-start {
  text-align: right;
  padding-top: 9px;
}

.input-addon {
  display: none;
  margin-bottom: 15px;
}

.input-addon input[type="text"] {
  box-shadow: none;
  border: 1px solid #ccc !important;
  height: 31px;
  width: 81%;
}

.pay-currency {
  display: table-cell;
  background-color: #edefed;
  padding: 6px;
  text-align: center;
  vertical-align: middle;
}

.error {
  color: var(--required-color);
}

.error-message {
  color: var(--required-color);
  font-size: 12px;
}

.input-group {
  display: flex;
}

.input-group .form-control {
  flex: 1;
}

.spinner,
.custom-loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s ease infinite;
}

.custom-loader {
  border: 8px solid #f3f3f3;
  border-top: 8px solid var(--primary-color);
  /* Updated loader color */
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loader-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fs-11 {
  font-size: 11px;
  font-weight: bold;
}

.fs-12 {
  font-size: 12px;
  font-weight: bold;
}

.fs-13 {
  font-size: 13px;
  font-weight: bold;
}

.fs-14 {
  font-size: 14px;
  font-weight: bold;
}

.fs-15 {
  font-size: 15px;
  font-weight: bold;
}

.fs-16 {
  font-size: 16px;
  font-weight: bold;
}

.fs-17 {
  font-size: 17px;
  font-weight: bold;
}

.fs-18 {
  font-size: 18px;
  font-weight: bold;
}

.fs-19 {
  font-size: 19px;
  font-weight: bold;
}

.fs-20 {
  font-size: 20px;
  font-weight: bold;
}

.fs-21 {
  font-size: 21px;
  font-weight: bold;
}

.fs-22 {
  font-size: 22px;
  font-weight: bold;
}

.fs-23 {
  font-size: 23px;
  font-weight: bold;
}

.fs-24 {
  font-size: 24px;
  font-weight: bold;
}

.fs-25 {
  font-size: 25px;
  font-weight: bold;
}

.fs-26 {
  font-size: 26px;
  font-weight: bold;
}

.fs-27 {
  font-size: 27px;
  font-weight: bold;
}

.fs-28 {
  font-size: 28px;
  font-weight: bold;
}

.fs-29 {
  font-size: 29px;
  font-weight: bold;
}

.fs-30 {
  font-size: 30px;
  font-weight: bold;
}

.mb-15 {
  margin-bottom: 15px;
}

#calendarID td,
#calendarID th {
  padding: 20px;
}

#calendarID .statusClass {
  background-color: var(--required-color);
}

#calendarID .bookingClass {
  background-color: green;
  position: relative;
}

#calendarID #previousButton,
#calendarID #nextButton {
  border: 1px solid #ddd;
  width: 46px;
  height: 42px;
  display: inline-block;
  color: #000;
  text-decoration: none;
  line-height: 31px;
  background: #fff;
}

#calendarID .calendar-date {
  border: 1px solid #d4d4d4;
  padding: 2px 5px;
  height: 90px;
  background-color: #dce0e0;
  position: relative;
}

#calendarID .outercoor {
  background: #fff;
  border-radius: 0 0 3px 3px;
  padding: 10px;
}

#calendarID #monthYearSelect {
  font-size: 2rem;
  border: 0;
}

#calendarID #monthYearSelect:focus {
  outline: none;
}

#calendarID .dayNumber {
  font-size: 13px;
  color: #414141;
  margin-left: 2px;
}

#calendarID .dayPrice {
  position: absolute;
  bottom: 9px;
}

#calendarID .table>tbody>tr>td,
#calendarID .table>tfoot>tr>td {
  border: 1px solid #d4d4d4;
}

#calendarID .bgred {
  background-color: #ff0000;
  color: #fff;
}

#calendarID .bggreen {
  background-color: #008000;
  color: #fff;
}

#calendarID .bggreen .dayNumber,
#calendarID .bgred .dayNumber {
  color: #fff;
}

#calendarID .future-date {
  background-color: #87ceeb;
  cursor: pointer;
}

#calendarID .past-date {
  opacity: 0.2;
  background-color: #d3d3d3;
}

#calendarID .blank {
  background-color: #e0e0e0 !important;
}

#calendarID .legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
}

#calendarID .legend-item {
  display: flex;
  align-items: center;
  margin: 0 20px 10px 0;
}

#calendarID .legend-item span {
  margin-left: 8px;
}

#calendarID .booked {
  color: #008000;
  font-size: 40px;
}

#calendarID .disabled {
  color: #d3d3d3;
  font-size: 40px;
}

#calendarID .open {
  color: #87ceeb;
  font-size: 40px;
}

#calendarID .not-selected {
  color: #e0e0e0;
  font-size: 40px;
}

#calendarID .not-available {
  color: #ff0000;
  font-size: 40px;
}

.homePagePanel {
  min-height: 420px;
}

.no-result-found {
  text-align: center;
}

.input-group-addon {
  padding: 8px 23px 0 12px;
  font-size: 14px;
  color: #555;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.generate-icon {
  cursor: pointer;
  margin-left: 10px;
}

.btn-inactive {
  background-color: #bbadab;
  border-color: #a79a98;
  color: #fff !important;
}

.item-image-size {
  max-width: 50px;
}

.module-popup {
  width: 320px;
  height: 100%;
  padding: 10px;
}

.module-header {
  background-color: #333;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module-popup-body,
.module-popup-items {
  padding: 10px;
}

.module-name {
  font-size: 12px;
  padding: 10px;
  color: #000;
  text-align: center;
}

.module-image img {
  width: 50px;
}

.module-popup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  padding: 2px;
  border: 1px solid #ccc;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.module-popup-item:hover,
.module-popup-item.active {
  background-color: var(--primary-color);
}

.module-popup-item:hover .module-name,
.module-popup-item.active .module-name {
  color: var(--primary-text-color);
}

.module-popup-item.active .module-name {
  font-weight: bold;
}

.module-image {
  padding-top: 20px;
}

.custom-col {
  padding: 2px !important;
}

.logo-mini img {
  width: 30px;
}

.logo-lg img {
  height: 45px;
}

/* Updated Panel Styles */
.panel-primary,
.panel-primary>.panel-heading,
.custom-panel>.panel-heading {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: var(--primary-text-color);
}

.text-primary {
  color: var(--primary-color);
}

.img-circle {
  border-radius: 50%;
  object-fit: cover;
  width: 40px;
  height: 40px;
}

.img-circle_details {
  border-radius: 50%;
  object-fit: cover;
  width: 70px;
  height: 70px;
}

.live-badge {
  position: relative;
  padding-left: 30px;
}

.live-dot {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: var(--required-color);
  border-radius: 50%;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.animate-pulse {
  animation: pulse 1.5s infinite;
}

.animate-bounce {
  animation: bounce 1.5s infinite;
}

.car-type-animated {
  padding: 8px;
  color: #0369a1;
  animation: subtlePulse 2s ease-in-out infinite;
}

.car-type-animated div {
  margin-bottom: 2px;
}

.pickup-address {
  background-color: #e6f7ff;
  color: #0050b3;
  padding: 8px;
  align-items: center;
}

.pickup-address i {
  color: #1890ff;
}

.dropoff-address {
  background-color: #fff1f0;
  color: #07a812;
  padding: 8px;
  align-items: center;
  gap: 6px;
}

.dropoff-address i {
  color: #0c473d;
}

.table-icon {
  color: #313c3e;
  margin-right: 5px;
}

.data-cell .separator {
  margin: 0 6px;
  color: #6c757d;
  user-select: none;
}

.dataTables_info,
.paging_simple_numbers {
  display: none;
}

.pagination.justify-content-end {
  float: right;
}

.main-footer {
  overflow: hidden;
  margin-left: 0;
}

.sidebar li.active>a {
  background-color: #222;
  color: #fff;
  font-weight: bold;
}

.sidebar li.active i {
  color: #fff;
}

.custom-toggle {
  align-items: center;
  margin-bottom: 10px;
}

.custom-toggle .switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-right: 10px;
}

.custom-toggle .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.custom-toggle .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  transition: 0.4s;
  border-radius: 50%;
}

.custom-toggle input:checked+.slider {
  background-color: var(--primary-color);
}

.custom-toggle input:focus+.slider {
  box-shadow: 0 0 1px var(--primary-color);
}

.custom-toggle input:checked+.slider:before {
  transform: translateX(26px);
}

.custom-toggle .toggle-label {
  font-size: 14px;
}

.check {
  display: block;
  margin: 0;
  padding: 0;
  width: 0;
  height: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.checktoggle {
  background-color: rgba(115, 103, 240, 0.2);
  border-radius: 20px;
  cursor: pointer;
  display: block;
  font-size: 0;
  height: 24px;
  width: 48px;
  position: relative;
  transition: background-color 0.3s ease;
}

.checktoggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.check:checked+.checktoggle {
  background-color: var(--primary-color);
}

.check:checked+.checktoggle::after {
  left: calc(100% - 20px);
}

.disabled-span {
  opacity: .1;
}

/* Updated Button Info Styles */
.btn-info {
  background-color: #495057;
  /* dark slate gray */
  border-color: #343a40;
  /* darker gray border */
  color: #ffffff;
}

.btn-info:hover {
  background-color: #5a6268;
  border-color: #495057;
}

/* Updated Nav Tab Styles */
.nav.navbar-pills.nav-tabs.nav-stacked.no-margin li a:hover {
  background-color: var(--dark-background);
  color: #e7eced;
  font-weight: bold;
}

.nav.navbar-pills.nav-tabs.nav-stacked.no-margin li.active a {
  background-color: var(--dark-background);
  color: #e7eced;
  font-weight: bold;
}








/* --- Root Variables for Theme --- */
:root {
  --primary-color: #FFC91F;
  --dark-bg: #212529;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #333;
  --text-light: #f8f9fa;
  --border-color: #dee2e6;
  --font-family: 'Poppins', sans-serif;
}

/* --- General Reset & Body --- */

/* --- Main Login Section & Box --- */
.login {
  width: 100%;
  padding: 20px;
}

.login_box {
  display: flex;
  width: 100%;
  max-width: 1200px;

  margin: auto;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
}

/* --- Left Side (Form) --- */
.left {
  flex-basis: 50%;

  justify-content: center;
  align-items: center;
  padding: 40px;
}

.page-login .login-box {
  width: 100%;

}

.login-box,
.register-box {
  width: 360px;
  margin: 7% auto;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
}

.login-logo h2 {
  font-size: 50px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.login-logo p {

  color: #6c757d;
  margin-bottom: 30px;
  font-size: 32px;
}

/* --- Form Elements Styling --- */
.form-group {
  position: relative;
  margin-bottom: 25px;
}

/* Using the original .form-control class */

.login .form-control {
  height: 50px;
  padding: 10px 15px 10px 45px;
  /* Added space for icon */
}

.form-control {

  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(255, 201, 31, 0.3);
}

/* Styling the original .form-control-feedback */
.form-control-feedback {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  width: auto;
  line-height: 1;
  color: #adb5bd;
  text-align: left;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #adb5bd;
  padding: 5px;
}



/* Creating a clean checkbox to appear in its place */
.custom-checkbox-container {
  font-size: 0.9rem;
}

.btn.btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.btn.btn-link:hover {
  text-decoration: underline;
}

/* Recaptcha */
.g-recaptcha {
  margin-bottom: 0px;
  transform-origin: left;
  transform: scale(1.04);
}

/* Submit Button */
.btn-primary.btn-block {
  background-color: var(--primary-color);
  border: none;
  color: var(--dark-bg);
  padding: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-primary.btn-block:hover {
  background-color: #e6b30f;
  transform: translateY(-2px);
}

/* --- Demo Credentials --- */
.copy-container {
  margin-top: 30px;
  padding: 15px;
  background-color: #fef8e3;
  border: 1px dashed #f0c340;
  border-radius: 8px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.copy-container span {
  font-family: monospace;
}

.copy_cred {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 1.3rem;
}

/* --- Right Side (Branding) --- */
.right {
  flex-basis: 50%;
  background-color: var(--dark-bg);
  color: var(--text-light);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.right-text img {
  width: auto;
  max-width: 160px;
  max-height: 88px;
  margin-bottom: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  object-fit: contain;
}

.right-text h5 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .login_box {
    flex-direction: column;
    min-height: auto;
    width: 95%;
    max-width: 500px;
  }

  .right {
    display: none;
    /* Hide branding on mobile for a focused form experience */
  }

  .left {
    flex-basis: 100%;
    padding: 40px 30px;
  }
}


.login-box,
.register-box {
  margin-top: 0px;
}












/* --- Root Variables for Theme --- */
:root {
  --primary-color: #FFC91F;
  --dark-text: #212529;
  --secondary-text: #6c757d;
  --border-color: #dee2e6;
  --page-bg: #f4f7f6;
  --card-bg: #ffffff;
  --font-family: 'Poppins', sans-serif;
}



/* --- Input Field Container (.form-group) --- */
.contact .form-group {
  position: relative;
  margin-bottom: 25px;
}

/* --- Input Field Styling (.form-control) --- */
.contact .form-control {
  height: 52px;
  width: 100%;
  padding: 10px 15px 10px 45px;
  /* Left padding for icon */
  font-size: 14px;
  color: var(--dark-text);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: #f8f9fa !important;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.contact .form-control::placeholder {
  color: #999;
}

/* Focus state for the input field */
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--card-bg);
  box-shadow: 0 0 0 4px rgba(255, 201, 31, 0.25);
}

/* --- Icon Styling (using existing classes) --- */
.contact .form-control-feedback {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--secondary-text);
  pointer-events: none;
  text-align: left;
  font-size: 20px;
}

.contact .toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--secondary-text);
}

/* --- Row for Checkbox & Link --- */
.contact .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.9rem;
}

/* Styling the iCheck container and its label */
.contact .icheck {
  padding-left: 0;
}

.contact .icheck label {
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--secondary-text);
}

/* Hiding the complex iCheck generated div and styling the native checkbox */
.contact .icheck .icheckbox_square-blue {
  display: none;
}

.contact .icheck input[type="checkbox"] {
  opacity: 1 !important;
  /* Make native checkbox visible */
  position: static !important;
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 8px 0 0 !important;
  accent-color: var(--primary-color);
  /* Modern way to theme checkboxes */
}

/* --- Forgot Password Link --- */
.contact .btn-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
}

.contact .btn-link:hover {
  text-decoration: underline;
}

/* --- Login Button --- */
.contact .btn.btn-primary.btn-block {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background-color: var(--primary-color);
  border: none;
  color: var(--dark-text);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.contact .btn.btn-primary.btn-block:hover {
  background-color: #e6b30f;
  /* Darker yellow */
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 201, 31, 0.4);
}

/* --- Demo Credentials Box --- */
.contact .copy-container {
  margin-top: 30px;
  padding: 15px;
  background-color: #fef8e3;
  border: 1px dashed #f0c340;
  border-radius: 8px;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  line-height: 29px;

}

.contact .copy_cred {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary-color);
  font-size: 1.3rem;
  position: absolute;
  right: 19px;
  width: 30px;
  text-align: center;
  left: auto;
}





.login-page .right {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.12), transparent 24%),
    linear-gradient(145deg, #f4b400 0%, #facc15 52%, #d97706 100%) !important;
}

.page-login__brand-panel {
  position: relative;
  overflow: hidden;
  padding: 56px 52px;
}

.page-login__brand-panel::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  pointer-events: none;
}

.page-login__brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 420px;
  margin: 0 auto;
}

.page-login__brand-mark {
  width: 196px;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(120, 53, 15, 0.16);
}

.page-login__brand-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-login__brand-copy h5 {
  margin: 0;
  font-size: 4.2rem;
  line-height: 1.1;
}

.page-login__brand-description {
  margin: 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.65rem;
  line-height: 1.65;
}

.page-login__brand-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.page-login__brand-highlights span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.16);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 600;
}

.page-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.12), transparent 26%),
    linear-gradient(180deg, #eaf1fb 0%, #dfe8f5 100%);
}

.page-login .login_box {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  display: block;
}

.page-login__shell {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.page-login__card {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  align-items: stretch;
  min-height: 640px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
}

.page-login__form-column {
  display: flex;
  align-items: center;
  padding: 36px;
  background: rgba(255, 255, 255, 0.84);
}

.page-login__form-wrap,
.page-login__form-card {
  width: 100%;
}

.page-login .login-box {
  margin: 0;
  width: 100%;
  max-width: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-login__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-login__heading {
  margin-top: 18px;
  margin-bottom: 18px;
}

.page-login .login-logo h2 {
  margin: 0 0 10px;
  font-size: 4.8rem;
  line-height: 1.05;
  color: #0f172a;
}

.page-login .login-logo p {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.6;
  color: #64748b;
}

.page-login__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.page-login__meta-row span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #475569;
  font-size: 1.25rem;
  font-weight: 600;
}

.page-login .login-box-body {
  padding: 0;
}

.page-login .contact .form-control {
  height: 58px;
  border-radius: 16px;
  border-color: #d7e0ec;
  background-color: #f8fbff !important;
  font-size: 1.45rem;
}

.page-login .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.page-login .contact .form-control-feedback,
.page-login .contact .toggle-password,
.page-login .btn.btn-link {
  color: #64748b;
}

.page-login .contact .btn.btn-primary.btn-block {
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1d4ed8 0%, #0f766e 100%);
  color: #fff;
  box-shadow: 0 16px 32px rgba(29, 78, 216, 0.2);
}

.page-login .contact .btn.btn-primary.btn-block:hover {
  background: linear-gradient(135deg, #1e40af 0%, #0f766e 100%);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.22);
}

.page-login .contact .copy-container {
  background: #f8fafc;
  border: 1px dashed #bfdbfe;
  border-radius: 16px;
}

.page-login__visual-column {
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.22), transparent 25%),
    linear-gradient(160deg, #0f172a 0%, #172554 58%, #0f766e 100%);
}

.page-login__visual-surface {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.login-page .right,
.page-login__brand-panel {
  background: transparent !important;
}

.page-login__brand-panel {
  padding: 0;
}

.page-login__brand-panel::before {
  display: none;
}

.page-login__brand-copy {
  align-items: flex-start;
  gap: 20px;
  max-width: 100%;
  margin: 0;
  text-align: left;
}

.page-login__brand-mark {
  width: 180px;
  min-height: 108px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.26);
}

.page-login__brand-mark img {
  width: 100%;
  max-width: 132px;
  max-height: 72px;
  object-fit: contain;
}

.page-login__brand-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  color: #0f172a;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-login__brand-copy h5 {
  font-size: 4.2rem;
}

.page-login__brand-description {
  max-width: 480px;
  font-size: 1.6rem;
}

.page-login__brand-highlights {
  justify-content: flex-start;
}

.page-login__brand-highlights span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.page-login__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-login__stat-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.page-login__stat-card strong {
  font-size: 1.6rem;
  color: #fff;
}

.page-login__stat-card span {
  font-size: 1.35rem;
  line-height: 1.6;
}

.page-login__footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: #64748b;
  font-size: 1.35rem;
  text-align: center;
}

@media (max-width: 1080px) {
  .page-login__card {
    grid-template-columns: 1fr;
  }

  .page-login__visual-column {
    order: -1;
  }

  .page-login__visual-surface {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .page-login {
    padding: 18px;
  }

  .page-login__form-column,
  .page-login__visual-column {
    padding: 20px;
  }

  .page-login__visual-surface {
    padding: 22px;
  }

  .page-login .login-logo h2,
  .page-login__brand-copy h5 {
    font-size: 3.4rem;
  }

  .page-login__stats {
    grid-template-columns: 1fr;
  }

  .page-login__brand-copy {
    align-items: center;
    text-align: center;
  }

  .page-login__brand-highlights {
    justify-content: center;
  }
}

.login-box br {
  display: none
}


.login-box-body,
.register-box-body {
  padding: 0px
}


/* --- Responsive Google reCAPTCHA Styling --- */

/* 1. The main container that Google creates for the widget.
      We give it a max-width to ensure it doesn't get too large and use
      transform to scale it down. */
.g-recaptcha {
  max-width: 100%;
  transform-origin: 0 0;
  /* Anchors the scaling to the top-left corner */
  transform: scale(0.9);
  /* A good starting scale for slightly smaller containers */
}

iframe {
  max-width: 100%;
  transform-origin: 0 0;
  /* Anchors the scaling to the top-left corner */
  transform: scale(0.9);
  /* A good starting scale for slightly smaller containers */
}

/* 2. Media Query for smaller mobile screens (e.g., iPhone 5/SE).
      We scale it down even further to prevent it from overflowing. */
@media (max-width: 320px) {
  .g-recaptcha {
    transform: scale(0.77);
  }
}











.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: -15px;
  margin-bottom: 20px;
}

.remember-me {
  display: flex;
  /* Aligns the checkbox and label nicely */
  align-items: center;
  gap: 8px;
  /* Adds a small space between checkbox and text */
}

.remember-me label {
  margin-bottom: 0;
  /* Removes default bottom margin from the label */
  cursor: pointer;
}

.forgot-password-link {
  color: var(--primary-color);
  /* Uses your theme's primary color */
  text-decoration: none;
  font-size: 13px;
}

.forgot-password-link:hover {
  text-decoration: underline;
}



.form-actions label {
  padding-left: 0px !important;
}

.form-group.has-error .help-block {
  position: absolute;
}


.drivers-card {
  border-left: 4px solid #E6B51C !important;
}

.drivers-card {
  background-color: #fff !important;
}

.main-header .logo .logo-lg {
  background: #ffc91f !important
}

.main-header .logo {
  padding: 0px;
}

.skin-purple .sidebar-menu>li>.treeview-menu {
  background: #000 !important;
}

body.admin-theme {
  background: #eef3f8;
  color: #1f2937;
}

.admin-page-shell {
  padding: 26px 24px 32px;
}

.admin-theme .wrapper,
.admin-theme .content-wrapper,
.admin-theme .right-side {
  background: #eef3f8;
}

.admin-theme .main-header .logo,
.admin-theme .skin-purple .main-header .navbar {
  background: #ffffff !important;
  border-bottom: 1px solid #dbe4ec;
}

.admin-theme .main-header .logo {
  border-right: 1px solid #dbe4ec;
  color: #0f172a !important;
  font-weight: 700;
}

.admin-theme .main-header .logo img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.admin-theme .main-header .navbar .sidebar-toggle,
.admin-theme .main-header .navbar .nav>li>a {
  color: #334155 !important;
}

.admin-theme .main-header .navbar .sidebar-toggle:hover,
.admin-theme .main-header .navbar .nav>li>a:hover {
  background: #f4f8fb !important;
  color: #0f766e !important;
}

.admin-topbar-copy {
  float: left;
  padding: 14px 18px;
}

.admin-topbar-copy__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
}

.admin-topbar-copy__subtitle {
  font-size: 12px;
  color: #64748b;
}

.admin-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

.admin-user-chip__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.admin-user-chip__label {
  font-weight: 600;
  color: #0f172a;
}

.admin-theme .main-sidebar,
.admin-theme .skin-purple .main-sidebar,
.admin-theme .skin-purple .left-side {
  background: linear-gradient(180deg, #0b5d5d 0%, #0a4d4d 100%) !important;
}

.admin-theme .sidebar {
  padding-top: 16px;
}

.admin-theme .sidebar-menu>li>a {
  width: auto;
  margin: 4px 12px;
  border-radius: 12px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 500;
}

.admin-theme .sidebar-menu>li>a>.fa,
.admin-theme .sidebar-menu>li>a>.fas,
.admin-theme .sidebar-menu>li>a>.far {
  width: 18px;
}

.admin-theme .sidebar-menu>li.active>a,
.admin-theme .sidebar-menu>li:hover>a,
.admin-theme .sidebar-menu>li.menu-open>a {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-left-color: transparent !important;
}

.admin-theme .skin-purple .sidebar-menu>li>.treeview-menu {
  background: transparent !important;
  padding-bottom: 8px;
}

.admin-theme .treeview-menu>li>a {
  color: rgba(226, 232, 240, 0.88) !important;
  padding: 10px 18px 10px 48px;
}

.admin-theme .treeview-menu>li.active>a,
.admin-theme .treeview-menu>li>a:hover {
  color: #fff !important;
}

.admin-theme .content-header {
  display: none;
}

.admin-theme .main-footer {
  background: transparent;
  border-top: none;
  color: #64748b;
  padding: 14px 24px 20px;
}

.admin-theme .alert {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.admin-theme .box,
.admin-theme .panel,
.admin-theme .nav-tabs-custom {
  border: 1px solid #dbe4ec;
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
  background: #ffffff;
}

.admin-theme .box-header,
.admin-theme .panel-heading {
  border-bottom: 1px solid #e7eef5;
  padding: 22px 24px 16px;
}

.admin-theme .box-header.with-border,
.admin-theme .panel-default>.panel-heading {
  border-bottom: 1px solid #e7eef5;
}

.admin-theme .box-body,
.admin-theme .panel-body,
.admin-theme .tab-content {
  padding: 22px 24px 24px;
}

.admin-theme .box-footer,
.admin-theme .panel-footer {
  border-top: 1px solid #e7eef5;
  background: transparent;
  padding: 16px 24px 24px;
}

.admin-theme .btn {
  border-radius: 12px !important;
  font-weight: 600;
  padding: 10px 18px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.admin-theme .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.admin-theme .btn-primary,
.admin-theme .btn-info {
  background: #0f766e !important;
  border-color: #0f766e !important;
  color: #fff !important;
}

.admin-theme .btn-primary:hover,
.admin-theme .btn-info:hover {
  background: #115e59 !important;
  border-color: #115e59 !important;
}

.admin-theme .btn-danger {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
}

.admin-theme .btn-default {
  background: #f8fafc !important;
  border-color: #dbe4ec !important;
  color: #334155 !important;
}

.admin-theme .form-control,
.admin-theme .select2-selection--single,
.admin-theme .select2-selection--multiple,
.admin-theme textarea.form-control {
  height: auto;
  min-height: 46px;
  border-radius: 14px !important;
  border: 1px solid #d6e0ea !important;
  box-shadow: none !important;
  padding: 12px 14px;
  background: #fbfdff;
}

.admin-theme textarea.form-control {
  min-height: 136px;
}

.admin-theme .form-control:focus,
.admin-theme .select2-container--default.select2-container--focus .select2-selection--multiple,
.admin-theme .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #14b8a6 !important;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12) !important;
  background: #fff;
}

.admin-theme .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 22px;
  padding-left: 0;
}

.admin-theme .select2-selection__arrow {
  height: 44px !important;
}

.settings-sidebar-card {
  overflow: hidden;
}

.settings-sidebar-card .all_settings {
  margin: 0;
  padding: 22px 24px 14px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.settings-nav {
  padding: 0 16px 18px;
}

.settings-nav__eyebrow {
  padding: 0 8px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.settings-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.settings-nav__item {
  margin-bottom: 6px;
}

.settings-nav__item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #475569;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.settings-nav__item a:hover {
  background: #f1f7f8;
  color: #0f766e;
  transform: translateX(2px);
}

.settings-nav__item.is-active a {
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.24);
}

.settings-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.settings-page-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.settings-page-header__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f766e;
}

.settings-page-header__title {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  color: #0f172a;
}

.settings-page-header__subtitle {
  margin: 8px 0 0;
  max-width: 760px;
  font-size: 14px;
  color: #64748b;
}

.settings-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.settings-status-pill.is-live {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.settings-status-pill.is-muted {
  background: rgba(148, 163, 184, 0.16);
  color: #475569;
}

.settings-status-pill.is-warning {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}

.settings-card {
  margin-bottom: 20px;
}

.settings-card--hero {
  overflow: hidden;
}

.settings-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px 0;
}

.settings-card__header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.settings-card__header p {
  margin: 8px 0 0;
  color: #64748b;
}

.settings-card__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 24px 24px;
}

.settings-form-card {
  padding-bottom: 8px;
}

.settings-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 24px 24px;
}

.settings-form-grid--message {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-form-grid--banner {
  align-items: start;
}

.settings-field label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-weight: 600;
}

.settings-color-control {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.settings-color-control__picker {
  width: 60px;
  height: 52px;
  padding: 4px;
  border: 1px solid #dbe4ec;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.settings-color-control__picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.settings-color-control__picker::-webkit-color-swatch {
  border: 0;
  border-radius: 12px;
}

.settings-color-control__picker::-moz-color-swatch {
  border: 0;
  border-radius: 12px;
}

.settings-color-control__hex {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.settings-color-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.settings-color-preset {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #dbe4ec;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-weight: 700;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.settings-color-preset:hover,
.settings-color-preset:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  transform: translateY(-1px);
  outline: 0;
}

.settings-color-preset__swatches {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.settings-color-preset__swatches i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.settings-banner-preview {
  --banner-primary: #12284A;
  --banner-secondary: #2F66E0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--banner-primary), var(--banner-secondary));
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.settings-banner-preview::before,
.settings-banner-preview::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.settings-banner-preview::before {
  width: 180px;
  height: 180px;
  top: -70px;
  right: 90px;
}

.settings-banner-preview::after {
  width: 120px;
  height: 120px;
  bottom: -35px;
  right: 26px;
}

.settings-banner-preview__content,
.settings-banner-preview__visual {
  position: relative;
  z-index: 1;
}

.settings-banner-preview__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.settings-banner-preview h4 {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
}

.settings-banner-preview p {
  margin: 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.65;
}

.settings-banner-preview__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.settings-banner-preview__visual img {
  max-width: 100%;
  max-height: 116px;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
  padding: 10px;
}

.settings-banner-preview__placeholder {
  display: grid;
  gap: 12px;
  width: 100%;
}

.settings-banner-preview__placeholder span {
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.settings-banner-preview__placeholder span:nth-child(1) {
  width: 72px;
  height: 72px;
  border-radius: 22px;
}

.settings-banner-preview__placeholder span:nth-child(2) {
  width: 100%;
  height: 14px;
}

.settings-banner-preview__placeholder span:nth-child(3) {
  width: 82%;
  height: 14px;
}

.settings-app-preview-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.settings-app-preview-phone {
  --app-primary: #3E6BCB;
  --app-accent: #3ECF8E;
  position: relative;
  min-height: 640px;
  padding: 14px;
  border-radius: 36px;
  background: #0f172a;
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.24);
  overflow: hidden;
}

.settings-app-preview-phone__status {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 122px;
  height: 24px;
  border-radius: 0 0 18px 18px;
  background: #0b1120;
  transform: translateX(-50%);
  z-index: 3;
}

.settings-app-preview-phone__map {
  position: absolute;
  inset: 14px 14px 230px;
  border-radius: 24px 24px 30px 30px;
  background:
    radial-gradient(circle at 20% 25%, rgba(62, 207, 142, 0.20), transparent 20%),
    radial-gradient(circle at 72% 38%, rgba(62, 107, 203, 0.20), transparent 24%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    linear-gradient(135deg, #edf3ff, #f8fbff);
}

.settings-app-preview-phone__map::before,
.settings-app-preview-phone__map::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
}

.settings-app-preview-phone__map::before {
  background-image:
    linear-gradient(90deg, transparent 0 12%, rgba(148, 163, 184, 0.18) 12% 13%, transparent 13% 27%, rgba(148, 163, 184, 0.18) 27% 28%, transparent 28% 100%),
    linear-gradient(transparent 0 15%, rgba(148, 163, 184, 0.18) 15% 16%, transparent 16% 31%, rgba(148, 163, 184, 0.18) 31% 32%, transparent 32% 100%);
}

.settings-app-preview-phone__map::after {
  inset: 18% 20% auto 18%;
  height: 50%;
  border-radius: 999px;
  border: 5px solid var(--app-primary);
  border-left-color: transparent;
  border-bottom-color: var(--app-accent);
  transform: rotate(18deg);
}

.settings-app-preview-phone__sheet {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 14px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.08);
}

.settings-app-preview-phone__topline {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.settings-app-preview-phone__handle {
  width: 56px;
  height: 5px;
  border-radius: 999px;
  background: #cbd5e1;
}

.settings-banner-preview--inside-app {
  padding: 18px;
  border-radius: 22px;
  box-shadow: none;
  grid-template-columns: minmax(0, 1fr) 92px;
}

.settings-banner-preview--inside-app .settings-banner-preview__visual {
  min-height: 104px;
  padding: 12px;
  border-radius: 18px;
}

.settings-banner-preview--inside-app h4 {
  margin-top: 14px;
  font-size: 26px;
}

.settings-banner-preview--inside-app p {
  font-size: 13px;
  line-height: 1.55;
}

.settings-app-preview-phone__actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.settings-app-preview-phone__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--app-primary-soft, rgba(62, 107, 203, 0.12));
  color: var(--app-primary);
  font-size: 12px;
  font-weight: 700;
}

.settings-app-preview-phone__chip--accent {
  background: var(--app-accent-soft, rgba(62, 207, 142, 0.18));
  color: var(--app-accent-strong, #228b61);
}

.settings-app-preview-phone__button {
  width: 100%;
  margin-top: 14px;
  min-height: 46px;
  border: 0;
  border-radius: 18px;
  background: var(--app-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 24px var(--app-primary-shadow, rgba(62, 107, 203, 0.34));
}

.settings-app-preview-copy h5 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 18px;
  font-weight: 800;
}

.settings-app-preview-copy p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

.settings-help-copy {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.55;
}

.settings-field--full {
  grid-column: 1 / -1;
}

.settings-callout {
  margin: 0 24px 24px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15, 118, 110, 0.15);
  background: rgba(15, 118, 110, 0.06);
  color: #115e59;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.settings-callout a {
  color: #0f766e;
  text-decoration: underline;
}

.settings-callout--soft {
  background: #f8fbfd;
  border-color: #dbe4ec;
  color: #475569;
}

.settings-tab-nav {
  list-style: none;
  margin: 10px 24px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.settings-tab-nav li a {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f3f7fb;
  color: #475569;
  text-decoration: none;
  font-weight: 600;
}

.settings-tab-nav li.active a {
  background: #0f766e;
  color: #fff;
}

.notification-provider-grid,
.maintenance-grid,
.gateway-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 24px 24px;
}

.notification-provider-card,
.gateway-mode-card {
  margin: 0;
  cursor: pointer;
}

.notification-provider-card input,
.gateway-mode-card input,
.settings-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.notification-provider-card__body,
.gateway-mode-card span {
  display: block;
  border: 1px solid #dbe4ec;
  border-radius: 18px;
  padding: 18px;
  background: #fbfdff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.notification-provider-card__title {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.notification-provider-card__copy,
.gateway-mode-card small {
  display: block;
  color: #64748b;
}

.notification-provider-card input:checked + .notification-provider-card__body,
.gateway-mode-card input:checked + span {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
  transform: translateY(-1px);
  background: #fff;
}

.notification-provider-card--muted .notification-provider-card__copy {
  color: #64748b;
}

.push-provider-pane {
  display: none;
}

.push-provider-pane.is-active {
  display: block;
}

.push-provider-callout {
  margin: 0;
}

.settings-toolbar {
  display: flex;
  justify-content: flex-end;
  padding: 18px 24px 0;
}

.settings-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.settings-toggle-wrap__label {
  font-weight: 600;
  color: #334155;
}

.settings-switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto;
  min-height: 30px;
}

.settings-switch__slider {
  position: relative;
  display: inline-block;
  flex: 0 0 56px;
  width: 56px;
  height: 30px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background-color 0.16s ease;
}

.settings-switch__slider::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.16s ease;
}

.settings-switch input:checked + .settings-switch__slider {
  background: #0f766e;
}

.settings-switch input:checked + .settings-switch__slider::before {
  transform: translateX(26px);
}

.settings-switch__label {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.maintenance-action {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border: 1px solid #dbe4ec;
  border-radius: 20px;
  background: #fbfdff;
}

.maintenance-action__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}

.maintenance-action--primary .maintenance-action__icon {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.maintenance-action--danger .maintenance-action__icon {
  background: linear-gradient(135deg, #ef4444, #f97316);
}

.maintenance-action__content h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.maintenance-action__content p {
  margin: 0;
  color: #64748b;
}

.command-stack {
  padding: 20px 24px 24px;
}

.command-box {
  position: relative;
  margin-bottom: 14px;
  padding: 18px 16px 16px;
  border: 1px solid #dbe4ec;
  border-radius: 18px;
  background: #0f172a;
  color: #e2e8f0;
}

.command-box code {
  display: block;
  background: transparent;
  color: #e2e8f0;
  white-space: normal;
  word-break: break-all;
}

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
}

.copy-success {
  display: none;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: #86efac;
  font-weight: 600;
}

.settings-pill-tabs {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid #dbe4ec;
  border-radius: 999px;
  background: #fff;
}

.settings-pill-tabs__item {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-weight: 700;
  padding: 10px 18px;
  text-decoration: none;
}

.settings-pill-tabs__item.is-active {
  background: #0f766e;
  color: #fff;
}

.sms-provider-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 24px;
}

.sms-provider-tabs .settings-pill-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbe4ec;
  background: #fff;
}

.settings-media-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  margin-top: 12px;
  padding: 14px 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.settings-media-preview img {
  max-width: 180px;
  max-height: 56px;
  object-fit: contain;
}

.settings-media-preview--favicon img {
  max-width: 48px;
  max-height: 48px;
}

.settings-media-preview-wrap {
  margin-top: 12px;
}

.settings-media-preview-copy {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.mail-config-pane {
  display: none;
}

.mail-config-pane.is-active {
  display: block;
}

.mail-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  padding: 0 24px 24px;
}

.mail-settings-grid__full {
  grid-column: 1 / -1;
}

.mail-test-form {
  padding: 0 24px 24px;
}

.mail-preview-shell {
  margin: 0 24px 24px;
  border: 1px solid #dbe4ec;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.mail-preview-shell--template {
  min-height: 560px;
}

.mail-preview-shell__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid #e5eef4;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
}

.mail-preview-shell__header img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.16);
  padding: 6px;
}

.mail-preview-shell__header h4 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.mail-preview-shell__header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.mail-preview-shell__subject {
  padding: 18px 22px 0;
  color: #0f172a;
  font-size: 21px;
  font-weight: 800;
}

.mail-preview-shell__body {
  padding: 16px 22px 24px;
  color: #334155;
  line-height: 1.75;
}

.mail-preview-shell__body h1,
.mail-preview-shell__body h2,
.mail-preview-shell__body h3,
.mail-preview-shell__body h4 {
  color: #0f172a;
}

.mail-preview-shell__body a {
  color: #0f766e;
  font-weight: 600;
}

.mail-preview-shell__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 18px 22px;
  border-top: 1px solid #e5eef4;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
}

.mail-template-shell {
  margin-bottom: 18px;
}

.mail-template-shell__toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 24px;
}

.mail-template-shell__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mail-template-tab,
.mail-scope-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #dbe4ec;
  background: #fff;
  color: #475569;
  font-weight: 700;
  transition: all 0.2s ease;
}

.mail-template-tab:hover,
.mail-scope-pill:hover {
  border-color: #14b8a6;
  color: #0f766e;
}

.mail-template-tab.is-active,
.mail-scope-pill.is-active {
  border-color: #0f766e;
  background: #0f766e;
  color: #fff;
}

.mail-scope-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mail-channel-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: 0 24px 20px;
}

.mail-template-editor {
  min-height: 360px;
}

.mail-variable-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 24px;
}

.mail-variable-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfeff;
  border: 1px solid #bae6fd;
  color: #0f766e;
  font-weight: 700;
  font-size: 12px;
}

.mail-channel-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding: 0 24px 24px;
}

.mail-channel-panel {
  border: 1px solid #dbe4ec;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
  padding: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  align-self: start;
}

.mail-channel-panel__topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.mail-channel-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #2d6bee;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mail-channel-panel h4 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 20px;
  font-weight: 800;
}

.mail-channel-panel p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

.mail-channel-panel__snapshot {
  margin-top: 16px;
}

.mail-channel-panel__snapshot label {
  display: block;
  margin-bottom: 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mail-channel-panel__snapshot textarea[readonly] {
  min-height: 108px;
  resize: vertical;
  background: #f8fafc;
  color: #334155;
}

.mail-channel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.mail-channel-badge.is-live {
  background: #dcfce7;
  color: #166534;
}

.mail-channel-badge.is-muted {
  background: #e2e8f0;
  color: #475569;
}

.settings-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 24px 24px;
}

.settings-actions--compact {
  padding: 8px 0 0;
}

.settings-btn-primary {
  min-width: 132px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  border: 0;
  font-weight: 800;
}

.settings-btn-primary:hover,
.settings-btn-primary:focus {
  background: linear-gradient(135deg, #0d6660, #0f9d8d);
}

.settings-btn-secondary {
  min-width: 120px;
  border-radius: 14px;
  border: 1px solid #dbe4ec;
  background: #f8fafc;
  color: #64748b;
  font-weight: 700;
}

@media (max-width: 991px) {
  .admin-topbar-copy {
    display: none;
  }

  .admin-page-shell {
    padding: 20px 14px 28px;
  }

  .settings-page-header,
  .settings-card__header {
    flex-direction: column;
  }

  .settings-form-grid,
  .settings-form-grid--message,
  .mail-settings-grid,
  .notification-provider-grid,
  .maintenance-grid,
  .gateway-mode-grid {
    grid-template-columns: 1fr;
  }

  .mail-template-shell__toolbar,
  .mail-channel-switches,
  .maintenance-action {
    flex-direction: column;
  }

  .maintenance-action {
    grid-template-columns: 1fr;
  }

  .settings-pill-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .settings-pill-tabs__item {
    flex: 1;
  }

  .sms-provider-tabs {
    padding-top: 4px;
  }

  .settings-color-control {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .settings-color-control__picker {
    width: 52px;
    height: 48px;
  }

  .settings-banner-preview {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .settings-banner-preview__visual {
    min-height: 112px;
  }

  .settings-banner-preview h4 {
    font-size: 28px;
  }

  .settings-app-preview-shell {
    grid-template-columns: 1fr;
  }

  .settings-app-preview-phone {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
    min-height: 600px;
  }

  .settings-banner-preview--inside-app {
    grid-template-columns: minmax(0, 1fr);
  }

  .mail-preview-shell__footer,
  .settings-actions {
    flex-direction: column;
  }
}

/* Modern Admin Refresh */
body.admin-modern {
  --admin-sidebar-width: 290px;
  --admin-accent: #2D6BEE;
  --admin-accent-strong: #1f57c9;
  --admin-accent-soft: rgba(45, 107, 238, 0.14);
  --admin-accent-softer: rgba(45, 107, 238, 0.08);
  --admin-accent-secondary: #4285F4;
  --admin-success: #4CAF50;
  --admin-success-soft: rgba(76, 175, 80, 0.16);
  --admin-ink: #333333;
  --admin-muted: #64748b;
  --admin-border: #e5e7eb;
  --admin-surface: rgba(255, 255, 255, 0.84);
  --admin-surface-strong: #ffffff;
  --admin-sidebar-start: #111827;
  --admin-sidebar-end: #0f172a;
  --admin-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  background:
    radial-gradient(circle at top left, rgba(45, 107, 238, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(66, 133, 244, 0.1), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #f4f8fc 44%, #e8f0f7 100%);
  color: var(--admin-ink);
}

body.admin-modern,
body.admin-modern * {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

body.admin-modern .fa,
body.admin-modern .fas,
body.admin-modern .far,
body.admin-modern .fal,
body.admin-modern .fab,
body.admin-modern .glyphicon,
body.admin-modern .ion,
body.admin-modern .material-icons,
body.admin-modern [class^="icon-"],
body.admin-modern [class*=" icon-"] {
  font-family: inherit;
}

body.admin-modern .fa,
body.admin-modern .fas,
body.admin-modern .far,
body.admin-modern .fal,
body.admin-modern .fab {
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
}

body.admin-modern .fab {
  font-family: "Font Awesome 5 Brands", "Font Awesome 5 Free", "FontAwesome" !important;
}

body.admin-modern .glyphicon {
  font-family: "Glyphicons Halflings" !important;
}

body.admin-modern .ion {
  font-family: "Ionicons" !important;
}

body.admin-modern a {
  color: var(--admin-accent-strong);
  transition: color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body.admin-modern a:hover,
body.admin-modern a:focus {
  color: var(--admin-accent-strong);
  text-decoration: none;
}

body.admin-modern .wrapper {
  background: transparent;
}

body.admin-modern .admin-layout-shell {
  position: relative;
}

body.admin-modern .admin-layout-shell::before,
body.admin-modern .admin-layout-shell::after {
  content: "";
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(16px);
}

body.admin-modern .admin-layout-shell::before {
  top: 112px;
  right: 5%;
  width: 220px;
  height: 220px;
  background: rgba(45, 107, 238, 0.1);
}

body.admin-modern .admin-layout-shell::after {
  left: 20%;
  bottom: 10%;
  width: 280px;
  height: 280px;
  background: rgba(15, 23, 42, 0.05);
}

body.admin-modern .main-header,
body.admin-modern .main-sidebar,
body.admin-modern .content-wrapper,
body.admin-modern .main-footer {
  position: relative;
  z-index: 1;
}

body.admin-modern .main-header {
  position: fixed;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 1040;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

body.admin-modern .main-header.admin-header-hidden {
  transform: translateY(calc(-100% - 24px));
  opacity: 0;
}

body.admin-modern .main-header .logo {
  position: fixed;
  top: 18px;
  left: 18px;
  width: var(--admin-sidebar-width);
  height: 74px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94)) !important;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

body.admin-modern .main-header .logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(45, 107, 238, 0.24), transparent 60%);
  pointer-events: none;
}

body.admin-modern .main-header .logo .logo-lg,
body.admin-modern .main-header .logo .logo-mini {
  position: relative;
  z-index: 1;
  color: #fff !important;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.admin-modern .main-header .logo img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}

body.admin-modern .main-header .logo .admin-logo-image {
  display: block;
  width: auto;
  object-fit: contain;
  object-position: center;
}

body.admin-modern .main-header .logo .admin-logo-image--mini {
  max-width: 42px;
  max-height: 42px;
}

body.admin-modern .main-header .logo .admin-logo-image--full {
  max-width: min(100%, 180px);
  max-height: 52px;
}

body.admin-modern .main-header .navbar {
  height: 74px;
  margin-left: calc(var(--admin-sidebar-width) + 26px);
  padding: 0 18px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: var(--admin-surface) !important;
  backdrop-filter: blur(18px);
  box-shadow: var(--admin-shadow);
}

body.admin-modern .sidebar-toggle {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: var(--admin-ink) !important;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
}

body.admin-modern .sidebar-toggle i {
  font-size: 18px;
  line-height: 1;
}

body.admin-modern .sidebar-toggle:hover {
  background: var(--admin-accent-soft) !important;
  color: var(--admin-accent-strong) !important;
}

body.admin-modern .admin-topbar-copy {
  margin-left: 14px;
}

body.admin-modern .admin-topbar-copy__title {
  color: var(--admin-ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.admin-modern .admin-topbar-copy__subtitle {
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 600;
}

body.admin-modern .admin-topbar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  margin-right: 18px;
}

body.admin-modern .admin-topbar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--admin-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.admin-modern .admin-topbar-pill--subtle {
  background: var(--admin-accent-soft);
  border-color: rgba(45, 107, 238, 0.18);
  color: var(--admin-accent-strong);
}

body.admin-modern .navbar-custom-menu>.navbar-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.admin-modern .navbar-custom-menu>.navbar-nav>li>a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--admin-ink) !important;
  padding: 8px 10px;
}

body.admin-modern .admin-language-switch > a {
  gap: 8px;
  padding: 8px 12px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.22);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

body.admin-modern .admin-language-switch > a i:first-child {
  color: var(--admin-accent-strong);
}

body.admin-modern .admin-language-switch__caret {
  font-size: 10px;
  color: var(--admin-muted);
}

body.admin-modern .admin-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.22);
}

body.admin-modern .admin-user-chip__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--admin-accent), var(--admin-accent-secondary));
  color: #fff;
  font-weight: 800;
}

body.admin-modern .admin-user-chip__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--admin-ink);
}

body.admin-modern .navbar-nav>.user-menu>.dropdown-menu,
body.admin-modern .dropdown-menu {
  margin-top: 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  padding: 12px;
  overflow: hidden;
}

body.admin-modern .dropdown-menu>li>a {
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  color: var(--admin-ink);
}

body.admin-modern .dropdown-menu>li>a:hover {
  background: #edf4ff;
  color: var(--admin-accent-strong);
}

body.admin-modern .main-sidebar,
body.admin-modern .left-side {
  width: var(--admin-sidebar-width);
  position: fixed;
  top: 106px;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(15, 23, 42, 0.98)) !important;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.34);
  overflow: hidden;
}

body.admin-modern .sidebar {
  height: 100% !important;
  overflow-y: auto;
  padding-right: 4px;
}

body.admin-modern .sidebar::-webkit-scrollbar {
  width: 6px;
}

body.admin-modern .sidebar::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
}

body.admin-modern .admin-sidebar-brand {
  position: relative;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

body.admin-modern .admin-sidebar-brand::before {
  content: "";
  position: absolute;
  inset: auto -30px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(45, 107, 238, 0.18);
  filter: blur(8px);
}

body.admin-modern .admin-sidebar-brand__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(45, 107, 238, 0.14);
  color: #dbeafe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.admin-modern .admin-sidebar-brand__title {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.admin-modern .admin-sidebar-brand__meta {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  font-weight: 600;
}

body.admin-modern .admin-sidebar-section-label {
  margin: 2px 8px 12px;
  color: rgba(148, 163, 184, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.admin-modern .sidebar-menu {
  margin: 0;
  padding: 0;
}

body.admin-modern .sidebar-menu>li {
  margin-bottom: 8px;
}

body.admin-modern .sidebar-menu>li>a {
  position: relative;
  width: auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 16px 13px 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  color: rgba(248, 250, 252, 0.8) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}

body.admin-modern .sidebar-menu>li>a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 11px;
  bottom: 11px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--admin-accent-secondary), var(--admin-accent));
  opacity: 0;
  transition: opacity 0.18s ease;
}

body.admin-modern .sidebar-menu>li>a>i {
  width: 18px;
  text-align: center;
  color: rgba(96, 165, 250, 0.95);
}

body.admin-modern .sidebar-menu>li>a .pull-right-container {
  margin-left: auto;
}

body.admin-modern .sidebar-menu>li>a .fa-angle-left {
  transition: transform 0.18s ease;
}

body.admin-modern .sidebar-menu>li:hover>a,
body.admin-modern .sidebar-menu>li.menu-open>a {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.06);
  color: #fff !important;
}

body.admin-modern .sidebar-menu>li.active>a {
  background: linear-gradient(135deg, rgba(45, 107, 238, 0.26), rgba(21, 43, 92, 0.26)) !important;
  color: #fff !important;
  border-color: rgba(96, 165, 250, 0.32);
  box-shadow: inset 0 0 0 1px rgba(45, 107, 238, 0.2), 0 10px 30px rgba(15, 23, 42, 0.18);
}

body.admin-modern .sidebar-menu>li.active>a,
body.admin-modern .nav-stacked>li.active>a,
body.admin-modern .nav-stacked>li.active>a:hover {
  border-left-color: transparent !important;
}

body.admin-modern .sidebar-menu>li.active>a::before,
body.admin-modern .sidebar-menu>li.menu-open>a::before,
body.admin-modern .sidebar-menu>li:hover>a::before {
  opacity: 1;
}

body.admin-modern .sidebar-menu>li.menu-open>a .fa-angle-left {
  transform: rotate(-90deg);
}

body.admin-modern .treeview-menu {
  margin: 8px 4px 0 6px;
  padding: 10px 8px 10px 16px;
  border-radius: 20px;
  background: rgba(5, 10, 20, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

body.admin-modern .treeview-menu>li {
  margin-bottom: 4px;
}

body.admin-modern .treeview-menu>li>a {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 10px 14px 10px 16px;
  border-radius: 14px;
  border-left: 2px solid transparent;
  color: rgba(226, 232, 240, 0.72);
  font-size: 13px;
  font-weight: 600;
}

body.admin-modern .treeview-menu>li>a i {
  color: rgba(147, 197, 253, 0.9);
}

body.admin-modern .treeview-menu>li.active>a,
body.admin-modern .treeview-menu>li>a:hover {
  background: linear-gradient(90deg, rgba(45, 107, 238, 0.22), rgba(45, 107, 238, 0.06));
  border-left-color: var(--admin-accent-secondary);
  color: #fff;
}

body.admin-modern .content-wrapper,
body.admin-modern .main-footer {
  margin-left: calc(var(--admin-sidebar-width) + 26px);
  background: transparent !important;
}

body.admin-modern .content-wrapper {
  margin-top: 106px;
  min-height: calc(100vh - 144px) !important;
  padding: 0 18px 20px;
}

body.admin-modern .admin-page-shell {
  padding: 6px 4px 30px;
}

body.admin-modern .admin-page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 4px 4px 20px;
  padding: 24px 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background:
    radial-gradient(circle at top right, rgba(45, 107, 238, 0.14), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74));
  box-shadow: var(--admin-shadow);
}

body.admin-modern .admin-page-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.admin-modern .admin-page-intro__title {
  margin: 14px 0 8px;
  color: var(--admin-ink);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

body.admin-modern .admin-page-intro__subtitle {
  margin: 0;
  max-width: 680px;
  color: var(--admin-muted);
  font-size: 14px;
  line-height: 1.7;
}

body.admin-modern .admin-page-intro__meta {
  min-width: 180px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.18);
  text-align: right;
}

body.admin-modern .admin-page-intro__meta span {
  display: block;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

body.admin-modern .admin-page-intro__meta strong {
  display: block;
  margin-top: 8px;
  color: var(--admin-ink);
  font-size: 16px;
  font-weight: 800;
}

body.admin-modern .main-footer {
  margin-right: 18px;
  margin-bottom: 18px;
  padding: 20px 28px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.98));
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

body.admin-modern .main-footer a {
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.admin-modern .admin-footer-copy {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
  color: #0f172a;
}

body.admin-modern .admin-footer-copy strong {
  color: #0f172a;
}

body.admin-modern .admin-footer-copy--muted {
  margin-top: 6px;
  color: #1e293b;
}

body.admin-modern .alert {
  border: 0;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 16px 18px;
}

body.admin-modern .alert-success {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #047857;
}

body.admin-modern .alert-danger,
body.admin-modern .alert-error {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #b91c1c;
}

body.admin-modern .content .box,
body.admin-modern .content .panel,
body.admin-modern .settings-card,
body.admin-modern .nav-tabs-custom,
body.admin-modern .small-box,
body.admin-modern .modal-content {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--admin-shadow);
  overflow: hidden;
}

body.admin-modern .content .box,
body.admin-modern .content .panel {
  margin-bottom: 22px;
}

body.admin-modern .panel-heading,
body.admin-modern .box-header {
  padding: 22px 24px 14px;
  border: 0;
  background: transparent !important;
  color: var(--admin-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.admin-modern .panel-body,
body.admin-modern .box-body {
  padding: 0 24px 24px;
}

body.admin-modern .panel-footer,
body.admin-modern .box-footer,
body.admin-modern .settings-card__footer {
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  background: transparent;
}

body.admin-modern .box.box-info.box_info .panel-body,
body.admin-modern .settings-sidebar-card .panel-body {
  padding: 22px;
}

body.admin-modern .all_settings {
  margin: 0 0 18px;
  color: var(--admin-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.admin-modern .settings-sidebar-card {
  position: sticky;
  top: 126px;
}

body.admin-modern .settings-page-header {
  margin-bottom: 18px;
  padding: 24px 26px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--admin-shadow);
}

body.admin-modern .settings-page-header__eyebrow {
  background: var(--admin-accent-soft);
  color: var(--admin-accent-strong);
}

body.admin-modern .settings-page-header__title {
  color: var(--admin-ink);
}

body.admin-modern .settings-page-header__subtitle {
  color: var(--admin-muted);
}

body.admin-modern .nav-stacked>li+li {
  margin-top: 8px;
}

body.admin-modern .nav-tabs>li>a,
body.admin-modern .nav-pills>li>a,
body.admin-modern .nav-stacked>li>a {
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  color: var(--admin-muted);
  font-weight: 700;
  transition: all 0.18s ease;
}

body.admin-modern .nav-tabs>li>a:hover,
body.admin-modern .nav-pills>li>a:hover,
body.admin-modern .nav-stacked>li>a:hover,
body.admin-modern .nav-tabs>li>a:focus,
body.admin-modern .nav-pills>li>a:focus,
body.admin-modern .nav-stacked>li>a:focus {
  border-color: rgba(45, 107, 238, 0.24);
  background: #edf4ff;
  color: var(--admin-accent-strong);
}

body.admin-modern .nav-tabs>li.active>a,
body.admin-modern .nav-tabs>li.active>a:hover,
body.admin-modern .nav-tabs>li.active>a:focus,
body.admin-modern .nav-pills>li.active>a,
body.admin-modern .nav-pills>li.active>a:hover,
body.admin-modern .nav-pills>li.active>a:focus,
body.admin-modern .nav-stacked>li.active>a,
body.admin-modern .nav-stacked>li.active>a:hover,
body.admin-modern .nav-stacked>li.active>a:focus,
body.admin-modern .nav-stacked>li>a.active {
  background: linear-gradient(135deg, var(--admin-accent), var(--admin-accent-secondary));
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(45, 107, 238, 0.22);
}

body.admin-modern label,
body.admin-modern .control-label {
  margin-bottom: 10px;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.admin-modern .form-control {
  height: 48px;
  padding: 11px 14px;
  border-radius: 16px !important;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #f8fafc;
  color: var(--admin-ink);
  box-shadow: none;
}

body.admin-modern textarea.form-control {
  min-height: 140px;
  height: auto;
  padding-top: 14px;
  line-height: 1.6;
  resize: vertical;
}

body.admin-modern .form-control:focus {
  border-color: rgba(45, 107, 238, 0.34);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(45, 107, 238, 0.12);
}

body.admin-modern .input-group .form-control {
  border-right: 0;
}

body.admin-modern .input-group .input-group-addon {
  min-width: 48px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-left: 0;
  border-radius: 0 16px 16px 0 !important;
  background: #fff;
  color: var(--admin-muted);
}

body.admin-modern .select2-container {
  width: 100% !important;
}

body.admin-modern .select2-container--default .select2-selection--single,
body.admin-modern .select2-container--default .select2-selection--multiple {
  min-height: 48px;
  border-radius: 16px !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  background: #f8fafc !important;
  box-shadow: none;
}

body.admin-modern .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 26px;
  padding: 10px 14px;
  color: var(--admin-ink);
}

body.admin-modern .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 10px;
}

body.admin-modern .select2-container--default .select2-selection--multiple {
  padding: 7px 10px;
}

body.admin-modern .select2-container--default.select2-container--focus .select2-selection--multiple,
body.admin-modern .select2-container--default.select2-container--open .select2-selection--single {
  border-color: rgba(45, 107, 238, 0.34) !important;
  box-shadow: 0 0 0 4px rgba(45, 107, 238, 0.12);
  background: #fff !important;
}

body.admin-modern .select2-dropdown {
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

body.admin-modern .select2-search--dropdown .select2-search__field {
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.9);
}

body.admin-modern .btn {
  min-height: 42px;
  border-radius: 14px !important;
  border: 0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.admin-modern .btn:hover,
body.admin-modern .btn:focus {
  transform: translateY(-1px);
}

body.admin-modern .btn-primary,
body.admin-modern .btn-success {
  background: linear-gradient(135deg, var(--admin-accent), var(--admin-accent-secondary)) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(45, 107, 238, 0.18);
}

body.admin-modern .btn-primary:hover,
body.admin-modern .btn-success:hover,
body.admin-modern .btn-primary:focus,
body.admin-modern .btn-success:focus {
  background: linear-gradient(135deg, var(--admin-accent-strong), var(--admin-accent)) !important;
}

body.admin-modern .btn-info,
body.admin-modern .btn-default,
body.admin-modern .btn-inactive {
  background: #fff !important;
  border: 1px solid rgba(203, 213, 225, 0.84) !important;
  color: var(--admin-ink) !important;
  box-shadow: none;
}

body.admin-modern .btn-info:hover,
body.admin-modern .btn-default:hover,
body.admin-modern .btn-inactive:hover {
  border-color: rgba(45, 107, 238, 0.22) !important;
  background: #edf4ff !important;
  color: var(--admin-accent-strong) !important;
}

body.admin-modern .btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(239, 68, 68, 0.18);
}

body.admin-modern .btn-warning {
  background: linear-gradient(135deg, #f59e0b, #f97316) !important;
  color: #fff !important;
}

body.admin-modern .btn-xs {
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 12px !important;
  font-size: 12px;
}

body.admin-modern .btn .badge,
body.admin-modern .badge {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 800;
}

body.admin-modern .btn-primary .badge,
body.admin-modern .btn-success .badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

body.admin-modern .btn-inactive .badge,
body.admin-modern .btn-default .badge,
body.admin-modern .badge-light {
  background: rgba(15, 23, 42, 0.08);
  color: var(--admin-ink);
}

body.admin-modern .label,
body.admin-modern .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  border: 0;
}

body.admin-modern .label-info,
body.admin-modern .badge-info {
  background: rgba(59, 130, 246, 0.12) !important;
  color: #1d4ed8 !important;
}

body.admin-modern .badge-primary,
body.admin-modern .live-badge.badge-primary {
  background: rgba(45, 107, 238, 0.14) !important;
  color: var(--admin-accent-strong) !important;
}

body.admin-modern .badge-success,
body.admin-modern .live-badge.badge-success {
  background: rgba(16, 185, 129, 0.12) !important;
  color: #047857 !important;
}

body.admin-modern .badge-warning,
body.admin-modern .live-badge.badge-warning {
  background: rgba(245, 158, 11, 0.14) !important;
  color: #b45309 !important;
}

body.admin-modern .badge-danger,
body.admin-modern .live-badge.badge-danger {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #b91c1c !important;
}

body.admin-modern .table-responsive {
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
}

body.admin-modern .table {
  margin-bottom: 0;
}

body.admin-modern .table>thead>tr>th {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  border-top: 0;
  padding: 16px 18px;
  background: #f8fafc;
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

body.admin-modern .table>tbody>tr>td {
  padding: 16px 18px;
  border-top: 1px solid #eef2f7;
  color: var(--admin-ink);
  vertical-align: middle;
}

body.admin-modern .table-hover>tbody>tr:hover,
body.admin-modern .table>tbody>tr:hover {
  background: #f5f9ff;
}

body.admin-modern .img-circle {
  width: 38px;
  height: 38px;
  margin-right: 10px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

body.admin-modern .item-image-size {
  width: 72px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

body.admin-modern .datatable,
body.admin-modern .ajaxTable {
  width: 100% !important;
}

body.admin-modern .dataTables_wrapper .dataTables_length,
body.admin-modern .dataTables_wrapper .dataTables_filter,
body.admin-modern .dataTables_wrapper .dt-buttons {
  margin-bottom: 18px;
}

body.admin-modern .dataTables_wrapper .dataTables_length label,
body.admin-modern .dataTables_wrapper .dataTables_filter label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: none;
  letter-spacing: normal;
}

body.admin-modern .dataTables_wrapper .dataTables_filter input,
body.admin-modern .dataTables_wrapper .dataTables_length select {
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff;
  padding: 8px 12px;
  color: var(--admin-ink);
}

body.admin-modern .dataTables_wrapper .dt-buttons .btn {
  margin-left: 8px;
}

body.admin-modern .dataTables_wrapper .dataTables_info {
  color: var(--admin-muted);
  padding-top: 18px;
}

body.admin-modern .pagination>li>a,
body.admin-modern .pagination>li>span {
  margin: 0 4px;
  min-width: 40px;
  height: 40px;
  border-radius: 14px !important;
  border: 1px solid rgba(203, 213, 225, 0.82);
  background: #fff;
  color: var(--admin-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

body.admin-modern .pagination>.active>a,
body.admin-modern .pagination>.active>a:focus,
body.admin-modern .pagination>.active>a:hover,
body.admin-modern .pagination>.active>span,
body.admin-modern .pagination>.active>span:focus,
body.admin-modern .pagination>.active>span:hover {
  background: linear-gradient(135deg, var(--admin-accent), var(--admin-accent-secondary));
  border-color: transparent;
  color: #fff;
}

body.admin-modern .pagination>.disabled>span,
body.admin-modern .pagination>.disabled>a {
  opacity: 0.55;
  background: #fff;
}

body.admin-modern .status-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  width: auto;
  gap: 12px;
}

body.admin-modern .status-toggle.d-flex,
body.admin-modern td .status-toggle,
body.admin-modern .table .status-toggle {
  display: inline-flex !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 56px;
}

body.admin-modern .check {
  display: none;
}

body.admin-modern .checktoggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 56px;
  height: 30px;
  flex: 0 0 56px;
  border-radius: 999px;
  background: #d7e2f1;
  border: 1px solid rgba(148, 163, 184, 0.26);
  text-indent: -9999px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.18s ease;
}

body.admin-modern .checktoggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.9);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
  transform: translateY(-50%);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.admin-modern .check:checked+.checktoggle {
  background: linear-gradient(135deg, var(--admin-success), #6ccf71);
  border-color: rgba(76, 175, 80, 0.22);
  box-shadow: 0 10px 20px rgba(76, 175, 80, 0.2);
}

body.admin-modern .check:checked+.checktoggle::after {
  left: 3px;
  transform: translate(28px, -50%);
}

body.admin-modern .daterangepicker {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}

body.admin-modern .daterangepicker .calendar-table {
  border: 0;
  background: transparent;
}

body.admin-modern .daterangepicker td.active,
body.admin-modern .daterangepicker td.active:hover,
body.admin-modern .daterangepicker .ranges li.active {
  background: linear-gradient(135deg, var(--admin-accent), var(--admin-accent-secondary));
}

body.admin-modern .swal2-popup {
  border-radius: 28px;
}

body.admin-modern .toast {
  border-radius: 18px !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14) !important;
}

@media (min-width: 768px) {
  body.admin-modern.sidebar-collapse .main-header .logo,
  body.admin-modern.sidebar-mini.sidebar-collapse .main-header .logo {
    transform: translateX(-340px);
  }

  body.admin-modern.sidebar-collapse .main-sidebar,
  body.admin-modern.sidebar-mini.sidebar-collapse .main-sidebar {
    transform: translateX(-340px);
  }

  body.admin-modern.sidebar-collapse .main-header .navbar,
  body.admin-modern.sidebar-collapse .content-wrapper,
  body.admin-modern.sidebar-collapse .main-footer,
  body.admin-modern.sidebar-mini.sidebar-collapse .main-header .navbar,
  body.admin-modern.sidebar-mini.sidebar-collapse .content-wrapper,
  body.admin-modern.sidebar-mini.sidebar-collapse .main-footer {
    margin-left: 0;
  }
}

@media (max-width: 1199px) {
  body.admin-modern .admin-page-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  body.admin-modern .admin-page-intro__meta {
    text-align: left;
  }
}

@media (max-width: 991px) {
  body.admin-modern .main-header .navbar {
    padding-right: 12px;
  }

  body.admin-modern .admin-page-intro__title {
    font-size: 28px;
  }

  body.admin-modern .settings-sidebar-card {
    position: static;
  }
}

@media (max-width: 767px) {
  body.admin-modern {
    padding-top: 76px;
  }

  body.admin-modern .main-header {
    top: 0;
    left: 0;
    right: 0;
  }

  body.admin-modern .main-header .logo {
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    border-radius: 0;
  }

  body.admin-modern .main-header .navbar {
    margin-left: 0;
    height: 76px;
    border-radius: 0;
    padding-left: 14px;
    padding-right: 14px;
  }

  body.admin-modern .main-sidebar,
  body.admin-modern .left-side {
    top: 92px;
    left: 12px;
    bottom: 12px;
    width: auto;
    right: 12px;
    transform: translateX(-112%);
  }

  body.admin-modern.sidebar-open .main-sidebar,
  body.admin-modern.sidebar-open .left-side {
    transform: translateX(0);
  }

  body.admin-modern .content-wrapper,
  body.admin-modern .main-footer {
    margin-left: 0;
    margin-right: 0;
  }

  body.admin-modern .content-wrapper {
    margin-top: 12px;
    padding: 0 12px 18px;
  }

  body.admin-modern .main-footer {
    margin: 0 12px 12px;
  }

  body.admin-modern .admin-page-shell {
    padding: 4px 0 18px;
  }

  body.admin-modern .admin-page-intro {
    margin: 0 0 16px;
    padding: 20px;
  }

  body.admin-modern .admin-page-intro__title {
    font-size: 26px;
  }

  body.admin-modern .panel-heading,
  body.admin-modern .box-header {
    padding: 20px 18px 12px;
  }

  body.admin-modern .panel-body,
  body.admin-modern .box-body {
    padding: 0 18px 18px;
  }

  body.admin-modern .panel-footer,
  body.admin-modern .box-footer,
  body.admin-modern .settings-card__footer {
    padding: 16px 18px 18px;
  }

  body.admin-modern .table>thead>tr>th,
  body.admin-modern .table>tbody>tr>td {
    padding: 14px 12px;
  }
}

body.admin-modern .admin-screen {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.admin-modern .admin-screen-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8));
  box-shadow: var(--admin-shadow);
}

body.admin-modern .admin-screen-header__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.admin-modern .admin-screen-header__title {
  margin: 14px 0 8px;
  color: var(--admin-ink);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

body.admin-modern .admin-screen-header__subtitle {
  margin: 0;
  max-width: 760px;
  color: var(--admin-muted);
  font-size: 14px;
  line-height: 1.7;
}

body.admin-modern .admin-screen-header__pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.72);
  background: rgba(255, 255, 255, 0.78);
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

body.admin-modern .admin-screen-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.admin-modern .admin-screen-header__meta {
  min-width: 140px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(203, 213, 225, 0.7);
  background: rgba(255, 255, 255, 0.78);
  text-align: right;
}

body.admin-modern .admin-screen-header__meta span {
  display: block;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.admin-modern .admin-screen-header__meta strong {
  display: block;
  margin-top: 8px;
  color: var(--admin-ink);
  font-size: 18px;
  font-weight: 800;
}

body.admin-modern .admin-surface {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--admin-shadow);
}

body.admin-modern .admin-filter-shell {
  padding: 24px 24px 10px;
}

body.admin-modern .admin-filter-shell__header,
body.admin-modern .admin-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

body.admin-modern .admin-filter-shell__header h3,
body.admin-modern .admin-panel-header h3 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.admin-modern .admin-filter-shell__header p,
body.admin-modern .admin-panel-header p {
  margin: 6px 0 0;
  color: var(--admin-muted);
  font-size: 13px;
  line-height: 1.6;
}

body.admin-modern .admin-filter-grid .row>[class*="col-"] {
  margin-bottom: 14px;
}

body.admin-modern .admin-filter-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-height: 100%;
  padding-top: 28px;
  flex-wrap: wrap;
}

body.admin-modern .admin-filter-actions .btn {
  min-width: 120px;
}

body.admin-modern .admin-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.admin-modern .admin-chip-row .btn {
  min-height: 40px;
}

body.admin-modern .admin-data-card .panel-heading {
  padding-bottom: 8px;
}

body.admin-modern .admin-data-card .panel-body {
  padding-top: 0;
}

body.admin-modern .admin-detail-table th {
  width: 240px;
}

body.admin-modern .admin-detail-table td {
  word-break: break-word;
}

body.admin-modern .admin-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.admin-modern .admin-media-thumb {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

body.admin-modern .admin-inline-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(203, 213, 225, 0.7);
  color: var(--admin-muted);
  font-size: 12px;
  font-weight: 700;
}

body.admin-modern .admin-inline-stat strong {
  color: var(--admin-ink);
  font-size: 14px;
  font-weight: 800;
}

body.admin-modern .admin-persona {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.admin-modern .admin-persona__avatar {
  flex: 0 0 auto;
}

body.admin-modern .admin-persona__meta {
  min-width: 0;
}

body.admin-modern .admin-persona__meta strong {
  display: block;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 800;
}

body.admin-modern .admin-persona__meta span {
  display: block;
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 12px;
}

body.admin-modern .admin-list-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.admin-modern .admin-list-stack strong {
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 700;
}

body.admin-modern .admin-list-stack span {
  color: var(--admin-muted);
  font-size: 12px;
  line-height: 1.5;
}

body.admin-modern .admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body.admin-modern .admin-empty-state {
  padding: 28px;
  text-align: center;
  color: var(--admin-muted);
}

body.admin-modern .wizard-step-copy {
  margin-bottom: 20px;
}

body.admin-modern .wizard-step-copy__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--admin-accent-soft);
  color: var(--admin-accent-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.admin-modern .wizard-step-copy h3 {
  margin: 14px 0 8px;
  color: var(--admin-ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

body.admin-modern .wizard-step-copy p {
  margin: 0;
  max-width: 760px;
  color: var(--admin-muted);
  font-size: 14px;
  line-height: 1.7;
}

body.admin-modern .wizard-form-grid .row>[class*="col-"] {
  margin-bottom: 16px;
}

body.admin-modern .wizard-upload-stack {
  display: grid;
  gap: 18px;
}

body.admin-modern .wizard-upload-card,
body.admin-modern .wizard-checklist-card,
body.admin-modern .wizard-map-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f8fafc;
}

body.admin-modern .wizard-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.admin-modern .wizard-check-option,
body.admin-modern .wizard-rule-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
}

body.admin-modern .wizard-rule-list {
  display: grid;
  gap: 10px;
}

body.admin-modern .wizard-check-option input,
body.admin-modern .wizard-rule-option input {
  margin-top: 2px;
}

body.admin-modern .wizard-check-option label,
body.admin-modern .wizard-rule-option label {
  margin: 0;
  color: var(--admin-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

body.admin-modern .wizard-policy-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.admin-modern .wizard-policy-list li {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  color: var(--admin-ink);
}

body.admin-modern .wizard-checklist-card h4,
body.admin-modern .wizard-upload-card h4,
body.admin-modern .wizard-map-card h4 {
  margin: 0 0 6px;
  color: var(--admin-ink);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.admin-modern .wizard-checklist-card p,
body.admin-modern .wizard-upload-card p,
body.admin-modern .wizard-map-card p {
  margin: 0 0 16px;
  color: var(--admin-muted);
  font-size: 13px;
  line-height: 1.7;
}

body.admin-modern .wizard-inline-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
}

body.admin-modern .wizard-inline-choice label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

body.admin-modern .wizard-inline-choice input {
  margin: 0;
}

body.admin-modern .wizard-price-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f8fafc;
}

body.admin-modern .wizard-price-card + .wizard-price-card {
  margin-top: 16px;
}

body.admin-modern .wizard-price-card .input-group,
body.admin-modern .wizard-price-card .input-addon {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.admin-modern .wizard-price-card .input-prefix {
  min-width: 54px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.9);
  color: var(--admin-ink);
  font-weight: 800;
}

body.admin-modern .wizard-price-card .money-input,
body.admin-modern .wizard-price-card select {
  min-height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff;
}

body.admin-modern .wizard-option-stack {
  display: grid;
  gap: 12px;
}

body.admin-modern .wizard-toggle-grid {
  display: grid;
  gap: 14px;
}

body.admin-modern .wizard-map-note {
  margin: 14px 0 0;
  color: var(--admin-muted);
  font-size: 13px;
  line-height: 1.7;
}

body.admin-modern .wizard-calendar-shell {
  display: grid;
  gap: 18px;
}

body.admin-modern .wizard-calendar-shell .table-responsive {
  margin-bottom: 0;
}

body.admin-modern .wizard-modal-note {
  margin: 0 0 14px;
  color: var(--admin-muted);
  font-size: 13px;
  line-height: 1.7;
}

body.admin-modern .wizard-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

body.admin-modern .wizard-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  margin-bottom: 18px;
}

body.admin-modern .wizard-calendar-toolbar__nav {
  display: flex;
  gap: 10px;
}

body.admin-modern .wizard-calendar-toolbar select {
  min-width: 220px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff;
  padding: 0 14px;
  color: var(--admin-ink);
  font-weight: 700;
}

body.admin-modern .wizard-calendar-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff7ed;
  border: 1px solid rgba(249, 115, 22, 0.18);
  color: #9a3412;
  font-weight: 700;
}

@media (max-width: 991px) {
  body.admin-modern .admin-screen-header,
  body.admin-modern .admin-filter-shell__header,
  body.admin-modern .admin-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  body.admin-modern .admin-screen-header__meta {
    text-align: left;
  }

  body.admin-modern .wizard-checklist-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.admin-modern .admin-screen-header,
  body.admin-modern .admin-filter-shell {
    padding: 20px;
  }

  body.admin-modern .admin-screen-header__title {
    font-size: 24px;
  }

  body.admin-modern .admin-filter-actions {
    padding-top: 0;
  }

  body.admin-modern .wizard-action-row,
  body.admin-modern .wizard-calendar-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  body.admin-modern .wizard-price-card .input-group,
  body.admin-modern .wizard-price-card .input-addon,
  body.admin-modern .wizard-inline-choice {
    align-items: stretch;
  }
}

body.admin-modern .admin-page-shell .content {
  display: grid;
  gap: 24px;
}

body.admin-modern .admin-page-shell .content > .row {
  margin-left: -10px;
  margin-right: -10px;
}

body.admin-modern .admin-page-shell .content > .row > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
}

body.admin-modern .admin-page-shell .content .btn.btn-success {
  min-height: 44px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 18px 36px rgba(20, 184, 166, 0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0 18px;
}

body.admin-modern .admin-page-shell .content .btn.btn-success:hover,
body.admin-modern .admin-page-shell .content .btn.btn-success:focus {
  background: linear-gradient(135deg, #0b5f59, #0f766e);
  color: #fff;
}

body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card),
body.admin-modern .admin-page-shell .content .panel.panel-default:not(.admin-data-card) {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-bottom: 0;
}

body.admin-modern .admin-page-shell .content .panel.panel-default + .panel.panel-default,
body.admin-modern .admin-page-shell .content .box + .panel.panel-default,
body.admin-modern .admin-page-shell .content .panel.panel-default + .box {
  margin-top: 24px;
}

body.admin-modern .admin-page-shell .content .panel.panel-default:not(.admin-data-card) > .panel-heading,
body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card) > .panel-heading,
body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card) > .box-header {
  padding: 24px 26px 0;
  border: 0;
  background: transparent;
  color: var(--admin-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

body.admin-modern .admin-page-shell .content .panel.panel-default:not(.admin-data-card) > .panel-body,
body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card) > .panel-body,
body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card) > .box-body {
  padding: 24px 26px 26px;
  background: transparent;
}

body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card) > .box-body > form.form-horizontal {
  display: grid;
  gap: 18px;
}

body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card) > .box-body > form.form-horizontal .row,
body.admin-modern .admin-page-shell .content .panel.panel-default:not(.admin-data-card) form .row {
  margin-left: -8px;
  margin-right: -8px;
}

body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card) > .box-body > form.form-horizontal .row > [class*="col-"],
body.admin-modern .admin-page-shell .content .panel.panel-default:not(.admin-data-card) form .row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

body.admin-modern .admin-page-shell .content .form-group {
  margin-bottom: 18px;
}

body.admin-modern .admin-page-shell .content .form-group:last-child {
  margin-bottom: 0;
}

body.admin-modern .admin-page-shell .content .form-group label,
body.admin-modern .admin-page-shell .content .form-group .label-large {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  color: var(--admin-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.admin-modern .admin-page-shell .content .form-group .required::after {
  content: "";
}

body.admin-modern .admin-page-shell .content .form-control,
body.admin-modern .admin-page-shell .content select.form-control,
body.admin-modern .admin-page-shell .content textarea.form-control,
body.admin-modern .admin-page-shell .content input.form-control {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  background: #fff;
  box-shadow: none;
  color: var(--admin-ink);
  font-size: 14px;
  padding: 12px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.admin-modern .admin-page-shell .content textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

body.admin-modern .admin-page-shell .content .form-control:focus,
body.admin-modern .admin-page-shell .content select.form-control:focus,
body.admin-modern .admin-page-shell .content textarea.form-control:focus,
body.admin-modern .admin-page-shell .content input.form-control:focus {
  border-color: rgba(20, 184, 166, 0.65);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

body.admin-modern .admin-page-shell .content .input-group .form-control {
  border-radius: 16px 0 0 16px;
}

body.admin-modern .admin-page-shell .content .input-group-addon {
  border-radius: 0 16px 16px 0;
  border-color: rgba(203, 213, 225, 0.92);
  background: #f8fafc;
  color: var(--admin-muted);
}

body.admin-modern .admin-page-shell .content .help-block {
  margin: 8px 0 0;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
}

body.admin-modern .admin-page-shell .content .has-error .form-control,
body.admin-modern .admin-page-shell .content .has-error select.form-control,
body.admin-modern .admin-page-shell .content .has-error textarea.form-control {
  border-color: rgba(220, 38, 38, 0.42);
}

body.admin-modern .admin-page-shell .content .btn.btn-danger,
body.admin-modern .admin-page-shell .content .btn.btn-primary,
body.admin-modern .admin-page-shell .content .btn.btn-info,
body.admin-modern .admin-page-shell .content .btn.btn-default {
  border-radius: 15px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  min-height: 42px;
  padding: 10px 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.admin-modern .admin-page-shell .content .btn.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 16px 30px rgba(239, 68, 68, 0.16);
}

body.admin-modern .admin-page-shell .content .btn.btn-primary {
  background: linear-gradient(135deg, var(--admin-accent), var(--admin-accent-secondary));
  color: #fff;
  box-shadow: 0 16px 30px rgba(45, 107, 238, 0.16);
}

body.admin-modern .admin-page-shell .content .btn.btn-info {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #fff;
  box-shadow: 0 16px 30px rgba(14, 165, 233, 0.16);
}

body.admin-modern .admin-page-shell .content .btn.btn-default {
  background: #fff;
  border-color: rgba(203, 213, 225, 0.92);
  color: var(--admin-ink);
}

body.admin-modern .admin-page-shell .content .btn.btn-danger:hover,
body.admin-modern .admin-page-shell .content .btn.btn-primary:hover,
body.admin-modern .admin-page-shell .content .btn.btn-info:hover,
body.admin-modern .admin-page-shell .content .btn.btn-default:hover {
  transform: translateY(-1px);
}

body.admin-modern .admin-page-shell .content .btn.btn-xs {
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

body.admin-modern .admin-page-shell .content .table-responsive {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

body.admin-modern .admin-page-shell .content .panel-body > .table,
body.admin-modern .admin-page-shell .content .box-body > .table {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 20px;
  overflow: hidden;
}

body.admin-modern .admin-page-shell .content .table {
  margin-bottom: 0;
}

body.admin-modern .admin-page-shell .content .table > thead > tr > th {
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  border-top: 0;
  background: #f8fafc;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 18px;
}

body.admin-modern .admin-page-shell .content .table > tbody > tr > td,
body.admin-modern .admin-page-shell .content .table > tbody > tr > th {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  color: var(--admin-ink);
  font-size: 14px;
  padding: 16px 18px;
  vertical-align: middle;
}

body.admin-modern .admin-page-shell .content .table > tbody > tr:hover {
  background: rgba(248, 250, 252, 0.9);
}

body.admin-modern .admin-page-shell .content .table img {
  border-radius: 12px;
}

body.admin-modern .admin-page-shell .content hr {
  border-top-color: rgba(226, 232, 240, 0.92);
  margin: 24px 0;
}

body.admin-modern .admin-page-shell .content .dataTables_wrapper .dataTables_length,
body.admin-modern .admin-page-shell .content .dataTables_wrapper .dataTables_filter {
  margin-bottom: 14px;
}

body.admin-modern .admin-page-shell .content .dataTables_wrapper .dt-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

body.admin-modern .admin-page-shell .content .dataTables_wrapper .dt-buttons .btn {
  min-height: 40px;
  border-radius: 14px;
  padding: 9px 14px;
}

body.admin-modern .admin-page-shell .content .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 12px !important;
  margin-left: 6px;
  border: 1px solid rgba(203, 213, 225, 0.92) !important;
  background: #fff !important;
  color: var(--admin-ink) !important;
}

body.admin-modern .admin-page-shell .content .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.admin-modern .admin-page-shell .content .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: linear-gradient(135deg, #0f172a, #1e293b) !important;
  border-color: transparent !important;
  color: #fff !important;
}

body.admin-modern .admin-page-shell .content .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 26px;
  border-bottom: 0;
  margin: 0;
}

body.admin-modern .admin-page-shell .content .nav-tabs > li {
  float: none;
  margin: 0;
}

body.admin-modern .admin-page-shell .content .nav-tabs > li > a {
  margin: 0;
  border: 1px solid rgba(203, 213, 225, 0.92);
  border-radius: 999px;
  background: #fff;
  color: var(--admin-muted);
  font-weight: 700;
  padding: 10px 16px;
}

body.admin-modern .admin-page-shell .content .nav-tabs > li.active > a,
body.admin-modern .admin-page-shell .content .nav-tabs > li.active > a:focus,
body.admin-modern .admin-page-shell .content .nav-tabs > li.active > a:hover,
body.admin-modern .admin-page-shell .content .nav-tabs > li > a:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
}

body.admin-modern .admin-page-shell .content .tab-content {
  padding: 20px 26px 26px;
}

body.admin-modern .admin-page-shell .content .dropzone {
  min-height: 180px;
  border: 1px dashed rgba(20, 184, 166, 0.42);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.8), rgba(255, 255, 255, 0.94));
}

body.admin-modern .admin-page-shell .content .dropzone .dz-message {
  margin: 3em 0;
  color: var(--admin-muted);
  font-weight: 700;
}

body.admin-modern .admin-page-shell .content .select2-container {
  width: 100% !important;
}

body.admin-modern .admin-page-shell .content .select2-container--default .select2-selection--single,
body.admin-modern .admin-page-shell .content .select2-container--default .select2-selection--multiple {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  background: #fff;
  padding: 8px 12px;
}

body.admin-modern .admin-page-shell .content .select2-container--default .select2-selection--single .select2-selection__rendered,
body.admin-modern .admin-page-shell .content .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  color: var(--admin-ink);
  line-height: 30px;
  padding-left: 0;
}

body.admin-modern .admin-page-shell .content .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
  right: 12px;
}

body.admin-modern .admin-page-shell .content .status-toggle {
  min-width: 94px;
}

body.admin-modern .admin-page-shell .content .status-toggle .checktoggle {
  margin: 0;
}

body.admin-modern .admin-page-shell .content .pagination > li > a,
body.admin-modern .admin-page-shell .content .pagination > li > span {
  border-radius: 12px !important;
  margin: 0 3px;
  border-color: rgba(203, 213, 225, 0.92);
  color: var(--admin-ink);
}

body.admin-modern .admin-page-shell .content .pagination > .active > a,
body.admin-modern .admin-page-shell .content .pagination > .active > span,
body.admin-modern .admin-page-shell .content .pagination > .active > a:hover,
body.admin-modern .admin-page-shell .content .pagination > .active > span:hover,
body.admin-modern .admin-page-shell .content .pagination > .active > a:focus,
body.admin-modern .admin-page-shell .content .pagination > .active > span:focus {
  background: linear-gradient(135deg, var(--admin-accent), var(--admin-accent-secondary));
  border-color: transparent;
  color: #fff;
}

@media (max-width: 991px) {
  body.admin-modern .admin-page-shell .content .panel.panel-default:not(.admin-data-card) > .panel-heading,
  body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card) > .panel-heading,
  body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card) > .box-header,
  body.admin-modern .admin-page-shell .content .panel.panel-default:not(.admin-data-card) > .panel-body,
  body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card) > .panel-body,
  body.admin-modern .admin-page-shell .content .box:not(.box_info):not(.admin-shell-card) > .box-body,
  body.admin-modern .admin-page-shell .content .nav-tabs,
  body.admin-modern .admin-page-shell .content .tab-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 767px) {
  body.admin-modern .admin-page-shell .content {
    gap: 18px;
  }

  body.admin-modern .admin-page-shell .content .btn.btn-success,
  body.admin-modern .admin-page-shell .content .btn.btn-danger,
  body.admin-modern .admin-page-shell .content .btn.btn-primary,
  body.admin-modern .admin-page-shell .content .btn.btn-info,
  body.admin-modern .admin-page-shell .content .btn.btn-default {
    width: 100%;
    justify-content: center;
  }

  body.admin-modern .admin-page-shell .content .btn.btn-xs {
    width: 36px;
  }

  body.admin-modern .admin-page-shell .content .table > thead > tr > th,
  body.admin-modern .admin-page-shell .content .table > tbody > tr > td,
  body.admin-modern .admin-page-shell .content .table > tbody > tr > th {
    padding: 14px 12px;
  }
}
