: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: 40%;
  margin-bottom: 40px;

  border-radius: 50%;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.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: #e6b30f !important
}

.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;
}

html, body {
    direction: rtl;
}
.main-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
}
.content-wrapper, .main-footer {
    -webkit-transition: -webkit-transform .3s 
ease-in-out, margin .3s 
ease-in-out;
    -moz-transition: -moz-transform .3s ease-in-out,margin .3s ease-in-out;
    -o-transition: -o-transform .3s ease-in-out,margin .3s ease-in-out;
    transition: transform .3s 
ease-in-out, margin .3s 
ease-in-out;
    margin-right: 230px;
    margin-left: 0;
    z-index: 820;
}
h4.all_settings.f-18.mt-1 {
    margin-right: 15px;
    margin-left: 0 !important;
}
.nav {
    padding-right: 0;
}
@media (min-width: 768px) {
    .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9
 {
        float: right;
    }
}





