@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
     tab-size: 4;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #111827;
  background-color: #F5F7FA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

hr {
  height: 0;
  color: inherit;
  border: 0;
  border-top: 1px solid #E5E7EB;
  margin: 2rem 0;
}

ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 2.5rem;
}

ul ul,
ul ol,
ol ul,
ol ol {
  margin-bottom: 0;
}

a {
  color: #1E90FF;
  text-decoration: none;
  background-color: transparent;
}
a:hover {
  color: #1873CC;
  text-decoration: underline;
}

abbr[title] {
  border-bottom: none;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b,
strong {
  font-weight: 700;
}

code,
kbd,
samp,
pre {
  font-family: "Fira Code", "Courier New", monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  max-width: 100%;
  height: auto;
  border-style: none;
  vertical-align: middle;
}

svg {
  vertical-align: middle;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #adb5bd;
  opacity: 1;
}

input::placeholder,
textarea::placeholder {
  color: #adb5bd;
  opacity: 1;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: table;
  max-width: 100%;
  padding: 0;
  color: inherit;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

summary {
  display: list-item;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

[disabled],
:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

:focus {
  outline: 2px solid #1E90FF;
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid #1E90FF;
  outline-offset: 2px;
}

::-moz-selection {
  background-color: rgba(30, 144, 255, 0.2);
  color: inherit;
}

::selection {
  background-color: rgba(30, 144, 255, 0.2);
  color: inherit;
}

h1, .h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 1rem;
}

h2, .h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 1rem;
}

h3, .h3 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  color: #111827;
  margin-bottom: 0.75rem;
}

h4, .h4 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  color: #111827;
  margin-bottom: 0.75rem;
}

h5, .h5 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  color: #111827;
  margin-bottom: 0.5rem;
}

h6, .h6 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: #111827;
  margin-bottom: 0.5rem;
}

.display-1 {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.1;
}

.display-2 {
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.display-3 {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.display-4 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.lead {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.75;
  color: #111827;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1.5;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 1.25;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 1.25;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.not-italic {
  font-style: normal;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

.normal-case {
  text-transform: none;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-justify {
  text-align: justify;
}

.text-primary {
  color: #1E90FF !important;
}

.text-secondary {
  color: #6c757d !important;
}

.text-success {
  color: #22C55E !important;
}

.text-danger {
  color: #EF4444 !important;
}

.text-warning {
  color: #F59E0B !important;
}

.text-info {
  color: #38BDF8 !important;
}

.text-light {
  color: #f8f9fa !important;
}

.text-dark {
  color: #343a40 !important;
}

.text-muted {
  color: #6B7280 !important;
}

.text-white {
  color: #ffffff !important;
}

.text-black {
  color: #000000 !important;
}

.underline {
  text-decoration: underline;
}

.line-through {
  text-decoration: line-through;
}

.no-underline {
  text-decoration: none;
}

.text-wrap {
  white-space: normal;
}

.text-nowrap {
  white-space: nowrap;
}

.text-pre {
  white-space: pre;
}

.text-pre-line {
  white-space: pre-line;
}

.text-pre-wrap {
  white-space: pre-wrap;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-clip {
  overflow: hidden;
  text-overflow: clip;
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.leading-normal {
  line-height: 1.5;
}

.leading-relaxed {
  line-height: 1.75;
}

.leading-loose {
  line-height: 2;
}

.tracking-tighter {
  letter-spacing: -0.05em;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-normal {
  letter-spacing: 0;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-inline {
  padding-left: 0;
  list-style: none;
}
.list-inline li {
  display: inline-block;
  margin-right: 0.5rem;
}
.list-inline li:last-child {
  margin-right: 0;
}

blockquote {
  padding: 1rem 2rem;
  margin: 0 0 1rem;
  border-left: 4px solid #E5E7EB;
  background-color: #f9fafb;
  font-size: 1.125rem;
  font-style: italic;
  color: #6B7280;
}
blockquote p:last-child {
  margin-bottom: 0;
}
blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-style: normal;
  color: #111827;
}
blockquote cite::before {
  content: "\14  ";
}

code {
  padding: 0.2em 0.4em;
  font-size: 0.875em;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
  color: #EF4444;
}

pre {
  display: block;
  padding: 1rem;
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #111827;
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  overflow-x: auto;
}
pre code {
  padding: 0;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
}

kbd {
  padding: 0.2em 0.4em;
  font-size: 0.875em;
  color: #ffffff;
  background-color: #343a40;
  border-radius: 0.25rem;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.link {
  color: #1E90FF;
  text-decoration: none;
  transition: all 0.2s ease;
}
.link:hover {
  color: #1873CC;
  text-decoration: underline;
}

.link-primary {
  color: #1E90FF;
}
.link-primary:hover {
  color: #0077ea;
}

.link-secondary {
  color: #6c757d;
}
.link-secondary:hover {
  color: #545b62;
}

.link-muted {
  color: #6B7280;
}
.link-muted:hover {
  color: #111827;
}

hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid #E5E7EB;
}

.hr-text {
  position: relative;
  display: flex;
  align-items: center;
  margin: 2rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  color: #6B7280;
}
.hr-text::before, .hr-text::after {
  content: "";
  flex: 1;
  border-top: 1px solid #E5E7EB;
}
.hr-text::before {
  margin-right: 0.75rem;
}
.hr-text::after {
  margin-left: 0.75rem;
}

@media (max-width: 575px) {
  h1, .h1 {
    font-size: 2.125rem;
  }

  h2, .h2 {
    font-size: 1.7rem;
  }

  .display-1 {
    font-size: 4rem;
  }

  .display-2 {
    font-size: 3.5rem;
  }

  .display-3 {
    font-size: 3rem;
  }

  .display-4 {
    font-size: 2.5rem;
  }
}
.m-0 {
  margin: 0 !important;
}

.mx-0 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.my-0 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.ml-0 {
  margin-left: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.mx-1 {
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}

.my-1 {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mr-1 {
  margin-right: 0.25rem !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.ml-1 {
  margin-left: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.mx-2 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.my-2 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.ml-2 {
  margin-left: 0.5rem !important;
}

.m-3 {
  margin: 0.75rem !important;
}

.mx-3 {
  margin-left: 0.75rem !important;
  margin-right: 0.75rem !important;
}

.my-3 {
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

.mt-3 {
  margin-top: 0.75rem !important;
}

.mr-3 {
  margin-right: 0.75rem !important;
}

.mb-3 {
  margin-bottom: 0.75rem !important;
}

.ml-3 {
  margin-left: 0.75rem !important;
}

.m-4 {
  margin: 1rem !important;
}

.mx-4 {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

.my-4 {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.mt-4 {
  margin-top: 1rem !important;
}

.mr-4 {
  margin-right: 1rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.ml-4 {
  margin-left: 1rem !important;
}

.m-5 {
  margin: 1.5rem !important;
}

.mx-5 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

.my-5 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.mt-5 {
  margin-top: 1.5rem !important;
}

.mr-5 {
  margin-right: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 1.5rem !important;
}

.ml-5 {
  margin-left: 1.5rem !important;
}

.m-6 {
  margin: 2rem !important;
}

.mx-6 {
  margin-left: 2rem !important;
  margin-right: 2rem !important;
}

.my-6 {
  margin-top: 2rem !important;
  margin-bottom: 2rem !important;
}

.mt-6 {
  margin-top: 2rem !important;
}

.mr-6 {
  margin-right: 2rem !important;
}

.mb-6 {
  margin-bottom: 2rem !important;
}

.ml-6 {
  margin-left: 2rem !important;
}

.m-8 {
  margin: 3rem !important;
}

.mx-8 {
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

.my-8 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
}

.mt-8 {
  margin-top: 3rem !important;
}

.mr-8 {
  margin-right: 3rem !important;
}

.mb-8 {
  margin-bottom: 3rem !important;
}

.ml-8 {
  margin-left: 3rem !important;
}

.m-10 {
  margin: 4rem !important;
}

.mx-10 {
  margin-left: 4rem !important;
  margin-right: 4rem !important;
}

.my-10 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}

.mt-10 {
  margin-top: 4rem !important;
}

.mr-10 {
  margin-right: 4rem !important;
}

.mb-10 {
  margin-bottom: 4rem !important;
}

.ml-10 {
  margin-left: 4rem !important;
}

.m-12 {
  margin: 6rem !important;
}

.mx-12 {
  margin-left: 6rem !important;
  margin-right: 6rem !important;
}

.my-12 {
  margin-top: 6rem !important;
  margin-bottom: 6rem !important;
}

.mt-12 {
  margin-top: 6rem !important;
}

.mr-12 {
  margin-right: 6rem !important;
}

.mb-12 {
  margin-bottom: 6rem !important;
}

.ml-12 {
  margin-left: 6rem !important;
}

.m-16 {
  margin: 8rem !important;
}

.mx-16 {
  margin-left: 8rem !important;
  margin-right: 8rem !important;
}

.my-16 {
  margin-top: 8rem !important;
  margin-bottom: 8rem !important;
}

.mt-16 {
  margin-top: 8rem !important;
}

.mr-16 {
  margin-right: 8rem !important;
}

.mb-16 {
  margin-bottom: 8rem !important;
}

.ml-16 {
  margin-left: 8rem !important;
}

.m-20 {
  margin: 10rem !important;
}

.mx-20 {
  margin-left: 10rem !important;
  margin-right: 10rem !important;
}

.my-20 {
  margin-top: 10rem !important;
  margin-bottom: 10rem !important;
}

.mt-20 {
  margin-top: 10rem !important;
}

.mr-20 {
  margin-right: 10rem !important;
}

.mb-20 {
  margin-bottom: 10rem !important;
}

.ml-20 {
  margin-left: 10rem !important;
}

.m-auto {
  margin: auto !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.my-auto {
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.mt-auto {
  margin-top: auto !important;
}

.mr-auto {
  margin-right: auto !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

.ml-auto {
  margin-left: auto !important;
}

.p-0 {
  padding: 0 !important;
}

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pl-0 {
  padding-left: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.px-1 {
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pr-1 {
  padding-right: 0.25rem !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pl-1 {
  padding-left: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.px-2 {
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pr-2 {
  padding-right: 0.5rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pl-2 {
  padding-left: 0.5rem !important;
}

.p-3 {
  padding: 0.75rem !important;
}

.px-3 {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.pt-3 {
  padding-top: 0.75rem !important;
}

.pr-3 {
  padding-right: 0.75rem !important;
}

.pb-3 {
  padding-bottom: 0.75rem !important;
}

.pl-3 {
  padding-left: 0.75rem !important;
}

.p-4 {
  padding: 1rem !important;
}

.px-4 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.pt-4 {
  padding-top: 1rem !important;
}

.pr-4 {
  padding-right: 1rem !important;
}

.pb-4 {
  padding-bottom: 1rem !important;
}

.pl-4 {
  padding-left: 1rem !important;
}

.p-5 {
  padding: 1.5rem !important;
}

.px-5 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.py-5 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.pt-5 {
  padding-top: 1.5rem !important;
}

.pr-5 {
  padding-right: 1.5rem !important;
}

.pb-5 {
  padding-bottom: 1.5rem !important;
}

.pl-5 {
  padding-left: 1.5rem !important;
}

.p-6 {
  padding: 2rem !important;
}

.px-6 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.py-6 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.pt-6 {
  padding-top: 2rem !important;
}

.pr-6 {
  padding-right: 2rem !important;
}

.pb-6 {
  padding-bottom: 2rem !important;
}

.pl-6 {
  padding-left: 2rem !important;
}

.p-8 {
  padding: 3rem !important;
}

.px-8 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

.py-8 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.pt-8 {
  padding-top: 3rem !important;
}

.pr-8 {
  padding-right: 3rem !important;
}

.pb-8 {
  padding-bottom: 3rem !important;
}

.pl-8 {
  padding-left: 3rem !important;
}

.p-10 {
  padding: 4rem !important;
}

.px-10 {
  padding-left: 4rem !important;
  padding-right: 4rem !important;
}

.py-10 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.pt-10 {
  padding-top: 4rem !important;
}

.pr-10 {
  padding-right: 4rem !important;
}

.pb-10 {
  padding-bottom: 4rem !important;
}

.pl-10 {
  padding-left: 4rem !important;
}

.p-12 {
  padding: 6rem !important;
}

.px-12 {
  padding-left: 6rem !important;
  padding-right: 6rem !important;
}

.py-12 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.pt-12 {
  padding-top: 6rem !important;
}

.pr-12 {
  padding-right: 6rem !important;
}

.pb-12 {
  padding-bottom: 6rem !important;
}

.pl-12 {
  padding-left: 6rem !important;
}

.p-16 {
  padding: 8rem !important;
}

.px-16 {
  padding-left: 8rem !important;
  padding-right: 8rem !important;
}

.py-16 {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}

.pt-16 {
  padding-top: 8rem !important;
}

.pr-16 {
  padding-right: 8rem !important;
}

.pb-16 {
  padding-bottom: 8rem !important;
}

.pl-16 {
  padding-left: 8rem !important;
}

.p-20 {
  padding: 10rem !important;
}

.px-20 {
  padding-left: 10rem !important;
  padding-right: 10rem !important;
}

.py-20 {
  padding-top: 10rem !important;
  padding-bottom: 10rem !important;
}

.pt-20 {
  padding-top: 10rem !important;
}

.pr-20 {
  padding-right: 10rem !important;
}

.pb-20 {
  padding-bottom: 10rem !important;
}

.pl-20 {
  padding-left: 10rem !important;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-grid {
  display: grid !important;
}

.d-inline-grid {
  display: inline-grid !important;
}

.d-table {
  display: table !important;
}

.d-table-row {
  display: table-row !important;
}

.d-table-cell {
  display: table-cell !important;
}

.flex-row {
  flex-direction: row !important;
}

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-column-reverse {
  flex-direction: column-reverse !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-nowrap {
  flex-wrap: nowrap !important;
}

.flex-wrap-reverse {
  flex-wrap: wrap-reverse !important;
}

.justify-start {
  justify-content: flex-start !important;
}

.justify-end {
  justify-content: flex-end !important;
}

.justify-center {
  justify-content: center !important;
}

.justify-between {
  justify-content: space-between !important;
}

.justify-around {
  justify-content: space-around !important;
}

.justify-evenly {
  justify-content: space-evenly !important;
}

.items-start {
  align-items: flex-start !important;
}

.items-end {
  align-items: flex-end !important;
}

.items-center {
  align-items: center !important;
}

.items-baseline {
  align-items: baseline !important;
}

.items-stretch {
  align-items: stretch !important;
}

.content-start {
  align-content: flex-start !important;
}

.content-end {
  align-content: flex-end !important;
}

.content-center {
  align-content: center !important;
}

.content-between {
  align-content: space-between !important;
}

.content-around {
  align-content: space-around !important;
}

.content-stretch {
  align-content: stretch !important;
}

.self-auto {
  align-self: auto !important;
}

.self-start {
  align-self: flex-start !important;
}

.self-end {
  align-self: flex-end !important;
}

.self-center {
  align-self: center !important;
}

.self-stretch {
  align-self: stretch !important;
}

.flex-grow-0 {
  flex-grow: 0 !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.flex-shrink-1 {
  flex-shrink: 1 !important;
}

.flex-1 {
  flex: 1 1 0% !important;
}

.flex-auto {
  flex: 1 1 auto !important;
}

.flex-none {
  flex: none !important;
}

.gap-0 {
  gap: 0 !important;
}

.gap-x-0 {
  -moz-column-gap: 0 !important;
       column-gap: 0 !important;
}

.gap-y-0 {
  row-gap: 0 !important;
}

.gap-1 {
  gap: 0.25rem !important;
}

.gap-x-1 {
  -moz-column-gap: 0.25rem !important;
       column-gap: 0.25rem !important;
}

.gap-y-1 {
  row-gap: 0.25rem !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-x-2 {
  -moz-column-gap: 0.5rem !important;
       column-gap: 0.5rem !important;
}

.gap-y-2 {
  row-gap: 0.5rem !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

.gap-x-3 {
  -moz-column-gap: 0.75rem !important;
       column-gap: 0.75rem !important;
}

.gap-y-3 {
  row-gap: 0.75rem !important;
}

.gap-4 {
  gap: 1rem !important;
}

.gap-x-4 {
  -moz-column-gap: 1rem !important;
       column-gap: 1rem !important;
}

.gap-y-4 {
  row-gap: 1rem !important;
}

.gap-5 {
  gap: 1.5rem !important;
}

.gap-x-5 {
  -moz-column-gap: 1.5rem !important;
       column-gap: 1.5rem !important;
}

.gap-y-5 {
  row-gap: 1.5rem !important;
}

.gap-6 {
  gap: 2rem !important;
}

.gap-x-6 {
  -moz-column-gap: 2rem !important;
       column-gap: 2rem !important;
}

.gap-y-6 {
  row-gap: 2rem !important;
}

.gap-8 {
  gap: 3rem !important;
}

.gap-x-8 {
  -moz-column-gap: 3rem !important;
       column-gap: 3rem !important;
}

.gap-y-8 {
  row-gap: 3rem !important;
}

.gap-10 {
  gap: 4rem !important;
}

.gap-x-10 {
  -moz-column-gap: 4rem !important;
       column-gap: 4rem !important;
}

.gap-y-10 {
  row-gap: 4rem !important;
}

.w-auto {
  width: auto !important;
}

.w-full {
  width: 100% !important;
}

.w-screen {
  width: 100vw !important;
}

.w-25 {
  width: 25% !important;
}

.w-50 {
  width: 50% !important;
}

.w-75 {
  width: 75% !important;
}

.h-auto {
  height: auto !important;
}

.h-full {
  height: 100% !important;
}

.h-screen {
  height: 100vh !important;
}

.h-25 {
  height: 25% !important;
}

.h-50 {
  height: 50% !important;
}

.h-75 {
  height: 75% !important;
}

.min-w-0 {
  min-width: 0 !important;
}

.min-w-full {
  min-width: 100% !important;
}

.max-w-full {
  max-width: 100% !important;
}

.max-w-screen {
  max-width: 100vw !important;
}

.min-h-0 {
  min-height: 0 !important;
}

.min-h-full {
  min-height: 100% !important;
}

.max-h-full {
  max-height: 100% !important;
}

.max-h-screen {
  max-height: 100vh !important;
}

.position-static {
  position: static !important;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-fixed {
  position: fixed !important;
}

.position-sticky {
  position: sticky !important;
}

.top-0 {
  top: 0 !important;
}

.right-0 {
  right: 0 !important;
}

.bottom-0 {
  bottom: 0 !important;
}

.left-0 {
  left: 0 !important;
}

.inset-0 {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
}

.overflow-auto {
  overflow: auto !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.overflow-visible {
  overflow: visible !important;
}

.overflow-scroll {
  overflow: scroll !important;
}

.overflow-x-auto {
  overflow-x: auto !important;
}

.overflow-x-hidden {
  overflow-x: hidden !important;
}

.overflow-x-scroll {
  overflow-x: scroll !important;
}

.overflow-y-auto {
  overflow-y: auto !important;
}

.overflow-y-hidden {
  overflow-y: hidden !important;
}

.overflow-y-scroll {
  overflow-y: scroll !important;
}

.z-0 {
  z-index: 0 !important;
}

.z-10 {
  z-index: 10 !important;
}

.z-20 {
  z-index: 20 !important;
}

.z-30 {
  z-index: 30 !important;
}

.z-40 {
  z-index: 40 !important;
}

.z-50 {
  z-index: 50 !important;
}

.z-auto {
  z-index: auto !important;
}

.border {
  border: 1px solid #E5E7EB !important;
}

.border-0 {
  border: 0 !important;
}

.border-t {
  border-top: 1px solid #E5E7EB !important;
}

.border-r {
  border-right: 1px solid #E5E7EB !important;
}

.border-b {
  border-bottom: 1px solid #E5E7EB !important;
}

.border-l {
  border-left: 1px solid #E5E7EB !important;
}

.border-t-0 {
  border-top: 0 !important;
}

.border-r-0 {
  border-right: 0 !important;
}

.border-b-0 {
  border-bottom: 0 !important;
}

.border-l-0 {
  border-left: 0 !important;
}

.rounded-none {
  border-radius: 0 !important;
}

.rounded-sm {
  border-radius: 0.25rem !important;
}

.rounded {
  border-radius: 0.5rem !important;
}

.rounded-md {
  border-radius: 0.5rem !important;
}

.rounded-lg {
  border-radius: 0.75rem !important;
}

.rounded-xl {
  border-radius: 1rem !important;
}

.rounded-full {
  border-radius: 9999px !important;
}

.rounded-t-none {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.rounded-r-none {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.rounded-b-none {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.rounded-l-none {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.shadow-none {
  box-shadow: none !important;
}

.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.shadow {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
}

.shadow-xl {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15) !important;
}

.opacity-0 {
  opacity: 0 !important;
}

.opacity-25 {
  opacity: 0.25 !important;
}

.opacity-50 {
  opacity: 0.5 !important;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-100 {
  opacity: 1 !important;
}

.cursor-auto {
  cursor: auto !important;
}

.cursor-pointer {
  cursor: pointer !important;
}

.cursor-not-allowed {
  cursor: not-allowed !important;
}

.cursor-move {
  cursor: move !important;
}

.cursor-grab {
  cursor: grab !important;
}

.cursor-grabbing {
  cursor: grabbing !important;
}

.pointer-events-none {
  pointer-events: none !important;
}

.pointer-events-auto {
  pointer-events: auto !important;
}

.select-none {
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
          user-select: none !important;
}

.select-text {
  -webkit-user-select: text !important;
     -moz-user-select: text !important;
          user-select: text !important;
}

.select-all {
  -webkit-user-select: all !important;
     -moz-user-select: all !important;
          user-select: all !important;
}

.select-auto {
  -webkit-user-select: auto !important;
     -moz-user-select: auto !important;
          user-select: auto !important;
}

.bg-transparent {
  background-color: transparent !important;
}

.bg-white {
  background-color: #ffffff !important;
}

.bg-black {
  background-color: #000000 !important;
}

.bg-primary {
  background-color: #1E90FF !important;
}

.bg-secondary {
  background-color: #6c757d !important;
}

.bg-success {
  background-color: #22C55E !important;
}

.bg-danger {
  background-color: #EF4444 !important;
}

.bg-warning {
  background-color: #F59E0B !important;
}

.bg-info {
  background-color: #38BDF8 !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.bg-dark {
  background-color: #343a40 !important;
}

.bg-gray-50 {
  background-color: #f9fafb !important;
}

.bg-gray-100 {
  background-color: #f8f9fa !important;
}

.bg-gray-200 {
  background-color: #e9ecef !important;
}

.bg-gray-300 {
  background-color: #dee2e6 !important;
}

.bg-gray-400 {
  background-color: #ced4da !important;
}

.bg-gray-500 {
  background-color: #adb5bd !important;
}

.bg-gray-600 {
  background-color: #6c757d !important;
}

.bg-gray-700 {
  background-color: #495057 !important;
}

.bg-gray-800 {
  background-color: #343a40 !important;
}

.bg-gray-900 {
  background-color: #212529 !important;
}

.visible {
  visibility: visible !important;
}

.invisible {
  visibility: hidden !important;
}

.float-left {
  float: left !important;
}

.float-right {
  float: right !important;
}

.float-none {
  float: none !important;
}

.clear-left {
  clear: left !important;
}

.clear-right {
  clear: right !important;
}

.clear-both {
  clear: both !important;
}

.clear-none {
  clear: none !important;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.align-baseline {
  vertical-align: baseline !important;
}

.align-top {
  vertical-align: top !important;
}

.align-middle {
  vertical-align: middle !important;
}

.align-bottom {
  vertical-align: bottom !important;
}

.align-text-top {
  vertical-align: text-top !important;
}

.align-text-bottom {
  vertical-align: text-bottom !important;
}

.object-contain {
  -o-object-fit: contain !important;
     object-fit: contain !important;
}

.object-cover {
  -o-object-fit: cover !important;
     object-fit: cover !important;
}

.object-fill {
  -o-object-fit: fill !important;
     object-fit: fill !important;
}

.object-none {
  -o-object-fit: none !important;
     object-fit: none !important;
}

.object-scale-down {
  -o-object-fit: scale-down !important;
     object-fit: scale-down !important;
}

.transition-none {
  transition: none !important;
}

.transition-all {
  transition: all 0.2s ease !important;
}

.transition-colors {
  transition: background-color, border-color, color 0.2s ease !important;
}

.transition-opacity {
  transition: opacity 0.2s ease !important;
}

.transition-transform {
  transition: transform 0.2s ease !important;
}

@media (max-width: 575px) {
  .d-sm-none {
    display: none !important;
  }

  .d-sm-block {
    display: block !important;
  }

  .d-sm-flex {
    display: flex !important;
  }
}
@media (min-width: 576px) {
  .d-md-none {
    display: none !important;
  }

  .d-md-block {
    display: block !important;
  }

  .d-md-flex {
    display: flex !important;
  }
}
@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }

  .d-lg-block {
    display: block !important;
  }

  .d-lg-flex {
    display: flex !important;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.btn:hover:not(:disabled) {
  text-decoration: none;
}
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.25);
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.btn svg,
.btn i {
  margin-right: 0.5rem;
}
.btn svg:last-child,
.btn i:last-child {
  margin-right: 0;
  margin-left: 0.5rem;
}
.btn svg:only-child,
.btn i:only-child {
  margin: 0;
}

.btn-primary {
  background-color: #1E90FF;
  transition: all 0.2s ease;
  color: #ffffff;
  border-color: #1E90FF;
}
.btn-primary:hover:not(:disabled) {
  background-color: #0077ea;
}
.btn-primary:focus {
  outline: 2px solid #1E90FF;
  outline-offset: 2px;
}
.btn-primary:active:not(:disabled) {
  background-color: #006ad1;
  transform: translateY(1px);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  background-color: #6c757d;
  transition: all 0.2s ease;
  color: #ffffff;
  border-color: #6c757d;
}
.btn-secondary:hover:not(:disabled) {
  background-color: #545b62;
}
.btn-secondary:focus {
  outline: 2px solid #6c757d;
  outline-offset: 2px;
}
.btn-secondary:active:not(:disabled) {
  background-color: #494f54;
  transform: translateY(1px);
}
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-success {
  background-color: #22C55E;
  transition: all 0.2s ease;
  color: #ffffff;
  border-color: #22C55E;
}
.btn-success:hover:not(:disabled) {
  background-color: #1a9a49;
}
.btn-success:focus {
  outline: 2px solid #22C55E;
  outline-offset: 2px;
}
.btn-success:active:not(:disabled) {
  background-color: #17843f;
  transform: translateY(1px);
}
.btn-success:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-danger {
  background-color: #EF4444;
  transition: all 0.2s ease;
  color: #ffffff;
  border-color: #EF4444;
}
.btn-danger:hover:not(:disabled) {
  background-color: #eb1515;
}
.btn-danger:focus {
  outline: 2px solid #EF4444;
  outline-offset: 2px;
}
.btn-danger:active:not(:disabled) {
  background-color: #d41212;
  transform: translateY(1px);
}
.btn-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-warning {
  background-color: #F59E0B;
  transition: all 0.2s ease;
  color: #212529;
  border-color: #F59E0B;
}
.btn-warning:hover:not(:disabled) {
  background-color: #c57f08;
}
.btn-warning:focus {
  outline: 2px solid #F59E0B;
  outline-offset: 2px;
}
.btn-warning:active:not(:disabled) {
  background-color: #ac6f07;
  transform: translateY(1px);
}
.btn-warning:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-info {
  background-color: #38BDF8;
  transition: all 0.2s ease;
  color: #ffffff;
  border-color: #38BDF8;
}
.btn-info:hover:not(:disabled) {
  background-color: #09acf4;
}
.btn-info:focus {
  outline: 2px solid #38BDF8;
  outline-offset: 2px;
}
.btn-info:active:not(:disabled) {
  background-color: #089bdc;
  transform: translateY(1px);
}
.btn-info:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-light {
  background-color: #f8f9fa;
  transition: all 0.2s ease;
  color: #212529;
  border-color: #ced4da;
}
.btn-light:hover:not(:disabled) {
  background-color: #dae0e5;
}
.btn-light:focus {
  outline: 2px solid #f8f9fa;
  outline-offset: 2px;
}
.btn-light:active:not(:disabled) {
  background-color: #cbd3da;
  transform: translateY(1px);
}
.btn-light:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-light:hover:not(:disabled) {
  border-color: #adb5bd;
}

.btn-dark {
  background-color: #343a40;
  transition: all 0.2s ease;
  color: #ffffff;
  border-color: #343a40;
}
.btn-dark:hover:not(:disabled) {
  background-color: #1d2124;
}
.btn-dark:focus {
  outline: 2px solid #343a40;
  outline-offset: 2px;
}
.btn-dark:active:not(:disabled) {
  background-color: #121416;
  transform: translateY(1px);
}
.btn-dark:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-outline-primary {
  color: #1E90FF;
  background-color: transparent;
  border-color: #1E90FF;
  transition: all 0.2s ease;
}
.btn-outline-primary:hover:not(:disabled) {
  color: #ffffff;
  background-color: #1E90FF;
  border-color: #1E90FF;
}
.btn-outline-primary:focus {
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.25);
}
.btn-outline-primary:active:not(:disabled) {
  color: #ffffff;
  background-color: #0077ea;
  border-color: #0077ea;
}

.btn-outline-secondary {
  color: #6c757d;
  background-color: transparent;
  border-color: #6c757d;
  transition: all 0.2s ease;
}
.btn-outline-secondary:hover:not(:disabled) {
  color: #ffffff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.btn-outline-secondary:focus {
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.25);
}
.btn-outline-secondary:active:not(:disabled) {
  color: #ffffff;
  background-color: #545b62;
  border-color: #545b62;
}

.btn-outline-success {
  color: #22C55E;
  background-color: transparent;
  border-color: #22C55E;
  transition: all 0.2s ease;
}
.btn-outline-success:hover:not(:disabled) {
  color: #ffffff;
  background-color: #22C55E;
  border-color: #22C55E;
}
.btn-outline-success:focus {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
.btn-outline-success:active:not(:disabled) {
  color: #ffffff;
  background-color: #1a9a49;
  border-color: #1a9a49;
}

.btn-outline-danger {
  color: #EF4444;
  background-color: transparent;
  border-color: #EF4444;
  transition: all 0.2s ease;
}
.btn-outline-danger:hover:not(:disabled) {
  color: #ffffff;
  background-color: #EF4444;
  border-color: #EF4444;
}
.btn-outline-danger:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}
.btn-outline-danger:active:not(:disabled) {
  color: #ffffff;
  background-color: #eb1515;
  border-color: #eb1515;
}

.btn-outline-warning {
  color: #F59E0B;
  background-color: transparent;
  border-color: #F59E0B;
  transition: all 0.2s ease;
}
.btn-outline-warning:hover:not(:disabled) {
  color: #ffffff;
  background-color: #F59E0B;
  border-color: #F59E0B;
}
.btn-outline-warning:focus {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}
.btn-outline-warning:active:not(:disabled) {
  color: #ffffff;
  background-color: #c57f08;
  border-color: #c57f08;
}
.btn-outline-warning:hover:not(:disabled) {
  color: #212529;
}

.btn-outline-info {
  color: #38BDF8;
  background-color: transparent;
  border-color: #38BDF8;
  transition: all 0.2s ease;
}
.btn-outline-info:hover:not(:disabled) {
  color: #ffffff;
  background-color: #38BDF8;
  border-color: #38BDF8;
}
.btn-outline-info:focus {
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}
.btn-outline-info:active:not(:disabled) {
  color: #ffffff;
  background-color: #09acf4;
  border-color: #09acf4;
}

.btn-outline-light {
  color: #ced4da;
  background-color: transparent;
  border-color: #ced4da;
  transition: all 0.2s ease;
}
.btn-outline-light:hover:not(:disabled) {
  color: #ffffff;
  background-color: #ced4da;
  border-color: #ced4da;
}
.btn-outline-light:focus {
  box-shadow: 0 0 0 3px rgba(206, 212, 218, 0.25);
}
.btn-outline-light:active:not(:disabled) {
  color: #ffffff;
  background-color: #b1bbc4;
  border-color: #b1bbc4;
}
.btn-outline-light:hover:not(:disabled) {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #adb5bd;
}

.btn-outline-dark {
  color: #343a40;
  background-color: transparent;
  border-color: #343a40;
  transition: all 0.2s ease;
}
.btn-outline-dark:hover:not(:disabled) {
  color: #ffffff;
  background-color: #343a40;
  border-color: #343a40;
}
.btn-outline-dark:focus {
  box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.25);
}
.btn-outline-dark:active:not(:disabled) {
  color: #ffffff;
  background-color: #1d2124;
  border-color: #1d2124;
}

.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-rounded {
  border-radius: 9999px;
}

.btn-square {
  border-radius: 0;
}

.btn-icon {
  padding: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
}
.btn-icon svg,
.btn-icon i {
  margin: 0;
}
.btn-icon.btn-sm {
  padding: 0.25rem;
  width: 2rem;
  height: 2rem;
}
.btn-icon.btn-lg {
  padding: 0.75rem;
  width: 3rem;
  height: 3rem;
}

.btn-group {
  display: inline-flex;
  vertical-align: middle;
}
.btn-group .btn {
  position: relative;
  flex: 0 1 auto;
  border-radius: 0;
  margin-left: -1px;
}
.btn-group .btn:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  margin-left: 0;
}
.btn-group .btn:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.btn-group .btn:hover, .btn-group .btn:focus, .btn-group .btn:active {
  z-index: 1;
}

.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: #1E90FF;
  padding: 0.5rem 0.75rem;
}
.btn-ghost:hover:not(:disabled) {
  background-color: rgba(30, 144, 255, 0.1);
  color: #1873CC;
}
.btn-ghost:focus {
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}

.btn-link {
  background-color: transparent;
  border-color: transparent;
  color: #1E90FF;
  padding: 0;
  text-decoration: none;
}
.btn-link:hover:not(:disabled) {
  color: #1873CC;
  text-decoration: underline;
  background-color: transparent;
}
.btn-link:focus {
  box-shadow: none;
  outline: 2px solid #1E90FF;
  outline-offset: 2px;
}

.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -0.5rem;
  margin-top: -0.5rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}
@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-white {
  background-color: #ffffff;
  color: #212529;
  border-color: #dee2e6;
}
.btn-white:hover:not(:disabled) {
  background-color: #f8f9fa;
  border-color: #ced4da;
}

.btn-gray {
  background-color: #adb5bd;
  color: #ffffff;
  border-color: #adb5bd;
}
.btn-gray:hover:not(:disabled) {
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-soft-primary {
  background-color: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
  border-color: transparent;
}
.btn-soft-primary:hover:not(:disabled) {
  background-color: rgba(30, 144, 255, 0.15);
  color: #0077ea;
}
.btn-soft-primary:focus {
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
}

.btn-soft-secondary {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
  border-color: transparent;
}
.btn-soft-secondary:hover:not(:disabled) {
  background-color: rgba(108, 117, 125, 0.15);
  color: #545b62;
}
.btn-soft-secondary:focus {
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.2);
}

.btn-soft-success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22C55E;
  border-color: transparent;
}
.btn-soft-success:hover:not(:disabled) {
  background-color: rgba(34, 197, 94, 0.15);
  color: #1a9a49;
}
.btn-soft-success:focus {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.btn-soft-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border-color: transparent;
}
.btn-soft-danger:hover:not(:disabled) {
  background-color: rgba(239, 68, 68, 0.15);
  color: #eb1515;
}
.btn-soft-danger:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.btn-soft-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
  border-color: transparent;
}
.btn-soft-warning:hover:not(:disabled) {
  background-color: rgba(245, 158, 11, 0.15);
  color: #c57f08;
}
.btn-soft-warning:focus {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.btn-soft-info {
  background-color: rgba(56, 189, 248, 0.1);
  color: #38BDF8;
  border-color: transparent;
}
.btn-soft-info:hover:not(:disabled) {
  background-color: rgba(56, 189, 248, 0.15);
  color: #09acf4;
}
.btn-soft-info:focus {
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.btn-icon-text {
  display: inline-flex;
  align-items: center;
}
.btn-icon-text .btn-icon-wrapper {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}
.btn-icon-text.btn-icon-right .btn-icon-wrapper {
  margin-right: 0;
  margin-left: 0.5rem;
  order: 2;
}

.btn-close, .alert-dismissible .close {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  outline: none;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  opacity: 0.5;
  transition: all 0.2s ease;
}
.btn-close:hover, .alert-dismissible .close:hover {
  opacity: 1;
}
.btn-close::before, .alert-dismissible .close::before, .btn-close::after, .alert-dismissible .close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 2px;
  background-color: currentColor;
}
.btn-close::before, .alert-dismissible .close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.btn-close::after, .alert-dismissible .close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (max-width: 575px) {
  .btn-block-mobile {
    display: flex;
    width: 100%;
  }
}
.btn-search {
  background: #1E90FF;
  border: 2px solid #1E90FF;
  color: #ffffff;
  padding: 0.75rem 4rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.btn-search:hover {
  background: #1873CC;
  border-color: #1873CC;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.3);
  color: #ffffff;
}
.btn-search:active {
  transform: translateY(0);
}

.btn-select-vehicle {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 1rem;
  width: 100%;
  background: #ffffff !important;
  color: #1E90FF !important;
  border: 1px solid #1E90FF !important;
  border-radius: 0.5rem;
}
.btn-select-vehicle:hover {
  background: #1E90FF !important;
  color: #ffffff !important;
  border-color: #1E90FF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}
.btn-select-vehicle:focus, .btn-select-vehicle:active {
  background: #1873CC !important;
  color: #ffffff !important;
  border-color: #1873CC !important;
}
.btn-select-vehicle span {
  position: relative;
  z-index: 1;
}
.btn-select-vehicle .btn-arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s ease;
  margin-left: 0.25rem;
}
.btn-select-vehicle:hover .btn-arrow {
  opacity: 1;
  transform: translateX(0);
}

.btn-checkout-full {
  width: 100%;
  margin-top: 0.5rem;
  text-align: center;
}

.btn-warning {
  background: linear-gradient(135deg, #1E90FF 0%, #51a9ff 100%);
  border-color: #1E90FF;
  transition: all 0.3s ease;
}
.btn-warning:hover {
  background: linear-gradient(135deg, #51a9ff 0%, #84c2ff 100%);
  border-color: #51a9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(30, 144, 255, 0.3);
}

.btn-assign-agency {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
  color: #ffffff;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.btn-assign-agency:hover {
  background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
}
.btn-assign-agency i {
  margin-right: 0.25rem;
}

.btn-add-day,
.btn-add-service {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.75rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #ffffff;
  background-clip: border-box;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.card-header {
  padding: 1rem;
  margin-bottom: 0;
  background-color: #f9fafb;
  border-bottom: 1px solid #E5E7EB;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
.card-header:first-child {
  border-radius: 0.5rem 0.5rem 0 0;
}
.card-header .card-title {
  margin-bottom: 0;
}

.card-body {
  flex: 1 1 auto;
  padding: 1rem;
  color: #111827;
}

.card-footer {
  padding: 1rem;
  background-color: #f9fafb;
  border-top: 1px solid #E5E7EB;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.card-footer:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}

.card-header-modern .card-header {
  background: linear-gradient(135deg, #1E90FF 0%, #51a9ff 100%);
  color: #ffffff;
  border-bottom: none;
  padding: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.card-header-modern .card-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(30%, -30%);
}
.card-header-modern .card-header .card-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  position: relative;
  z-index: 1;
}
.card-header-modern .card-header .card-subtitle {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
}
.card-header-modern.card-header-modern-success .card-header {
  background: linear-gradient(135deg, #22C55E 0%, #3ddd78 100%);
}
.card-header-modern.card-header-modern-danger .card-header {
  background: linear-gradient(135deg, #EF4444 0%, #f37373 100%);
}
.card-header-modern.card-header-modern-warning .card-header {
  background: linear-gradient(135deg, #F59E0B 0%, #f7b13c 100%);
}
.card-header-modern.card-header-modern-warning .card-header .card-title,
.card-header-modern.card-header-modern-warning .card-header .card-subtitle {
  color: #212529;
}
.card-header-modern.card-header-modern-info .card-header {
  background: linear-gradient(135deg, #38BDF8 0%, #69cdfa 100%);
}
.card-header-modern.card-header-modern-dark .card-header {
  background: linear-gradient(135deg, #343a40 0%, #4b545c 100%);
}
.card-header-modern.card-header-modern-secondary .card-header {
  background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
}

.card-title {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.25;
}

.card-subtitle {
  margin-top: -0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: #6B7280;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-link:hover {
  text-decoration: none;
}
.card-link + .card-link {
  margin-left: 1rem;
}

.card-img {
  width: 100%;
  border-radius: 0.5rem;
}

.card-img-top {
  width: 100%;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.card-img-bottom {
  width: 100%;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
  color: #ffffff;
}

.card-elevated {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  border-color: transparent;
}
.card-elevated:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card-flat {
  border: none;
  box-shadow: none;
}

.card-outline {
  background-color: transparent;
  border: 2px solid #E5E7EB;
}

.card-primary {
  border-color: #1E90FF;
  background-color: #1E90FF;
  color: #ffffff;
}
.card-primary .card-header,
.card-primary .card-footer {
  background-color: #0583ff;
  border-color: #0077ea;
}
.card-primary .card-title,
.card-primary .card-subtitle,
.card-primary .card-text {
  color: #ffffff;
}

.card-secondary {
  border-color: #6c757d;
  background-color: #6c757d;
  color: #ffffff;
}
.card-secondary .card-header,
.card-secondary .card-footer {
  background-color: #60686f;
  border-color: #545b62;
}
.card-secondary .card-title,
.card-secondary .card-subtitle,
.card-secondary .card-text {
  color: #ffffff;
}

.card-success {
  border-color: #22C55E;
  background-color: #22C55E;
  color: #ffffff;
}
.card-success .card-header,
.card-success .card-footer {
  background-color: #1eaf54;
  border-color: #1a9a49;
}
.card-success .card-title,
.card-success .card-subtitle,
.card-success .card-text {
  color: #ffffff;
}

.card-danger {
  border-color: #EF4444;
  background-color: #EF4444;
  color: #ffffff;
}
.card-danger .card-header,
.card-danger .card-footer {
  background-color: #ed2d2d;
  border-color: #eb1515;
}
.card-danger .card-title,
.card-danger .card-subtitle,
.card-danger .card-text {
  color: #ffffff;
}

.card-warning {
  border-color: #F59E0B;
  background-color: #F59E0B;
  color: #ffffff;
  color: #212529;
}
.card-warning .card-header,
.card-warning .card-footer {
  background-color: #dd8e09;
  border-color: #c57f08;
}
.card-warning .card-title,
.card-warning .card-subtitle,
.card-warning .card-text {
  color: #ffffff;
}
.card-warning .card-title,
.card-warning .card-subtitle,
.card-warning .card-text {
  color: #212529;
}

.card-info {
  border-color: #38BDF8;
  background-color: #38BDF8;
  color: #ffffff;
}
.card-info .card-header,
.card-info .card-footer {
  background-color: #1fb5f7;
  border-color: #09acf4;
}
.card-info .card-title,
.card-info .card-subtitle,
.card-info .card-text {
  color: #ffffff;
}

.card-light {
  border-color: #f8f9fa;
  background-color: #f8f9fa;
  color: #ffffff;
  color: #212529;
}
.card-light .card-header,
.card-light .card-footer {
  background-color: #e9ecef;
  border-color: #dae0e5;
}
.card-light .card-title,
.card-light .card-subtitle,
.card-light .card-text {
  color: #ffffff;
}
.card-light .card-title,
.card-light .card-subtitle,
.card-light .card-text {
  color: #212529;
}

.card-dark {
  border-color: #343a40;
  background-color: #343a40;
  color: #ffffff;
}
.card-dark .card-header,
.card-dark .card-footer {
  background-color: #292d32;
  border-color: #1d2124;
}
.card-dark .card-title,
.card-dark .card-subtitle,
.card-dark .card-text {
  color: #ffffff;
}

.card-outline-primary {
  background-color: #ffffff;
  border-color: #1E90FF;
  color: #111827;
}
.card-outline-primary .card-header {
  background-color: rgba(30, 144, 255, 0.05);
  border-bottom-color: #1E90FF;
  color: #1E90FF;
}
.card-outline-primary .card-footer {
  background-color: rgba(30, 144, 255, 0.05);
  border-top-color: #1E90FF;
}
.card-outline-primary .card-title {
  color: #1E90FF;
}

.card-outline-secondary {
  background-color: #ffffff;
  border-color: #6c757d;
  color: #111827;
}
.card-outline-secondary .card-header {
  background-color: rgba(108, 117, 125, 0.05);
  border-bottom-color: #6c757d;
  color: #6c757d;
}
.card-outline-secondary .card-footer {
  background-color: rgba(108, 117, 125, 0.05);
  border-top-color: #6c757d;
}
.card-outline-secondary .card-title {
  color: #6c757d;
}

.card-outline-success {
  background-color: #ffffff;
  border-color: #22C55E;
  color: #111827;
}
.card-outline-success .card-header {
  background-color: rgba(34, 197, 94, 0.05);
  border-bottom-color: #22C55E;
  color: #22C55E;
}
.card-outline-success .card-footer {
  background-color: rgba(34, 197, 94, 0.05);
  border-top-color: #22C55E;
}
.card-outline-success .card-title {
  color: #22C55E;
}

.card-outline-danger {
  background-color: #ffffff;
  border-color: #EF4444;
  color: #111827;
}
.card-outline-danger .card-header {
  background-color: rgba(239, 68, 68, 0.05);
  border-bottom-color: #EF4444;
  color: #EF4444;
}
.card-outline-danger .card-footer {
  background-color: rgba(239, 68, 68, 0.05);
  border-top-color: #EF4444;
}
.card-outline-danger .card-title {
  color: #EF4444;
}

.card-outline-warning {
  background-color: #ffffff;
  border-color: #F59E0B;
  color: #111827;
}
.card-outline-warning .card-header {
  background-color: rgba(245, 158, 11, 0.05);
  border-bottom-color: #F59E0B;
  color: #F59E0B;
}
.card-outline-warning .card-footer {
  background-color: rgba(245, 158, 11, 0.05);
  border-top-color: #F59E0B;
}
.card-outline-warning .card-title {
  color: #F59E0B;
}

.card-outline-info {
  background-color: #ffffff;
  border-color: #38BDF8;
  color: #111827;
}
.card-outline-info .card-header {
  background-color: rgba(56, 189, 248, 0.05);
  border-bottom-color: #38BDF8;
  color: #38BDF8;
}
.card-outline-info .card-footer {
  background-color: rgba(56, 189, 248, 0.05);
  border-top-color: #38BDF8;
}
.card-outline-info .card-title {
  color: #38BDF8;
}

.card-horizontal {
  flex-direction: row;
}
.card-horizontal .card-img-left {
  width: 40%;
  max-width: 300px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0.5rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.card-horizontal .card-img-right {
  width: 40%;
  max-width: 300px;
  border-top-left-radius: 0;
  border-bottom-right-radius: 0.5rem;
  -o-object-fit: cover;
     object-fit: cover;
}
.card-horizontal .card-body {
  flex: 1;
}
@media (max-width: 575px) {
  .card-horizontal {
    flex-direction: column;
  }
  .card-horizontal .card-img-left,
.card-horizontal .card-img-right {
    width: 100%;
    max-width: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
  }
}

.card-group {
  display: flex;
  flex-flow: row wrap;
}
.card-group > .card {
  flex: 1 0 0%;
  margin-bottom: 0;
}
.card-group > .card + .card {
  margin-left: 0;
  border-left: 0;
}
.card-group > .card:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.card-group > .card:not(:last-child) .card-img-top,
.card-group > .card:not(:last-child) .card-header {
  border-top-right-radius: 0;
}
.card-group > .card:not(:last-child) .card-img-bottom,
.card-group > .card:not(:last-child) .card-footer {
  border-bottom-right-radius: 0;
}
.card-group > .card:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.card-group > .card:not(:first-child) .card-img-top,
.card-group > .card:not(:first-child) .card-header {
  border-top-left-radius: 0;
}
.card-group > .card:not(:first-child) .card-img-bottom,
.card-group > .card:not(:first-child) .card-footer {
  border-bottom-left-radius: 0;
}

.card-deck {
  display: flex;
  flex-flow: row wrap;
  margin-right: -1rem;
  margin-left: -1rem;
}
.card-deck .card {
  flex: 1 0 0%;
  margin-right: 1rem;
  margin-bottom: 1rem;
  margin-left: 1rem;
}
@media (max-width: 575px) {
  .card-deck {
    flex-direction: column;
  }
  .card-deck .card {
    margin-right: 0;
    margin-left: 0;
  }
}

.card-columns {
  -moz-column-count: 3;
       column-count: 3;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  orphans: 1;
  widows: 1;
}
.card-columns .card {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
}
@media (min-width: 576px) {
  .card-columns {
    -moz-column-count: 2;
         column-count: 2;
  }
}
@media (max-width: 575px) {
  .card-columns {
    -moz-column-count: 1;
         column-count: 1;
  }
}

.card-clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}
.card-clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  border-color: #1E90FF;
}
.card-clickable:active {
  transform: translateY(-2px);
}

.card-selectable {
  cursor: pointer;
  border-width: 2px;
  transition: all 0.2s ease;
}
.card-selectable:hover {
  border-color: #1E90FF;
}
.card-selectable.active {
  border-color: #1E90FF;
  background-color: rgba(30, 144, 255, 0.05);
}
.card-selectable.active .card-header {
  background-color: rgba(30, 144, 255, 0.1);
  border-bottom-color: #1E90FF;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card-actions.card-actions-right {
  margin-left: auto;
}
.card-actions .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.card-compact .card-header,
.card-compact .card-body,
.card-compact .card-footer {
  padding: 0.75rem;
}
.card-compact .card-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.card-lg .card-header,
.card-lg .card-body,
.card-lg .card-footer {
  padding: 2rem;
}
.card-lg .card-title {
  font-size: 1.5rem;
}

.card-icon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.card-icon .card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.card-icon .card-icon-wrapper.card-icon-primary {
  background-color: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
}
.card-icon .card-icon-wrapper.card-icon-success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}
.card-icon .card-icon-wrapper.card-icon-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}
.card-icon .card-icon-wrapper.card-icon-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}
.card-icon .card-icon-wrapper.card-icon-info {
  background-color: rgba(56, 189, 248, 0.1);
  color: #38BDF8;
}
.card-icon .card-icon-content {
  flex: 1;
}

.card-stat {
  text-align: center;
}
.card-stat .card-stat-value {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.card-stat .card-stat-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card-stat .card-stat-change {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.card-stat .card-stat-change.card-stat-up {
  color: #22C55E;
}
.card-stat .card-stat-change.card-stat-down {
  color: #EF4444;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card-list .card-list-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #E5E7EB;
}
.card-list .card-list-item:last-child {
  border-bottom: none;
}
.card-list .card-list-item:hover {
  background-color: #f9fafb;
}

.card-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
}

.card-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}
.card-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(30, 144, 255, 0.2);
  border-top-color: #1E90FF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 575px) {
  .card-stack-mobile .card + .card {
    margin-top: 1rem;
  }
}
.form-group {
  margin-bottom: 1rem;
}
.form-group:last-child {
  margin-bottom: 0;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}
.form-row > .form-group,
.form-row > [class*=col-] {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  line-height: 1.5;
}
.form-label.required::after {
  content: " *";
  color: #EF4444;
}

label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #111827;
}

.form-control {
  display: block;
  width: 100%;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #111827;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #E5E7EB;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: all 0.2s ease;
}
.form-control::-moz-placeholder {
  color: #adb5bd;
  opacity: 1;
}
.form-control::placeholder {
  color: #adb5bd;
  opacity: 1;
}
.form-control:focus {
  color: #111827;
  background-color: #ffffff;
  border-color: #1E90FF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}
.form-control:disabled, .form-control[readonly] {
  background-color: #f8f9fa;
  opacity: 0.6;
  cursor: not-allowed;
}
.form-control.form-control-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
}
.form-control.form-control-lg {
  padding: 0.75rem 1rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 3rem;
}
select.form-control:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23007bff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
select.form-control[multiple] {
  padding-right: 0.75rem;
  background-image: none;
}

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}
.input-group > .form-control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  margin-bottom: 0;
}
.input-group > .form-control:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-group > .form-control:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-prepend,
.input-group-append {
  display: flex;
  align-items: center;
}

.input-group-prepend {
  margin-right: -1px;
}

.input-group-append {
  margin-left: -1px;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #111827;
  text-align: center;
  white-space: nowrap;
  background-color: #f8f9fa;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
}
.input-group-prepend .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group-append .input-group-text {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-group-text svg,
.input-group-text i {
  font-size: 1.125rem;
}

.form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
}
.form-check:last-child {
  margin-bottom: 0;
}

.form-check-input {
  position: absolute;
  margin-top: 0.25rem;
  margin-left: -2rem;
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #ffffff;
  border: 1px solid #E5E7EB;
  transition: all 0.2s ease;
}
.form-check-input[type=checkbox] {
  border-radius: 0.25rem;
}
.form-check-input[type=radio] {
  border-radius: 50%;
}
.form-check-input:focus {
  border-color: #1E90FF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}
.form-check-input:checked {
  background-color: #1E90FF;
  border-color: #1E90FF;
}
.form-check-input:checked[type=checkbox] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.form-check-input:checked[type=radio] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.form-check-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-check-input:disabled ~ .form-check-label {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-check-label {
  display: inline-block;
  cursor: pointer;
  color: #111827;
  font-size: 1rem;
  line-height: 1.5;
}

.form-check-inline {
  display: inline-flex;
  align-items: center;
  padding-left: 0;
  margin-right: 1rem;
}
.form-check-inline .form-check-input {
  position: static;
  margin-top: 0;
  margin-right: 0.5rem;
  margin-left: 0;
}

.form-switch {
  padding-left: 3rem;
}
.form-switch .form-check-input {
  width: 2.5rem;
  height: 1.25rem;
  margin-left: -3rem;
  background-color: #ced4da;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 9999px;
  border: none;
  transition: background-position 0.15s ease-in-out;
}
.form-switch .form-check-input:focus {
  background-color: #ced4da;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}
.form-switch .form-check-input:checked {
  background-color: #1E90FF;
  background-position: right center;
  border-color: #1E90FF;
}
.form-switch .form-check-input:disabled {
  opacity: 0.5;
}

.form-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: calc(1.5rem + 1rem + 2px);
  margin-bottom: 0;
}

.form-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.form-file-input:focus ~ .form-file-label {
  border-color: #1E90FF;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}
.form-file-input:disabled ~ .form-file-label {
  background-color: #f8f9fa;
  opacity: 0.6;
  cursor: not-allowed;
}

.form-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  display: flex;
  height: 100%;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.form-file-text {
  display: block;
  flex-grow: 1;
  padding: 0.5rem 0.75rem;
  overflow: hidden;
  font-weight: 400;
  line-height: 1.5;
  color: #111827;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: #ffffff;
  border-right: 1px solid #E5E7EB;
  border-radius: 0.5rem 0 0 0.5rem;
}

.form-file-button {
  display: block;
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  line-height: 1.5;
  color: #111827;
  background-color: #f8f9fa;
  border-radius: 0 0.5rem 0.5rem 0;
}

.form-range {
  width: 100%;
  height: 1.5rem;
  padding: 0;
  background-color: transparent;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}
.form-range:focus {
  outline: none;
}
.form-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}
.form-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}
.form-range::-webkit-slider-track {
  width: 100%;
  height: 0.5rem;
  color: transparent;
  cursor: pointer;
  background-color: #dee2e6;
  border-color: transparent;
  border-radius: 9999px;
}
.form-range::-webkit-slider-thumb {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.375rem;
  background-color: #1E90FF;
  border: 0;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  -webkit-appearance: none;
          appearance: none;
}
.form-range::-webkit-slider-thumb:active {
  background-color: #51a9ff;
}
.form-range::-moz-range-track {
  width: 100%;
  height: 0.5rem;
  color: transparent;
  cursor: pointer;
  background-color: #dee2e6;
  border-color: transparent;
  border-radius: 9999px;
}
.form-range::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  background-color: #1E90FF;
  border: 0;
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
  -moz-appearance: none;
       appearance: none;
}
.form-range::-moz-range-thumb:active {
  background-color: #51a9ff;
}
.form-range:disabled {
  pointer-events: none;
}
.form-range:disabled::-webkit-slider-thumb {
  background-color: #ced4da;
}
.form-range:disabled::-moz-range-thumb {
  background-color: #ced4da;
}

.form-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #6B7280;
}

.is-valid {
  border-color: #22C55E;
  padding-right: calc(1.5em + 1rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.5rem) center;
  background-size: calc(0.75em + 0.25rem) calc(0.75em + 0.25rem);
}
.is-valid:focus {
  border-color: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.valid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #22C55E;
}
.is-valid ~ .valid-feedback {
  display: block;
}

.valid-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: 0.1rem;
  font-size: 0.875rem;
  color: #ffffff;
  background-color: rgba(34, 197, 94, 0.9);
  border-radius: 0.5rem;
}
.is-valid ~ .valid-tooltip {
  display: block;
}

.is-invalid {
  border-color: #EF4444;
  padding-right: calc(1.5em + 1rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.5rem) center;
  background-size: calc(0.75em + 0.25rem) calc(0.75em + 0.25rem);
}
.is-invalid:focus {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #EF4444;
}
.is-invalid ~ .invalid-feedback {
  display: block;
}

.invalid-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.25rem 0.5rem;
  margin-top: 0.1rem;
  font-size: 0.875rem;
  color: #ffffff;
  background-color: rgba(239, 68, 68, 0.9);
  border-radius: 0.5rem;
}
.is-invalid ~ .invalid-tooltip {
  display: block;
}

.form-check-input.is-valid {
  border-color: #22C55E;
  background-image: none;
}
.form-check-input.is-valid:checked {
  background-color: #22C55E;
}
.form-check-input.is-valid:focus {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.form-check-input.is-valid ~ .form-check-label {
  color: #22C55E;
}
.form-check-input.is-invalid {
  border-color: #EF4444;
  background-image: none;
}
.form-check-input.is-invalid:checked {
  background-color: #EF4444;
}
.form-check-input.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}
.form-check-input.is-invalid ~ .form-check-label {
  color: #EF4444;
}

.form-modern .form-control {
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-modern .form-control:focus {
  border-color: #1E90FF;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.15);
  transform: translateY(-2px);
}
.form-modern .form-label {
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}
.form-modern .input-group-text {
  background-color: #ffffff;
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
}

.form-floating {
  position: relative;
}
.form-floating > .form-control,
.form-floating > .form-select {
  height: calc(3.5rem + 2px);
  padding: 1rem 0.75rem 0.5rem;
}
.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 0.75rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
  color: #6B7280;
}
.form-floating > .form-control:not(:-moz-placeholder) ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  opacity: 0.65;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}
.form-floating > .form-control:focus ~ label {
  color: #1E90FF;
}

.form-inline {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}
.form-inline .form-control {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}
.form-inline .form-group {
  display: flex;
  flex: 0 0 auto;
  flex-flow: row wrap;
  align-items: center;
  margin-bottom: 0;
  margin-right: 1rem;
}
.form-inline .form-label {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  margin-right: 0.5rem;
}
.form-inline .input-group {
  width: auto;
}

@media (max-width: 575px) {
  .form-inline {
    flex-direction: column;
    align-items: stretch;
  }
  .form-inline .form-group {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.75rem;
  }
  .form-inline .form-control {
    width: 100%;
  }
}
.select2-container--default .select2-selection--single {
  height: 48px;
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
  background: #f9fafb;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px;
  padding-left: 1rem;
  color: #343a40;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 10px;
}

.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #667eea;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  z-index: 999999999999;
}

.form-select-sm ~ .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
  padding: 0px 8px !important;
  font-size: inherit !important;
}

.parsley-errors-list ul {
  padding-left: 0 !important;
  margin-bottom: 0;
  list-style: none;
}
.parsley-errors-list li {
  font-size: 0.875rem;
  color: #EF4444;
  margin-top: 0.25rem;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  display: none;
}
.modal.fade {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.modal.show {
  display: block;
  opacity: 1;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-backdrop.fade {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.modal-backdrop.show {
  opacity: 1;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 1rem;
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transform: translateY(-50px);
  transition: transform 0.3s ease-out;
}
.modal.show .modal-dialog {
  transform: translateY(0);
}
.modal-dialog-centered .modal-dialog {
  display: flex;
  align-items: center;
  min-height: calc(100% - 2rem);
}
.modal-dialog-scrollable .modal-dialog {
  max-height: calc(100% - 2rem);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  pointer-events: auto;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  outline: 0;
}
.modal-dialog-scrollable .modal-content {
  max-height: 100%;
  overflow: hidden;
}

.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid #E5E7EB;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  background-color: #ffffff;
}
.modal-header .close,
.modal-header .btn-close {
  padding: 0.5rem;
  margin: -1.5rem auto;
  background-color: transparent;
  border: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: #111827;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.2s ease;
}
.modal-header .close:hover,
.modal-header .btn-close:hover {
  opacity: 1;
  color: #000000;
}
.modal-header .close:focus,
.modal-header .btn-close:focus {
  outline: none;
  opacity: 1;
}

.modal-title {
  margin-bottom: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  color: #111827;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 2rem;
  color: #111827;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 2rem;
  border-top: 1px solid #E5E7EB;
  border-bottom-right-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
  background-color: #f9fafb;
  gap: 0.5rem;
}
.modal-footer > * {
  margin: 0;
}
.modal-footer .btn + .btn {
  margin-left: 0;
}

.modal-sm {
  max-width: 300px;
}

.modal-md {
  max-width: 500px;
}

.modal-lg {
  max-width: 800px;
}

.modal-xl {
  max-width: 1140px;
}

.modal-fullscreen {
  max-width: 100%;
  margin: 0;
  height: 100%;
}
.modal-fullscreen .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}
.modal-fullscreen .modal-header {
  border-radius: 0;
}
.modal-fullscreen .modal-footer {
  border-radius: 0;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 2rem);
}

.modal-dialog-scrollable {
  height: calc(100% - 2rem);
}
.modal-dialog-scrollable .modal-content {
  max-height: 100%;
  overflow: hidden;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-primary .modal-content .modal-header {
  background-color: #1E90FF;
  border-bottom-color: #0583ff;
  color: #ffffff;
}
.modal-primary .modal-content .modal-title {
  color: #ffffff;
}
.modal-primary .modal-content .close,
.modal-primary .modal-content .btn-close {
  color: #ffffff;
  opacity: 0.8;
}
.modal-primary .modal-content .close:hover,
.modal-primary .modal-content .btn-close:hover {
  opacity: 1;
  color: #ffffff;
}
.modal-primary .modal-content .modal-footer {
  background-color: white;
  border-top-color: #eaf5ff;
}

.modal-secondary .modal-content .modal-header {
  background-color: #6c757d;
  border-bottom-color: #60686f;
  color: #ffffff;
}
.modal-secondary .modal-content .modal-title {
  color: #ffffff;
}
.modal-secondary .modal-content .close,
.modal-secondary .modal-content .btn-close {
  color: #ffffff;
  opacity: 0.8;
}
.modal-secondary .modal-content .close:hover,
.modal-secondary .modal-content .btn-close:hover {
  opacity: 1;
  color: #ffffff;
}
.modal-secondary .modal-content .modal-footer {
  background-color: #e6e7e9;
  border-top-color: #d8dbdd;
}

.modal-success .modal-content .modal-header {
  background-color: #22C55E;
  border-bottom-color: #1eaf54;
  color: #ffffff;
}
.modal-success .modal-content .modal-title {
  color: #ffffff;
}
.modal-success .modal-content .close,
.modal-success .modal-content .btn-close {
  color: #ffffff;
  opacity: 0.8;
}
.modal-success .modal-content .close:hover,
.modal-success .modal-content .btn-close:hover {
  opacity: 1;
  color: #ffffff;
}
.modal-success .modal-content .modal-footer {
  background-color: #d5f8e2;
  border-top-color: #bff4d3;
}

.modal-danger .modal-content .modal-header {
  background-color: #EF4444;
  border-bottom-color: #ed2d2d;
  color: #ffffff;
}
.modal-danger .modal-content .modal-title {
  color: #ffffff;
}
.modal-danger .modal-content .close,
.modal-danger .modal-content .btn-close {
  color: #ffffff;
  opacity: 0.8;
}
.modal-danger .modal-content .close:hover,
.modal-danger .modal-content .btn-close:hover {
  opacity: 1;
  color: #ffffff;
}
.modal-danger .modal-content .modal-footer {
  background-color: white;
  border-top-color: white;
}

.modal-warning .modal-content .modal-header {
  background-color: #F59E0B;
  border-bottom-color: #dd8e09;
  color: #ffffff;
}
.modal-warning .modal-content .modal-title {
  color: #ffffff;
}
.modal-warning .modal-content .close,
.modal-warning .modal-content .btn-close {
  color: #ffffff;
  opacity: 0.8;
}
.modal-warning .modal-content .close:hover,
.modal-warning .modal-content .btn-close:hover {
  opacity: 1;
  color: #ffffff;
}
.modal-warning .modal-content .modal-footer {
  background-color: #fef6e7;
  border-top-color: #fdeccf;
}
.modal-warning .modal-content .modal-header {
  color: #212529;
}
.modal-warning .modal-content .modal-title {
  color: #212529;
}
.modal-warning .modal-content .close,
.modal-warning .modal-content .btn-close {
  color: #212529;
}

.modal-info .modal-content .modal-header {
  background-color: #38BDF8;
  border-bottom-color: #1fb5f7;
  color: #ffffff;
}
.modal-info .modal-content .modal-title {
  color: #ffffff;
}
.modal-info .modal-content .close,
.modal-info .modal-content .btn-close {
  color: #ffffff;
  opacity: 0.8;
}
.modal-info .modal-content .close:hover,
.modal-info .modal-content .btn-close:hover {
  opacity: 1;
  color: #ffffff;
}
.modal-info .modal-content .modal-footer {
  background-color: white;
  border-top-color: #fdfeff;
}

.modal-dark .modal-content .modal-header {
  background-color: #343a40;
  border-bottom-color: #292d32;
  color: #ffffff;
}
.modal-dark .modal-content .modal-title {
  color: #ffffff;
}
.modal-dark .modal-content .close,
.modal-dark .modal-content .btn-close {
  color: #ffffff;
  opacity: 0.8;
}
.modal-dark .modal-content .close:hover,
.modal-dark .modal-content .btn-close:hover {
  opacity: 1;
  color: #ffffff;
}
.modal-dark .modal-content .modal-footer {
  background-color: #a4adb5;
  border-top-color: #96a0aa;
}

.modern-modal-content {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  border: none;
  overflow: hidden;
}
.modern-modal-content .modal-header {
  background: linear-gradient(135deg, #1E90FF 0%, #51a9ff 100%);
  color: #ffffff;
  border-bottom: none;
  padding: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.modern-modal-content .modal-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(40%, -40%);
}
.modern-modal-content .modal-header .modal-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.modern-modal-content .modal-header .modal-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}
.modern-modal-content .modal-header .close,
.modern-modal-content .modal-header .btn-close {
  color: #ffffff;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}
.modern-modal-content .modal-header .close:hover,
.modern-modal-content .modal-header .btn-close:hover {
  opacity: 1;
  color: #ffffff;
}
.modern-modal-content .modal-body {
  padding: 2rem;
  background-color: #ffffff;
}
.modern-modal-content .modal-footer {
  background-color: #f9fafb;
  border-top: 1px solid #E5E7EB;
  padding: 1rem 2rem;
}
.modern-modal-content.modern-modal-success .modal-header {
  background: linear-gradient(135deg, #22C55E 0%, #3ddd78 100%);
}
.modern-modal-content.modern-modal-danger .modal-header {
  background: linear-gradient(135deg, #EF4444 0%, #f37373 100%);
}
.modern-modal-content.modern-modal-warning .modal-header {
  background: linear-gradient(135deg, #F59E0B 0%, #f7b13c 100%);
}
.modern-modal-content.modern-modal-warning .modal-header .modal-title,
.modern-modal-content.modern-modal-warning .modal-header .modal-subtitle,
.modern-modal-content.modern-modal-warning .modal-header .close,
.modern-modal-content.modern-modal-warning .modal-header .btn-close {
  color: #212529;
}
.modern-modal-content.modern-modal-info .modal-header {
  background: linear-gradient(135deg, #38BDF8 0%, #69cdfa 100%);
}
.modern-modal-content.modern-modal-dark .modal-header {
  background: linear-gradient(135deg, #343a40 0%, #4b545c 100%);
}
.modern-modal-content.modern-modal-secondary .modal-header {
  background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
}
.modern-modal-content.modern-modal-icon .modal-header {
  text-align: center;
  padding: 3rem 2rem 1rem;
}
.modern-modal-content.modern-modal-icon .modal-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  font-size: 1.875rem;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  position: relative;
  z-index: 1;
}
.modern-modal-content.modern-modal-icon .modal-title {
  text-align: center;
}
.modern-modal-content.modern-modal-icon .modal-body {
  text-align: center;
}
.modern-modal-content.modern-modal-elevated {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: translateY(-10px);
}

.modal-slide-top .modal-dialog {
  transform: translateY(-100%);
}
.modal-slide-top.show .modal-dialog {
  transform: translateY(0);
}

.modal-slide-bottom .modal-dialog {
  transform: translateY(100%);
}
.modal-slide-bottom.show .modal-dialog {
  transform: translateY(0);
}

.modal-slide-right .modal-dialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  max-width: 500px;
  height: 100%;
  transform: translateX(100%);
}
.modal-slide-right.show .modal-dialog {
  transform: translateX(0);
}
.modal-slide-right .modal-content {
  height: 100%;
  border-radius: 0;
}

.modal-slide-left .modal-dialog {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  margin: 0;
  max-width: 500px;
  height: 100%;
  transform: translateX(-100%);
}
.modal-slide-left.show .modal-dialog {
  transform: translateX(0);
}
.modal-slide-left .modal-content {
  height: 100%;
  border-radius: 0;
}

.modal-zoom .modal-dialog {
  transform: scale(0.8);
  opacity: 0;
}
.modal-zoom.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

.modal-image .modal-content {
  background-color: transparent;
  border: none;
  box-shadow: none;
}
.modal-image .modal-body {
  padding: 0;
}
.modal-image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.modal-icon {
  text-align: center;
}
.modal-icon .modal-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  font-size: 1.875rem;
}
.modal-icon .modal-icon-wrapper.modal-icon-primary {
  background-color: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
}
.modal-icon .modal-icon-wrapper.modal-icon-success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}
.modal-icon .modal-icon-wrapper.modal-icon-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}
.modal-icon .modal-icon-wrapper.modal-icon-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}
.modal-icon .modal-icon-wrapper.modal-icon-info {
  background-color: rgba(56, 189, 248, 0.1);
  color: #38BDF8;
}
.modal-icon .modal-title {
  text-align: center;
  margin-bottom: 0.75rem;
}
.modal-icon .modal-body {
  text-align: center;
}
.modal-icon .modal-footer {
  justify-content: center;
}

.modal-confirm .modal-dialog {
  max-width: 400px;
}
.modal-confirm .modal-body {
  text-align: center;
  padding: 3rem 2rem;
}
.modal-confirm .modal-footer {
  justify-content: center;
  border-top: none;
  padding-top: 0;
}

.modal-loading {
  pointer-events: none;
}
.modal-loading .modal-content {
  position: relative;
  opacity: 0.6;
}
.modal-loading .modal-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(30, 144, 255, 0.2);
  border-top-color: #1E90FF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 0.75rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.modal-static .modal-dialog {
  animation: modal-static-bounce 0.3s;
}
@keyframes modal-static-bounce {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 575px) {
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }

  .modal-fullscreen-mobile {
    max-width: 100%;
    margin: 0;
    height: 100%;
  }
  .modal-fullscreen-mobile .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }

  .modal-fullscreen-sm-down {
    max-width: 100%;
    margin: 0;
    height: 100%;
  }
  .modal-fullscreen-sm-down .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
}
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 2rem auto;
  }

  .modal-dialog-centered {
    min-height: calc(100% - 4rem);
  }

  .modal-dialog-scrollable {
    height: calc(100% - 4rem);
  }

  .modal-sm {
    max-width: 300px;
  }

  .modal-lg {
    max-width: 800px;
  }

  .modal-xl {
    max-width: 1140px;
  }
}
.modal-dialog[style*="width: 60%"] {
  max-width: 60%;
}

.modal-header[style*="background: #F79321"] {
  background-color: #F79321 !important;
  color: #ffffff;
}
.modal-header[style*="background: #F79321"] .modal-title {
  color: #ffffff;
}
.modal-header[style*="background: #F79321"] .close {
  color: #ffffff;
  opacity: 0.8;
}

.modal-footer[style*="background: #F79321"] {
  background-color: #F79321 !important;
  border-top-color: #dd7908;
}

.modal-body[style*="background: #fff"] {
  background-color: #ffffff !important;
}

body.modal-open {
  overflow: hidden;
  padding-right: 0;
}

.modern-modal-footer {
  padding: 1.5rem 30px;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.modern-btn {
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.3px;
}
.modern-btn i {
  font-size: 0.875rem;
}
.modern-btn i.fa-spinner {
  animation: spin 1s linear infinite;
}
.modern-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.modern-btn-secondary {
  background: #dee2e6;
  color: #495057;
}
.modern-btn-secondary:hover {
  background: #ced4da;
  transform: translateY(-1px);
}

.modern-btn-primary {
  background: linear-gradient(135deg, #1E90FF 0%, #0077ea 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
}
.modern-btn-primary:hover {
  box-shadow: 0 6px 16px rgba(30, 144, 255, 0.5);
  transform: translateY(-2px);
}
.modern-btn-primary:active {
  transform: translateY(0);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #111827;
  vertical-align: top;
  border-color: #E5E7EB;
  caption-side: bottom;
}
.table > :not(caption) > * > * {
  padding: 0.75rem 0.75rem;
  background-color: transparent;
  border-bottom-width: 1px;
  box-shadow: inset 0 0 0 9999px transparent;
}
.table > tbody {
  vertical-align: inherit;
}
.table > thead {
  vertical-align: bottom;
}
.table caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #6B7280;
  text-align: left;
}

.table > thead {
  background-color: #f9fafb;
  border-bottom: 2px solid #E5E7EB;
}
.table > thead th {
  font-weight: 600;
  color: #111827;
  text-align: left;
  white-space: nowrap;
}

.table > :not(:first-child) {
  border-top: 2px solid #E5E7EB;
}

.table td,
.table th {
  border-bottom: 1px solid #E5E7EB;
}

.table-sm > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  font-size: 0.875rem;
}

.table-lg > :not(caption) > * > * {
  padding: 1rem 1rem;
  font-size: 1rem;
}

.table-borderless > :not(caption) > * > * {
  border-bottom-width: 0;
}
.table-borderless > :not(:first-child) {
  border-top-width: 0;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(0, 0, 0, 0.02);
}

.table-striped-columns > :not(caption) > tr > :nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

.table-hover > tbody > tr {
  transition: all 0.15s ease;
}
.table-hover > tbody > tr:hover > * {
  background-color: rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.table-bordered {
  border: 1px solid #E5E7EB;
}
.table-bordered > :not(caption) > * {
  border-width: 1px 0;
}
.table-bordered > :not(caption) > * > * {
  border-width: 0 1px;
}

.table-primary {
  --table-color: #ffffff;
  --table-bg: #1E90FF;
  color: var(--table-color);
  border-color: #0077ea;
  background-color: var(--table-bg);
}

.table-secondary {
  --table-color: #ffffff;
  --table-bg: #6c757d;
  color: var(--table-color);
  border-color: #545b62;
  background-color: var(--table-bg);
}

.table-success {
  --table-color: #ffffff;
  --table-bg: #22C55E;
  color: var(--table-color);
  border-color: #1a9a49;
  background-color: var(--table-bg);
}

.table-danger {
  --table-color: #ffffff;
  --table-bg: #EF4444;
  color: var(--table-color);
  border-color: #eb1515;
  background-color: var(--table-bg);
}

.table-warning {
  --table-color: #212529;
  --table-bg: #F59E0B;
  color: var(--table-color);
  border-color: #c57f08;
  background-color: var(--table-bg);
}

.table-info {
  --table-color: #ffffff;
  --table-bg: #38BDF8;
  color: var(--table-color);
  border-color: #09acf4;
  background-color: var(--table-bg);
}

.table-light {
  --table-color: #212529;
  --table-bg: #f8f9fa;
  color: var(--table-color);
  border-color: #dae0e5;
  background-color: var(--table-bg);
}

.table-dark {
  --table-color: #ffffff;
  --table-bg: #343a40;
  color: var(--table-color);
  border-color: #1d2124;
  background-color: var(--table-bg);
}

.table-active {
  background-color: rgba(30, 144, 255, 0.1);
}

tr.table-primary {
  background-color: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
}
tr.table-secondary {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}
tr.table-success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}
tr.table-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}
tr.table-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}
tr.table-info {
  background-color: rgba(56, 189, 248, 0.1);
  color: #38BDF8;
}
tr.table-light {
  background-color: #f8f9fa;
  color: #212529;
}
tr.table-dark {
  background-color: #343a40;
  color: #ffffff;
}

td.table-primary,
th.table-primary {
  background-color: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
}
td.table-secondary,
th.table-secondary {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}
td.table-success,
th.table-success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}
td.table-danger,
th.table-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}
td.table-warning,
th.table-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}
td.table-info,
th.table-info {
  background-color: rgba(56, 189, 248, 0.1);
  color: #38BDF8;
}
td.table-light,
th.table-light {
  background-color: #f8f9fa;
  color: #212529;
}
td.table-dark,
th.table-dark {
  background-color: #343a40;
  color: #ffffff;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-responsive > .table {
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .table-responsive-sm {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 767px) {
  .table-responsive-md {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.table-modern {
  border-collapse: separate;
  border-spacing: 0;
  background-color: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.table-modern > thead {
  background: linear-gradient(135deg, #1E90FF 0%, #51a9ff 100%);
  border-bottom: none;
}
.table-modern > thead th {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 1rem 0.75rem;
  border-bottom: none;
}
.table-modern > tbody tr {
  transition: all 0.15s ease;
}
.table-modern > tbody tr:hover {
  background-color: rgba(30, 144, 255, 0.03);
  transform: scale(1.001);
}
.table-modern > tbody tr td {
  border-bottom: 1px solid #e9ecef;
  padding: 1rem 0.75rem;
}
.table-modern > tbody tr:last-child td {
  border-bottom: none;
}
.table-modern.table-modern-success > thead {
  background: linear-gradient(135deg, #22C55E 0%, #3ddd78 100%);
}
.table-modern.table-modern-danger > thead {
  background: linear-gradient(135deg, #EF4444 0%, #f37373 100%);
}
.table-modern.table-modern-warning > thead {
  background: linear-gradient(135deg, #F59E0B 0%, #f7b13c 100%);
}
.table-modern.table-modern-warning > thead th {
  color: #212529;
}
.table-modern.table-modern-info > thead {
  background: linear-gradient(135deg, #38BDF8 0%, #69cdfa 100%);
}
.table-modern.table-modern-dark > thead {
  background: linear-gradient(135deg, #343a40 0%, #4b545c 100%);
}
.table-modern.table-modern-secondary > thead {
  background: linear-gradient(135deg, #6c757d 0%, #868e96 100%);
}

.table-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #E5E7EB;
}
.table-card .table {
  margin-bottom: 0;
}
.table-card .table > thead {
  background-color: #f9fafb;
  border-bottom: 2px solid #E5E7EB;
}
.table-card .table > tbody > tr:last-child td {
  border-bottom: none;
}
.table-card .table-card-header {
  padding: 1rem;
  background-color: #ffffff;
  border-bottom: 1px solid #E5E7EB;
}
.table-card .table-card-header .table-card-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}
.table-card .table-card-footer {
  padding: 0.75rem 1rem;
  background-color: #f9fafb;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-compact > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  font-size: 0.875rem;
}

.table-align-top > :not(caption) > * > * {
  vertical-align: top;
}

.table-align-middle > :not(caption) > * > * {
  vertical-align: middle;
}

.table-align-bottom > :not(caption) > * > * {
  vertical-align: bottom;
}

.table-fixed {
  table-layout: fixed;
}
.table-fixed th,
.table-fixed td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-actions {
  white-space: nowrap;
  width: 1%;
}
.table-actions .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  margin-right: 0.25rem;
}
.table-actions .btn:last-child {
  margin-right: 0;
}

.table-status .badge {
  display: inline-block;
  min-width: 60px;
}

.table-sortable th {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: relative;
  padding-right: 2rem;
}
.table-sortable th::after {
  content: "↕";
  position: absolute;
  right: 0.5rem;
  opacity: 0.3;
  font-size: 0.875rem;
}
.table-sortable th:hover::after {
  opacity: 0.6;
}
.table-sortable th.sorted-asc::after {
  content: "↑";
  opacity: 1;
  color: #1E90FF;
}
.table-sortable th.sorted-desc::after {
  content: "↓";
  opacity: 1;
  color: #1E90FF;
}

.table-selectable tbody tr {
  cursor: pointer;
  transition: all 0.15s ease;
}
.table-selectable tbody tr:hover {
  background-color: rgba(30, 144, 255, 0.05);
}
.table-selectable tbody tr.selected {
  background-color: rgba(30, 144, 255, 0.1);
  border-left: 3px solid #1E90FF;
}
.table-selectable .table-select-checkbox {
  width: 40px;
  text-align: center;
}
.table-selectable .table-select-checkbox input[type=checkbox] {
  cursor: pointer;
}

.table-expandable .table-expand-toggle {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  width: 40px;
  text-align: center;
  font-size: 1.125rem;
  transition: all 0.15s ease;
}
.table-expandable .table-expand-toggle::before {
  content: "▶";
  display: inline-block;
  transition: transform 0.2s ease;
}
.table-expandable .table-expand-toggle.expanded::before {
  transform: rotate(90deg);
}
.table-expandable .table-expanded-row {
  display: none;
  background-color: #f9fafb;
}
.table-expandable .table-expanded-row.show {
  display: table-row;
}
.table-expandable .table-expanded-row td {
  padding: 1rem;
}

.datatable-wrapper .datatable-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.datatable-wrapper .datatable-top .datatable-search {
  flex: 1;
  min-width: 250px;
}
.datatable-wrapper .datatable-top .datatable-filter {
  display: flex;
  gap: 0.5rem;
}
.datatable-wrapper .datatable-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.datatable-wrapper .datatable-bottom .datatable-info {
  color: #6B7280;
  font-size: 0.875rem;
}
.datatable-wrapper .datatable-bottom .datatable-pagination {
  display: flex;
  gap: 0.25rem;
}

.table-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}
.table-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(30, 144, 255, 0.2);
  border-top-color: #1E90FF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.table-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #6B7280;
}
.table-empty .table-empty-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  opacity: 0.3;
}
.table-empty .table-empty-message {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.table-empty .table-empty-description {
  font-size: 0.875rem;
  color: #6B7280;
}

@media (max-width: 575px) {
  .table-mobile-cards {
    border: 0;
  }
  .table-mobile-cards thead {
    display: none;
  }
  .table-mobile-cards tbody {
    display: block;
  }
  .table-mobile-cards tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  .table-mobile-cards td {
    display: block;
    text-align: right;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #E5E7EB;
  }
  .table-mobile-cards td:last-child {
    border-bottom: none;
  }
  .table-mobile-cards td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    color: #111827;
  }
  .table-mobile-cards .table-actions {
    text-align: center;
  }
  .table-mobile-cards .table-actions::before {
    display: none;
  }
}
.table-title,
.table-title2 {
  background: linear-gradient(135deg, #f9fafb 0%, #e9ecef 100%);
  color: #212529;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  border-right: 1px solid #dee2e6;
}

.table-data,
.table-data2 {
  background: #ffffff;
  color: #495057;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}
.badge:empty {
  display: none;
}
.badge[href] {
  text-decoration: none;
}
.badge[href]:hover, .badge[href]:focus {
  text-decoration: none;
  opacity: 0.85;
}

.badge-primary {
  color: #ffffff;
  background-color: #1E90FF;
  transition: all 0.2s ease;
}
.badge-primary[href]:hover, .badge-primary[href]:focus {
  background-color: #0077ea;
}

.badge-secondary {
  color: #ffffff;
  background-color: #6c757d;
  transition: all 0.2s ease;
}
.badge-secondary[href]:hover, .badge-secondary[href]:focus {
  background-color: #545b62;
}

.badge-success {
  color: #ffffff;
  background-color: #22C55E;
  transition: all 0.2s ease;
}
.badge-success[href]:hover, .badge-success[href]:focus {
  background-color: #1a9a49;
}

.badge-danger {
  color: #ffffff;
  background-color: #EF4444;
  transition: all 0.2s ease;
}
.badge-danger[href]:hover, .badge-danger[href]:focus {
  background-color: #eb1515;
}

.badge-warning {
  color: #212529;
  background-color: #F59E0B;
  transition: all 0.2s ease;
}
.badge-warning[href]:hover, .badge-warning[href]:focus {
  background-color: #c57f08;
}

.badge-info {
  color: #ffffff;
  background-color: #38BDF8;
  transition: all 0.2s ease;
}
.badge-info[href]:hover, .badge-info[href]:focus {
  background-color: #09acf4;
}

.badge-light {
  color: #212529;
  background-color: #f8f9fa;
  transition: all 0.2s ease;
}
.badge-light[href]:hover, .badge-light[href]:focus {
  background-color: #dae0e5;
}

.badge-dark {
  color: #ffffff;
  background-color: #343a40;
  transition: all 0.2s ease;
}
.badge-dark[href]:hover, .badge-dark[href]:focus {
  background-color: #1d2124;
}

.badge-outline-primary {
  color: #1E90FF;
  background-color: transparent;
  border: 1px solid #1E90FF;
}
.badge-outline-primary[href]:hover, .badge-outline-primary[href]:focus {
  color: #ffffff;
  background-color: #1E90FF;
}

.badge-outline-secondary {
  color: #6c757d;
  background-color: transparent;
  border: 1px solid #6c757d;
}
.badge-outline-secondary[href]:hover, .badge-outline-secondary[href]:focus {
  color: #ffffff;
  background-color: #6c757d;
}

.badge-outline-success {
  color: #22C55E;
  background-color: transparent;
  border: 1px solid #22C55E;
}
.badge-outline-success[href]:hover, .badge-outline-success[href]:focus {
  color: #ffffff;
  background-color: #22C55E;
}

.badge-outline-danger {
  color: #EF4444;
  background-color: transparent;
  border: 1px solid #EF4444;
}
.badge-outline-danger[href]:hover, .badge-outline-danger[href]:focus {
  color: #ffffff;
  background-color: #EF4444;
}

.badge-outline-warning {
  color: #F59E0B;
  background-color: transparent;
  border: 1px solid #F59E0B;
}
.badge-outline-warning[href]:hover, .badge-outline-warning[href]:focus {
  color: #ffffff;
  background-color: #F59E0B;
}

.badge-outline-info {
  color: #38BDF8;
  background-color: transparent;
  border: 1px solid #38BDF8;
}
.badge-outline-info[href]:hover, .badge-outline-info[href]:focus {
  color: #ffffff;
  background-color: #38BDF8;
}

.badge-outline-light {
  color: #ced4da;
  background-color: transparent;
  border: 1px solid #ced4da;
}
.badge-outline-light[href]:hover, .badge-outline-light[href]:focus {
  color: #ffffff;
  background-color: #ced4da;
}

.badge-outline-dark {
  color: #343a40;
  background-color: transparent;
  border: 1px solid #343a40;
}
.badge-outline-dark[href]:hover, .badge-outline-dark[href]:focus {
  color: #ffffff;
  background-color: #343a40;
}

.badge-soft-primary {
  color: #1E90FF;
  background-color: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.2);
}
.badge-soft-primary[href]:hover, .badge-soft-primary[href]:focus {
  background-color: rgba(30, 144, 255, 0.2);
  border-color: rgba(30, 144, 255, 0.3);
}

.badge-soft-secondary {
  color: #6c757d;
  background-color: rgba(108, 117, 125, 0.1);
  border: 1px solid rgba(108, 117, 125, 0.2);
}
.badge-soft-secondary[href]:hover, .badge-soft-secondary[href]:focus {
  background-color: rgba(108, 117, 125, 0.2);
  border-color: rgba(108, 117, 125, 0.3);
}

.badge-soft-success {
  color: #22C55E;
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.badge-soft-success[href]:hover, .badge-soft-success[href]:focus {
  background-color: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.3);
}

.badge-soft-danger {
  color: #EF4444;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.badge-soft-danger[href]:hover, .badge-soft-danger[href]:focus {
  background-color: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.3);
}

.badge-soft-warning {
  color: #F59E0B;
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.badge-soft-warning[href]:hover, .badge-soft-warning[href]:focus {
  background-color: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.3);
}

.badge-soft-info {
  color: #38BDF8;
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.badge-soft-info[href]:hover, .badge-soft-info[href]:focus {
  background-color: rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.3);
}

.badge-soft-light {
  color: #6c757d;
  background-color: rgba(108, 117, 125, 0.1);
  border: 1px solid rgba(108, 117, 125, 0.2);
}
.badge-soft-light[href]:hover, .badge-soft-light[href]:focus {
  background-color: rgba(108, 117, 125, 0.2);
  border-color: rgba(108, 117, 125, 0.3);
}

.badge-soft-dark {
  color: #343a40;
  background-color: rgba(52, 58, 64, 0.1);
  border: 1px solid rgba(52, 58, 64, 0.2);
}
.badge-soft-dark[href]:hover, .badge-soft-dark[href]:focus {
  background-color: rgba(52, 58, 64, 0.2);
  border-color: rgba(52, 58, 64, 0.3);
}

.badge-sm {
  padding: 0.15rem 0.35rem;
  font-size: 0.65rem;
}

.badge-lg {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.badge-xl {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 0.5rem;
}

.badge-rounded {
  border-radius: 9999px;
}

.badge-square {
  border-radius: 0;
}

.badge-rounded-lg {
  border-radius: 0.75rem;
}

.badge-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.badge-icon svg,
.badge-icon i {
  font-size: inherit;
  width: 0.875em;
  height: 0.875em;
}
.badge-icon.badge-icon-only {
  padding: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.badge-icon.badge-icon-only svg,
.badge-icon.badge-icon-only i {
  margin: 0;
}

.badge-dot {
  padding: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  vertical-align: middle;
}
.badge-dot.badge-dot-lg {
  width: 0.75rem;
  height: 0.75rem;
}
.badge-dot.badge-dot-xl {
  width: 1rem;
  height: 1rem;
}

.badge-positioned {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  z-index: 10;
}
.badge-positioned.badge-positioned-top-left {
  right: auto;
  left: 0;
  transform: translate(-50%, -50%);
}
.badge-positioned.badge-positioned-bottom-right {
  top: auto;
  bottom: 0;
  transform: translate(50%, 50%);
}
.badge-positioned.badge-positioned-bottom-left {
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  transform: translate(-50%, 50%);
}

.badge-container {
  position: relative;
  display: inline-block;
}

.badge-pill {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  border-radius: 9999px;
}

.badge-dismissible {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 0.25rem;
}
.badge-dismissible .badge-close {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  padding: 0;
  margin-left: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  color: inherit;
  opacity: 0.7;
  transition: all 0.15s ease;
  cursor: pointer;
  border-radius: 50%;
}
.badge-dismissible .badge-close:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.1);
}
.badge-dismissible .badge-close::before {
  content: "×";
}

.badge-count {
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 9999px;
}
.badge-count.badge-count-lg {
  min-width: 1.5rem;
  height: 1.5rem;
  font-size: 0.75rem;
  padding: 0 0.5rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
}
.badge-status::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: currentColor;
}
.badge-status.badge-status-online::before {
  background-color: #22C55E;
}
.badge-status.badge-status-offline::before {
  background-color: #ced4da;
}
.badge-status.badge-status-busy::before {
  background-color: #EF4444;
}
.badge-status.badge-status-away::before {
  background-color: #F59E0B;
}

.badge-pulse {
  position: relative;
}
.badge-pulse::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  animation: badge-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes badge-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.badge-pulse-ring {
  position: relative;
}
.badge-pulse-ring::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  border-radius: inherit;
  border: 2px solid currentColor;
  opacity: 0.5;
  animation: badge-pulse-ring 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes badge-pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.badge-modern {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.badge-modern.badge-modern-primary {
  background: linear-gradient(135deg, #1E90FF 0%, #51a9ff 100%);
  color: #ffffff;
}
.badge-modern.badge-modern-success {
  background: linear-gradient(135deg, #22C55E 0%, #3ddd78 100%);
  color: #ffffff;
}
.badge-modern.badge-modern-danger {
  background: linear-gradient(135deg, #EF4444 0%, #f37373 100%);
  color: #ffffff;
}
.badge-modern.badge-modern-warning {
  background: linear-gradient(135deg, #F59E0B 0%, #f7b13c 100%);
  color: #212529;
}
.badge-modern.badge-modern-info {
  background: linear-gradient(135deg, #38BDF8 0%, #69cdfa 100%);
  color: #ffffff;
}
.badge-modern.badge-modern-dark {
  background: linear-gradient(135deg, #343a40 0%, #4b545c 100%);
  color: #ffffff;
}

.badge-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.badge-group.badge-group-vertical {
  flex-direction: column;
  align-items: flex-start;
}

h1 .badge,
h2 .badge,
h3 .badge,
h4 .badge,
h5 .badge,
h6 .badge {
  vertical-align: middle;
  margin-left: 0.5rem;
}

.btn .badge {
  position: relative;
  top: -1px;
  margin-left: 0.5rem;
}
.btn .badge:first-child {
  margin-left: 0;
  margin-right: 0.5rem;
}

.list-group-item .badge {
  float: right;
  margin-left: 0.5rem;
}

.nav-link .badge {
  margin-left: 0.5rem;
}

@media (max-width: 575px) {
  .badge-hide-mobile {
    display: none;
  }

  .badge-text-hide-mobile {
    padding: 0.25rem;
    font-size: 0;
  }
  .badge-text-hide-mobile svg,
.badge-text-hide-mobile i {
    font-size: 0.75rem;
    margin: 0;
  }
}
.reservation-badges .badge {
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.reservation-badges .badge-info {
  background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
  color: #ffffff;
}
.reservation-badges .badge-success {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: #ffffff;
}
.reservation-badges .badge-warning {
  background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
  color: #ffffff;
}
.reservation-badges .badge-danger {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #ffffff;
}

.alert {
  position: relative;
  display: block;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.2s ease;
}
.alert:last-child {
  margin-bottom: 0;
}
.alert a {
  font-weight: 600;
  text-decoration: underline;
}
.alert a:hover {
  text-decoration: none;
}

.alert-heading {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
}

.alert-description {
  margin-bottom: 0;
  font-size: 0.875rem;
  opacity: 0.9;
}

.alert-primary {
  color: #0077ea;
  background-color: white;
  border-color: #d1e8ff;
}
.alert-primary a {
  color: #005db7;
}
.alert-primary a:hover {
  color: #004384;
}
.alert-primary .alert-link {
  font-weight: 700;
  color: #005db7;
}

.alert-secondary {
  color: #545b62;
  background-color: #e6e7e9;
  border-color: #caced1;
}
.alert-secondary a {
  color: #3d4246;
}
.alert-secondary a:hover {
  color: #25282b;
}
.alert-secondary .alert-link {
  font-weight: 700;
  color: #3d4246;
}

.alert-success {
  color: #1a9a49;
  background-color: #d5f8e2;
  border-color: #a9f0c3;
}
.alert-success a {
  color: #136e34;
}
.alert-success a:hover {
  color: #0b4320;
}
.alert-success .alert-link {
  font-weight: 700;
  color: #136e34;
}

.alert-danger {
  color: #eb1515;
  background-color: white;
  border-color: #fbd1d1;
}
.alert-danger a {
  color: #bd1010;
}
.alert-danger a:hover {
  color: #8e0c0c;
}
.alert-danger .alert-link {
  font-weight: 700;
  color: #bd1010;
}

.alert-warning {
  color: #634004;
  background-color: #fce2b6;
  border-color: #facf85;
}
.alert-warning a {
  color: #322002;
}
.alert-warning a:hover {
  color: #010100;
}
.alert-warning .alert-link {
  font-weight: 700;
  color: #322002;
}

.alert-info {
  color: #09acf4;
  background-color: white;
  border-color: #e4f6fe;
}
.alert-info a {
  color: #0789c3;
}
.alert-info a:hover {
  color: #056792;
}
.alert-info .alert-link {
  font-weight: 700;
  color: #0789c3;
}

.alert-light {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #dee2e6;
}
.alert-light a {
  color: #0a0c0d;
}
.alert-light a:hover {
  color: black;
}
.alert-light .alert-link {
  font-weight: 700;
  color: #0a0c0d;
}

.alert-dark {
  color: #292d32;
  background-color: #a4adb5;
  border-color: #88939e;
}
.alert-dark a {
  color: #121416;
}
.alert-dark a:hover {
  color: black;
}
.alert-dark .alert-link {
  font-weight: 700;
  color: #121416;
}

.alert-dismissible {
  padding-right: 4rem;
}
.alert-dismissible .btn-close, .alert-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 0.75rem 1rem;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s ease;
  font-size: 1.25rem;
  line-height: 1;
  color: inherit;
}
.alert-dismissible .btn-close:hover, .alert-dismissible .close:hover {
  opacity: 1;
}
.alert-dismissible .btn-close:focus, .alert-dismissible .close:focus {
  outline: none;
  opacity: 1;
}
.alert-dismissible .btn-close::before, .alert-dismissible .close::before {
  content: "×";
}
.alert-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.alert-icon .alert-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: 1.25rem;
}
.alert-icon .alert-icon-wrapper svg,
.alert-icon .alert-icon-wrapper i {
  width: 1.5rem;
  height: 1.5rem;
}
.alert-icon .alert-content {
  flex: 1;
  padding-top: 0.25rem;
}
.alert-icon.alert-primary .alert-icon-wrapper {
  background-color: rgba(30, 144, 255, 0.15);
  color: #1E90FF;
}
.alert-icon.alert-secondary .alert-icon-wrapper {
  background-color: rgba(108, 117, 125, 0.15);
  color: #6c757d;
}
.alert-icon.alert-success .alert-icon-wrapper {
  background-color: rgba(34, 197, 94, 0.15);
  color: #22C55E;
}
.alert-icon.alert-danger .alert-icon-wrapper {
  background-color: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}
.alert-icon.alert-warning .alert-icon-wrapper {
  background-color: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
}
.alert-icon.alert-info .alert-icon-wrapper {
  background-color: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}
.alert-icon.alert-dark .alert-icon-wrapper {
  background-color: rgba(52, 58, 64, 0.15);
  color: #343a40;
}

.alert-solid-primary {
  color: #ffffff;
  background-color: #1E90FF;
  border-color: #1E90FF;
}
.alert-solid-primary a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}
.alert-solid-primary a:hover {
  color: #ffffff;
  text-decoration: none;
}
.alert-solid-primary .alert-link {
  color: #ffffff;
  font-weight: 700;
}
.alert-solid-primary .btn-close, .alert-solid-primary .alert-dismissible .close, .alert-dismissible .alert-solid-primary .close {
  color: #ffffff;
  opacity: 0.8;
}
.alert-solid-primary .btn-close:hover, .alert-solid-primary .alert-dismissible .close:hover, .alert-dismissible .alert-solid-primary .close:hover {
  opacity: 1;
}

.alert-solid-secondary {
  color: #ffffff;
  background-color: #6c757d;
  border-color: #6c757d;
}
.alert-solid-secondary a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}
.alert-solid-secondary a:hover {
  color: #ffffff;
  text-decoration: none;
}
.alert-solid-secondary .alert-link {
  color: #ffffff;
  font-weight: 700;
}
.alert-solid-secondary .btn-close, .alert-solid-secondary .alert-dismissible .close, .alert-dismissible .alert-solid-secondary .close {
  color: #ffffff;
  opacity: 0.8;
}
.alert-solid-secondary .btn-close:hover, .alert-solid-secondary .alert-dismissible .close:hover, .alert-dismissible .alert-solid-secondary .close:hover {
  opacity: 1;
}

.alert-solid-success {
  color: #ffffff;
  background-color: #22C55E;
  border-color: #22C55E;
}
.alert-solid-success a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}
.alert-solid-success a:hover {
  color: #ffffff;
  text-decoration: none;
}
.alert-solid-success .alert-link {
  color: #ffffff;
  font-weight: 700;
}
.alert-solid-success .btn-close, .alert-solid-success .alert-dismissible .close, .alert-dismissible .alert-solid-success .close {
  color: #ffffff;
  opacity: 0.8;
}
.alert-solid-success .btn-close:hover, .alert-solid-success .alert-dismissible .close:hover, .alert-dismissible .alert-solid-success .close:hover {
  opacity: 1;
}

.alert-solid-danger {
  color: #ffffff;
  background-color: #EF4444;
  border-color: #EF4444;
}
.alert-solid-danger a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}
.alert-solid-danger a:hover {
  color: #ffffff;
  text-decoration: none;
}
.alert-solid-danger .alert-link {
  color: #ffffff;
  font-weight: 700;
}
.alert-solid-danger .btn-close, .alert-solid-danger .alert-dismissible .close, .alert-dismissible .alert-solid-danger .close {
  color: #ffffff;
  opacity: 0.8;
}
.alert-solid-danger .btn-close:hover, .alert-solid-danger .alert-dismissible .close:hover, .alert-dismissible .alert-solid-danger .close:hover {
  opacity: 1;
}

.alert-solid-warning {
  color: #ffffff;
  background-color: #F59E0B;
  border-color: #F59E0B;
  color: #212529;
}
.alert-solid-warning a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}
.alert-solid-warning a:hover {
  color: #ffffff;
  text-decoration: none;
}
.alert-solid-warning .alert-link {
  color: #ffffff;
  font-weight: 700;
}
.alert-solid-warning .btn-close, .alert-solid-warning .alert-dismissible .close, .alert-dismissible .alert-solid-warning .close {
  color: #ffffff;
  opacity: 0.8;
}
.alert-solid-warning .btn-close:hover, .alert-solid-warning .alert-dismissible .close:hover, .alert-dismissible .alert-solid-warning .close:hover {
  opacity: 1;
}
.alert-solid-warning a,
.alert-solid-warning .alert-link,
.alert-solid-warning .btn-close,
.alert-solid-warning .alert-dismissible .close,
.alert-dismissible .alert-solid-warning .close {
  color: #212529;
}

.alert-solid-info {
  color: #ffffff;
  background-color: #38BDF8;
  border-color: #38BDF8;
}
.alert-solid-info a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}
.alert-solid-info a:hover {
  color: #ffffff;
  text-decoration: none;
}
.alert-solid-info .alert-link {
  color: #ffffff;
  font-weight: 700;
}
.alert-solid-info .btn-close, .alert-solid-info .alert-dismissible .close, .alert-dismissible .alert-solid-info .close {
  color: #ffffff;
  opacity: 0.8;
}
.alert-solid-info .btn-close:hover, .alert-solid-info .alert-dismissible .close:hover, .alert-dismissible .alert-solid-info .close:hover {
  opacity: 1;
}

.alert-solid-dark {
  color: #ffffff;
  background-color: #343a40;
  border-color: #343a40;
}
.alert-solid-dark a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}
.alert-solid-dark a:hover {
  color: #ffffff;
  text-decoration: none;
}
.alert-solid-dark .alert-link {
  color: #ffffff;
  font-weight: 700;
}
.alert-solid-dark .btn-close, .alert-solid-dark .alert-dismissible .close, .alert-dismissible .alert-solid-dark .close {
  color: #ffffff;
  opacity: 0.8;
}
.alert-solid-dark .btn-close:hover, .alert-solid-dark .alert-dismissible .close:hover, .alert-dismissible .alert-solid-dark .close:hover {
  opacity: 1;
}

.alert-outline-primary {
  color: #1E90FF;
  background-color: #ffffff;
  border: 2px solid #1E90FF;
}
.alert-outline-primary a {
  color: #0077ea;
}
.alert-outline-primary a:hover {
  color: #005db7;
}
.alert-outline-primary .alert-link {
  color: #0077ea;
  font-weight: 700;
}
.alert-outline-primary .btn-close, .alert-outline-primary .alert-dismissible .close, .alert-dismissible .alert-outline-primary .close {
  color: #1E90FF;
}

.alert-outline-secondary {
  color: #6c757d;
  background-color: #ffffff;
  border: 2px solid #6c757d;
}
.alert-outline-secondary a {
  color: #545b62;
}
.alert-outline-secondary a:hover {
  color: #3d4246;
}
.alert-outline-secondary .alert-link {
  color: #545b62;
  font-weight: 700;
}
.alert-outline-secondary .btn-close, .alert-outline-secondary .alert-dismissible .close, .alert-dismissible .alert-outline-secondary .close {
  color: #6c757d;
}

.alert-outline-success {
  color: #22C55E;
  background-color: #ffffff;
  border: 2px solid #22C55E;
}
.alert-outline-success a {
  color: #1a9a49;
}
.alert-outline-success a:hover {
  color: #136e34;
}
.alert-outline-success .alert-link {
  color: #1a9a49;
  font-weight: 700;
}
.alert-outline-success .btn-close, .alert-outline-success .alert-dismissible .close, .alert-dismissible .alert-outline-success .close {
  color: #22C55E;
}

.alert-outline-danger {
  color: #EF4444;
  background-color: #ffffff;
  border: 2px solid #EF4444;
}
.alert-outline-danger a {
  color: #eb1515;
}
.alert-outline-danger a:hover {
  color: #bd1010;
}
.alert-outline-danger .alert-link {
  color: #eb1515;
  font-weight: 700;
}
.alert-outline-danger .btn-close, .alert-outline-danger .alert-dismissible .close, .alert-dismissible .alert-outline-danger .close {
  color: #EF4444;
}

.alert-outline-warning {
  color: #F59E0B;
  background-color: #ffffff;
  border: 2px solid #F59E0B;
}
.alert-outline-warning a {
  color: #c57f08;
}
.alert-outline-warning a:hover {
  color: #945f06;
}
.alert-outline-warning .alert-link {
  color: #c57f08;
  font-weight: 700;
}
.alert-outline-warning .btn-close, .alert-outline-warning .alert-dismissible .close, .alert-dismissible .alert-outline-warning .close {
  color: #F59E0B;
}

.alert-outline-info {
  color: #38BDF8;
  background-color: #ffffff;
  border: 2px solid #38BDF8;
}
.alert-outline-info a {
  color: #09acf4;
}
.alert-outline-info a:hover {
  color: #0789c3;
}
.alert-outline-info .alert-link {
  color: #09acf4;
  font-weight: 700;
}
.alert-outline-info .btn-close, .alert-outline-info .alert-dismissible .close, .alert-dismissible .alert-outline-info .close {
  color: #38BDF8;
}

.alert-outline-dark {
  color: #343a40;
  background-color: #ffffff;
  border: 2px solid #343a40;
}
.alert-outline-dark a {
  color: #1d2124;
}
.alert-outline-dark a:hover {
  color: #060708;
}
.alert-outline-dark .alert-link {
  color: #1d2124;
  font-weight: 700;
}
.alert-outline-dark .btn-close, .alert-outline-dark .alert-dismissible .close, .alert-dismissible .alert-outline-dark .close {
  color: #343a40;
}

.alert-modern {
  border: none;
  border-left: 4px solid currentColor;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.5rem;
}
.alert-modern.alert-modern-primary {
  background: linear-gradient(135deg, white 0%, white 100%);
  border-left-color: #1E90FF;
  color: #0077ea;
}
.alert-modern.alert-modern-success {
  background: linear-gradient(135deg, #e2faeb 0%, #d5f8e2 100%);
  border-left-color: #22C55E;
  color: #1a9a49;
}
.alert-modern.alert-modern-danger {
  background: linear-gradient(135deg, white 0%, white 100%);
  border-left-color: #EF4444;
  color: #eb1515;
}
.alert-modern.alert-modern-warning {
  background: linear-gradient(135deg, #fdeccf 0%, #fce6c0 100%);
  border-left-color: #F59E0B;
  color: #634004;
}
.alert-modern.alert-modern-info {
  background: linear-gradient(135deg, white 0%, white 100%);
  border-left-color: #38BDF8;
  color: #09acf4;
}
.alert-modern.alert-modern-dark {
  background: linear-gradient(135deg, #adb4bc 0%, #a4adb5 100%);
  border-left-color: #343a40;
  color: #292d32;
}

.alert-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.alert-sm.alert-dismissible {
  padding-right: 3rem;
}
.alert-sm .btn-close, .alert-sm .alert-dismissible .close, .alert-dismissible .alert-sm .close {
  padding: 0.5rem 0.75rem;
  font-size: 1.125rem;
}

.alert-lg {
  padding: 1.5rem 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  border-radius: 0.75rem;
}
.alert-lg.alert-dismissible {
  padding-right: 6rem;
}
.alert-lg .btn-close, .alert-lg .alert-dismissible .close, .alert-dismissible .alert-lg .close {
  padding: 1.5rem 2rem;
  font-size: 1.5rem;
}
.alert-lg .alert-heading {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.alert-rounded {
  border-radius: 0.75rem;
  margin-top: 1.5rem;
}

.alert-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.alert-actions .alert-content {
  flex: 1;
}
.alert-actions .alert-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.alert-actions .alert-buttons .btn {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.alert-list {
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding-left: 1.5rem;
}
.alert-list li {
  margin-bottom: 0.25rem;
}
.alert-list li:last-child {
  margin-bottom: 0;
}

.alert-toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1070;
  min-width: 300px;
  max-width: 400px;
  margin-bottom: 0;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  animation: alert-slide-in 0.3s ease-out;
}
.alert-toast.alert-toast-bottom-right {
  top: auto;
  bottom: 1rem;
}
.alert-toast.alert-toast-bottom-left {
  top: auto;
  right: auto;
  bottom: 1rem;
  left: 1rem;
}
.alert-toast.alert-toast-top-left {
  right: auto;
  left: 1rem;
}
.alert-toast.alert-toast-top-center {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}
.alert-toast.alert-toast-bottom-center {
  top: auto;
  right: auto;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}
@keyframes alert-slide-in {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.alert-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.alert-animated {
  animation: alert-fade-in 0.3s ease-out;
}
@keyframes alert-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.alert-animated.alert-fade-out {
  animation: alert-fade-out 0.3s ease-out forwards;
}
@keyframes alert-fade-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.alert-progress {
  position: relative;
  overflow: hidden;
}
.alert-progress::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background-color: currentColor;
  opacity: 0.3;
  animation: alert-progress 5s linear forwards;
}
@keyframes alert-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.alert-collapsible .alert-toggle {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.alert-collapsible .alert-toggle::after {
  content: "▼";
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}
.alert-collapsible .alert-toggle.collapsed::after {
  transform: rotate(-90deg);
}
.alert-collapsible .alert-collapse-content {
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.3s ease, margin 0.3s ease;
  margin-top: 0.75rem;
}
.alert-collapsible .alert-collapse-content.collapsed {
  max-height: 0;
  margin-top: 0;
}

@media (max-width: 575px) {
  .alert-toast {
    left: 0.5rem;
    right: 0.5rem;
    min-width: auto;
    max-width: none;
  }

  .alert-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .alert-actions .alert-buttons {
    width: 100%;
  }
  .alert-actions .alert-buttons .btn {
    flex: 1;
  }

  .alert-icon .alert-icon-wrapper {
    width: 2rem;
    height: 2rem;
    font-size: 1.125rem;
  }
  .alert-icon .alert-icon-wrapper svg,
.alert-icon .alert-icon-wrapper i {
    width: 1.25rem;
    height: 1.25rem;
  }
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: auto;
  vertical-align: middle;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.2s ease;
}
.dropdown-toggle.show::after, .dropdown-toggle[aria-expanded=true]::after {
  transform: rotate(180deg);
}
.dropdown-toggle.dropdown-toggle-no-caret::after {
  display: none;
}
.dropdown-toggle.dropdown-toggle-split {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}
.dropdown-toggle.dropdown-toggle-split::after {
  margin-left: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0.25rem 0 0;
  font-size: 1rem;
  color: #111827;
  text-align: left;
  list-style: none;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease;
}
.dropdown-menu.show {
  display: block;
}
.dropdown-menu.dropdown-menu-end {
  right: 0;
  left: auto;
}
.dropdown-menu.dropdown-menu-start {
  right: auto;
  left: 0;
}

.dropdown-menu-sm {
  min-width: 8rem;
  font-size: 0.875rem;
}

.dropdown-menu-lg {
  min-width: 16rem;
  font-size: 1rem;
}

.dropdown-menu-xl {
  min-width: 24rem;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  clear: both;
  font-weight: 400;
  color: #111827;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dropdown-item:hover, .dropdown-item:focus {
  color: #111827;
  text-decoration: none;
  background-color: #f8f9fa;
}
.dropdown-item.active, .dropdown-item:active {
  color: #ffffff;
  text-decoration: none;
  background-color: #1E90FF;
}
.dropdown-item.disabled, .dropdown-item:disabled {
  color: #6B7280;
  pointer-events: none;
  background-color: transparent;
  cursor: not-allowed;
  opacity: 0.5;
}
.dropdown-item svg,
.dropdown-item i {
  margin-right: 0.5rem;
  font-size: 1.125rem;
  width: 1.25rem;
  vertical-align: middle;
}

.dropdown-item-text {
  display: block;
  padding: 0.5rem 1rem;
  color: #111827;
}

.dropdown-header {
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid #E5E7EB;
}

.dropup .dropdown-menu {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 0.25rem;
}
.dropup .dropdown-toggle::after {
  border-top: 0;
  border-bottom: 0.3em solid;
}

.dropend .dropdown-menu {
  top: 0;
  right: auto;
  left: 100%;
  margin-top: 0;
  margin-left: 0.25rem;
}
.dropend .dropdown-toggle::after {
  border-top: 0.3em solid transparent;
  border-right: 0;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
}
.dropend.show .dropdown-toggle::after {
  transform: none;
}

.dropstart .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: 0;
  margin-right: 0.25rem;
}
.dropstart .dropdown-toggle::after {
  display: none;
}
.dropstart .dropdown-toggle::before {
  content: "";
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: middle;
  border-top: 0.3em solid transparent;
  border-right: 0.3em solid;
  border-bottom: 0.3em solid transparent;
}
.dropstart.show .dropdown-toggle::before {
  transform: none;
}

.dropdown-menu-dark {
  color: #dee2e6;
  background-color: #343a40;
  border-color: #4b545c;
}
.dropdown-menu-dark .dropdown-item {
  color: #dee2e6;
}
.dropdown-menu-dark .dropdown-item:hover, .dropdown-menu-dark .dropdown-item:focus {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}
.dropdown-menu-dark .dropdown-item.active, .dropdown-menu-dark .dropdown-item:active {
  background-color: #1E90FF;
  color: #ffffff;
}
.dropdown-menu-dark .dropdown-item.disabled, .dropdown-menu-dark .dropdown-item:disabled {
  color: #adb5bd;
}
.dropdown-menu-dark .dropdown-header {
  color: #adb5bd;
}
.dropdown-menu-dark .dropdown-divider {
  border-color: #56606a;
}

.dropdown-modern .dropdown-menu {
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
  border-radius: 0.75rem;
}
.dropdown-modern .dropdown-item {
  padding: 0.75rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.dropdown-modern .dropdown-item:hover, .dropdown-modern .dropdown-item:focus {
  background-color: rgba(30, 144, 255, 0.05);
  transform: translateX(4px);
}
.dropdown-modern .dropdown-item.active {
  background: linear-gradient(135deg, #1E90FF 0%, #51a9ff 100%);
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.dropdown-modern .dropdown-header {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}
.dropdown-modern .dropdown-divider {
  margin: 0.75rem 1rem;
}

.dropdown-menu-fade {
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dropdown-menu-fade.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu-scale {
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transform-origin: top left;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dropdown-menu-scale.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.dropdown-menu-scale.dropdown-menu-end {
  transform-origin: top right;
}

.dropdown-search {
  padding: 0.75rem 1rem 0.5rem;
  border-bottom: 1px solid #E5E7EB;
}
.dropdown-search .form-control {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}

.dropdown-footer {
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid #E5E7EB;
  text-align: center;
}
.dropdown-footer a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E90FF;
  text-decoration: none;
}
.dropdown-footer a:hover {
  text-decoration: underline;
}

.dropdown-mega {
  position: static;
}
.dropdown-mega .dropdown-menu {
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}
.dropdown-mega .dropdown-menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}
.dropdown-mega .dropdown-menu .col {
  flex: 1;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}
.dropdown-mega .mega-menu-header {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}
.dropdown-mega .mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dropdown-mega .mega-menu-list li {
  margin-bottom: 0.5rem;
}
.dropdown-mega .mega-menu-list li a {
  color: #111827;
  text-decoration: none;
  transition: all 0.15s ease;
}
.dropdown-mega .mega-menu-list li a:hover {
  color: #1E90FF;
  padding-left: 0.25rem;
}

.dropdown-user .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}
.dropdown-user .dropdown-toggle:hover {
  background-color: #f8f9fa;
}
.dropdown-user .dropdown-user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.dropdown-user .dropdown-user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}
.dropdown-user .dropdown-user-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: #111827;
}
.dropdown-user .dropdown-user-email {
  font-size: 0.75rem;
  color: #6B7280;
}

.dropdown-notification .dropdown-toggle {
  position: relative;
}
.dropdown-notification .dropdown-toggle .notification-badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  display: inline-block;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.3rem;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.25rem;
  color: #ffffff;
  text-align: center;
  background-color: #EF4444;
  border-radius: 9999px;
  border: 2px solid #ffffff;
}
.dropdown-notification .dropdown-menu {
  width: 20rem;
  max-height: 24rem;
  overflow-y: auto;
  padding: 0;
}
.dropdown-notification .notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #E5E7EB;
  background-color: #f9fafb;
}
.dropdown-notification .notification-header .notification-title {
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}
.dropdown-notification .notification-header .notification-badge-count {
  font-size: 0.75rem;
  color: #6B7280;
}
.dropdown-notification .notification-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #E5E7EB;
  transition: all 0.15s ease;
  cursor: pointer;
}
.dropdown-notification .notification-item:hover {
  background-color: #f9fafb;
}
.dropdown-notification .notification-item.unread {
  background-color: rgba(30, 144, 255, 0.03);
}
.dropdown-notification .notification-item.unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background-color: #1E90FF;
  border-radius: 0 9999px 9999px 0;
}
.dropdown-notification .notification-item .notification-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
}
.dropdown-notification .notification-item .notification-content {
  flex: 1;
  min-width: 0;
}
.dropdown-notification .notification-item .notification-text {
  font-size: 0.875rem;
  color: #111827;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dropdown-notification .notification-item .notification-time {
  font-size: 0.75rem;
  color: #6B7280;
}
.dropdown-notification .notification-footer {
  padding: 0.5rem 1rem;
  text-align: center;
  border-top: 1px solid #E5E7EB;
  background-color: #f9fafb;
}
.dropdown-notification .notification-footer a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E90FF;
  text-decoration: none;
}
.dropdown-notification .notification-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 575px) {
  .dropdown-menu {
    position: fixed;
    top: auto !important;
    right: 0.5rem !important;
    bottom: 0.5rem !important;
    left: 0.5rem !important;
    width: auto;
    max-width: none;
    max-height: 60vh;
    overflow-y: auto;
    margin: 0;
    transform: none !important;
  }

  .dropdown-mega .dropdown-menu {
    padding: 1rem;
  }
  .dropdown-mega .dropdown-menu .row {
    flex-direction: column;
  }
  .dropdown-mega .dropdown-menu .col {
    width: 100%;
    margin-bottom: 1rem;
  }
  .dropdown-mega .dropdown-menu .col:last-child {
    margin-bottom: 0;
  }

  .dropdown-notification .dropdown-menu {
    width: auto;
  }

  .dropdown-user-info {
    display: none;
  }
}
.spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
  border: 0.25rem solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-rotate 0.75s linear infinite;
}
@keyframes spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

.spinner-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.15rem;
}

.spinner-lg {
  width: 3rem;
  height: 3rem;
  border-width: 0.35rem;
}

.spinner-xl {
  width: 4rem;
  height: 4rem;
  border-width: 0.4rem;
}

.spinner-primary {
  color: #1E90FF;
}

.spinner-secondary {
  color: #6c757d;
}

.spinner-success {
  color: #22C55E;
}

.spinner-danger {
  color: #EF4444;
}

.spinner-warning {
  color: #F59E0B;
}

.spinner-info {
  color: #38BDF8;
}

.spinner-light {
  color: #f8f9fa;
}

.spinner-dark {
  color: #343a40;
}

.spinner-white {
  color: #ffffff;
}

.spinner-grow {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
  background-color: currentColor;
  border-radius: 50%;
  opacity: 0;
  animation: spinner-grow 0.75s linear infinite;
}
@keyframes spinner-grow {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
.spinner-grow.spinner-sm {
  width: 1rem;
  height: 1rem;
}
.spinner-grow.spinner-lg {
  width: 3rem;
  height: 3rem;
}
.spinner-grow.spinner-xl {
  width: 4rem;
  height: 4rem;
}

.spinner-dots {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.spinner-dots span {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background-color: currentColor;
  border-radius: 50%;
  animation: spinner-dots 1.4s ease-in-out infinite both;
}
.spinner-dots span:nth-child(1) {
  animation-delay: -0.32s;
}
.spinner-dots span:nth-child(2) {
  animation-delay: -0.16s;
}
@keyframes spinner-dots {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.spinner-dots.spinner-sm span {
  width: 0.35rem;
  height: 0.35rem;
}
.spinner-dots.spinner-lg span {
  width: 0.75rem;
  height: 0.75rem;
}

.spinner-pulse {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-color: currentColor;
  border-radius: 50%;
  animation: spinner-pulse 1.5s ease-in-out infinite;
}
@keyframes spinner-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.7);
  }
}
.spinner-pulse.spinner-sm {
  width: 1rem;
  height: 1rem;
}
.spinner-pulse.spinner-lg {
  width: 3rem;
  height: 3rem;
}

.spinner-bars {
  display: inline-flex;
  gap: 0.2rem;
  align-items: center;
  height: 2rem;
}
.spinner-bars span {
  display: inline-block;
  width: 0.25rem;
  height: 100%;
  background-color: currentColor;
  border-radius: 0.25rem;
  animation: spinner-bars 1.2s ease-in-out infinite;
}
.spinner-bars span:nth-child(1) {
  animation-delay: -0.4s;
}
.spinner-bars span:nth-child(2) {
  animation-delay: -0.3s;
}
.spinner-bars span:nth-child(3) {
  animation-delay: -0.2s;
}
.spinner-bars span:nth-child(4) {
  animation-delay: -0.1s;
}
@keyframes spinner-bars {
  0%, 40%, 100% {
    transform: scaleY(0.4);
  }
  20% {
    transform: scaleY(1);
  }
}
.spinner-bars.spinner-sm {
  height: 1rem;
}
.spinner-bars.spinner-lg {
  height: 3rem;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
.loading-overlay.loading-overlay-light {
  background-color: rgba(255, 255, 255, 0.9);
}
.loading-overlay.loading-overlay-transparent {
  background-color: transparent;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

.loading-container {
  position: relative;
}
.loading-container.is-loading {
  pointer-events: none;
  opacity: 0.6;
}
.loading-container.is-loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
}
.loading-container.is-loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 0.3rem solid #1E90FF;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-rotate 0.75s linear infinite;
  z-index: 11;
}

.skeleton {
  display: block;
  background-color: #e9ecef;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}
.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0));
  animation: skeleton-shimmer 2s infinite;
}
@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
}
.skeleton-text:last-child {
  margin-bottom: 0;
  width: 80%;
}

.skeleton-title {
  height: 1.5rem;
  width: 60%;
  margin-bottom: 0.75rem;
  border-radius: 0.25rem;
}

.skeleton-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}
.skeleton-avatar.skeleton-avatar-sm {
  width: 2rem;
  height: 2rem;
}
.skeleton-avatar.skeleton-avatar-lg {
  width: 4rem;
  height: 4rem;
}
.skeleton-avatar.skeleton-avatar-xl {
  width: 6rem;
  height: 6rem;
}

.skeleton-button {
  height: 2.5rem;
  width: 6rem;
  border-radius: 0.5rem;
}

.skeleton-card {
  height: 12rem;
  border-radius: 0.75rem;
}

.skeleton-image {
  width: 100%;
  height: 12rem;
  border-radius: 0.5rem;
}
.skeleton-image.skeleton-image-sm {
  height: 8rem;
}
.skeleton-image.skeleton-image-lg {
  height: 16rem;
}

.skeleton-circle {
  border-radius: 50%;
}

.skeleton-square {
  border-radius: 0;
}

.skeleton-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.progress {
  display: flex;
  height: 1rem;
  overflow: hidden;
  font-size: 0.75rem;
  background-color: #e9ecef;
  border-radius: 0.5rem;
}

.progress-bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  background-color: #1E90FF;
  transition: width 0.6s ease;
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}

.progress-bar-animated {
  animation: progress-bar-stripes 1s linear infinite;
}
@keyframes progress-bar-stripes {
  0% {
    background-position: 1rem 0;
  }
  100% {
    background-position: 0 0;
  }
}

.progress-bar-primary {
  background-color: #1E90FF;
}

.progress-bar-secondary {
  background-color: #6c757d;
}

.progress-bar-success {
  background-color: #22C55E;
}

.progress-bar-danger {
  background-color: #EF4444;
}

.progress-bar-warning {
  background-color: #F59E0B;
}

.progress-bar-info {
  background-color: #38BDF8;
}

.progress-sm {
  height: 0.5rem;
}

.progress-lg {
  height: 1.5rem;
  font-size: 0.875rem;
}

.progress-xl {
  height: 2rem;
  font-size: 1rem;
}

.progress-labeled {
  position: relative;
}
.progress-labeled .progress-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: #212529;
  z-index: 1;
}

.progress-circle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
}
.progress-circle svg {
  transform: rotate(-90deg);
}
.progress-circle svg circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}
.progress-circle svg .progress-circle-bg {
  stroke: #e9ecef;
}
.progress-circle svg .progress-circle-value {
  stroke: #1E90FF;
}
.progress-circle .progress-circle-text {
  position: absolute;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}
.progress-circle.progress-circle-sm {
  width: 3rem;
  height: 3rem;
}
.progress-circle.progress-circle-sm .progress-circle-text {
  font-size: 0.875rem;
}
.progress-circle.progress-circle-lg {
  width: 7rem;
  height: 7rem;
}
.progress-circle.progress-circle-lg .progress-circle-text {
  font-size: 1.25rem;
}

.loading-text {
  display: inline-block;
  font-weight: 500;
  color: #6B7280;
}
.loading-text::after {
  content: "";
  animation: loading-text-dots 1.5s steps(4, end) infinite;
}
@keyframes loading-text-dots {
  0%, 20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%, 100% {
    content: "...";
  }
}

.loading-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: 2rem;
}
.loading-message .loading-icon {
  font-size: 2.25rem;
  color: #1E90FF;
}
.loading-message .loading-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}
.loading-message .loading-description {
  font-size: 0.875rem;
  color: #6B7280;
  max-width: 24rem;
  margin: 0;
}

.btn.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -0.5rem;
  margin-top: -0.5rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-rotate 0.6s linear infinite;
}

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}
.page-loader .page-loader-spinner {
  margin-bottom: 1rem;
}
.page-loader .page-loader-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: #6B7280;
}
.page-loader.page-loader-dark {
  background-color: #343a40;
  color: #ffffff;
}
.page-loader.page-loader-dark .page-loader-text {
  color: #dee2e6;
}

.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1030;
  background-color: #1E90FF;
  transform-origin: left;
  animation: loading-bar 2s ease-in-out infinite;
}
@keyframes loading-bar {
  0% {
    transform: scaleX(0);
  }
  50% {
    transform: scaleX(0.5);
  }
  100% {
    transform: scaleX(1);
  }
}
.loading-bar.loading-bar-success {
  background-color: #22C55E;
}
.loading-bar.loading-bar-danger {
  background-color: #EF4444;
}
.loading-bar.loading-bar-warning {
  background-color: #F59E0B;
}

.shimmer {
  background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 575px) {
  .spinner-xl {
    width: 3rem;
    height: 3rem;
  }

  .loading-message {
    padding: 1rem;
  }
  .loading-message .loading-title {
    font-size: 1rem;
  }
  .loading-message .loading-description {
    font-size: 0.75rem;
  }

  .progress-circle {
    width: 4rem;
    height: 4rem;
  }
  .progress-circle .progress-circle-text {
    font-size: 1rem;
  }
  .progress-circle.progress-circle-lg {
    width: 5rem;
    height: 5rem;
  }
  .progress-circle.progress-circle-lg .progress-circle-text {
    font-size: 1.125rem;
  }
}
.calendar-wrapper {
  background: #FFFFFF;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.calendar-filters {
  background: #f9fafb;
  padding: 1.5rem;
  border-bottom: 1px solid #E5E7EB;
}
.calendar-filters .filter-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.calendar-table {
  border: none;
  border-right: solid 1px #E5E7EB;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  width: 100%;
}
.calendar-table thead th {
  background: #0A1F44;
  border: none;
  color: #ffffff;
  padding: 1rem;
  text-align: center;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.calendar-table tbody th {
  background: #495057;
  border: none;
  color: #ffffff;
  padding: 0.75rem 1rem;
  text-align: left;
  white-space: nowrap;
  font-weight: 500;
  font-size: 0.875rem;
  position: sticky;
  left: 0;
  z-index: 1000;
}
.calendar-table tbody th a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.15s ease;
}
.calendar-table tbody th a:hover {
  color: #4DA6FF;
  text-decoration: underline;
}
.calendar-table tbody th.vehicle-special {
  background: #EF4444;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.calendar-table tbody td {
  border-bottom: solid 1px #E5E7EB;
  border-right: solid 1px #E5E7EB;
  color: #111827;
  padding: 0.75rem;
  white-space: nowrap;
  font-size: 0.75rem;
  text-align: center;
  min-width: 80px;
  height: 50px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}
.calendar-table tbody td:hover {
  background: #f8f9fa;
  transform: scale(1.02);
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.calendar-table tbody td.status-reserved {
  background: #1E90FF;
  color: #ffffff;
  font-weight: 600;
}
.calendar-table tbody td.status-reserved:hover {
  background: #1873CC;
}
.calendar-table tbody td.status-drop-off {
  background: #343a40;
  color: #ffffff;
  font-weight: 600;
}
.calendar-table tbody td.status-drop-off:hover {
  background: #212529;
}
.calendar-table tbody td.status-pick-up {
  background: #22C55E;
  color: #ffffff;
  font-weight: 600;
}
.calendar-table tbody td.status-pick-up:hover {
  background: #1a9a49;
}
.calendar-table tbody td.status-cancelled {
  background: #EF4444;
  color: #ffffff;
  font-weight: 600;
}
.calendar-table tbody td.status-cancelled:hover {
  background: #eb1515;
}
.calendar-table tbody td.status-blocked {
  background: #EF4444;
  color: #ffffff;
  position: relative;
}
.calendar-table tbody td.status-blocked::after {
  content: "🚫";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.125rem;
}
.calendar-table tbody td.status-block-start {
  background: #38BDF8;
  color: #ffffff;
  font-weight: 600;
}
.calendar-table tbody td.status-block-start::before {
  content: "▶";
  margin-right: 0.25rem;
}
.calendar-table tbody td.status-block-end {
  background: #212529;
  color: #ffffff;
  font-weight: 600;
}
.calendar-table tbody td.status-block-end::after {
  content: "◀";
  margin-left: 0.25rem;
}

.calendar-scroller {
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  max-height: 75vh;
  width: 100%;
  cursor: grab;
}
.calendar-scroller:active {
  cursor: grabbing;
}
.calendar-scroller::-webkit-scrollbar {
  height: 12px;
}
.calendar-scroller::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 0.5rem;
}
.calendar-scroller::-webkit-scrollbar-thumb {
  background: #1E90FF;
  border-radius: 0.5rem;
}
.calendar-scroller::-webkit-scrollbar-thumb:hover {
  background: #1873CC;
}

.sticky-top {
  position: sticky;
  top: 0 !important;
  z-index: 1020 !important;
}

.sticky-left {
  position: sticky;
  left: 0 !important;
  z-index: 1000;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-top: 1px solid #E5E7EB;
  border-radius: 0 0 0.75rem 0.75rem;
}
.calendar-legend .legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #111827;
}
.calendar-legend .legend-item .legend-color {
  width: 24px;
  height: 24px;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.calendar-legend .legend-item.reserved .legend-color {
  background: #1E90FF;
}
.calendar-legend .legend-item.pick-up .legend-color {
  background: #22C55E;
}
.calendar-legend .legend-item.drop-off .legend-color {
  background: #343a40;
}
.calendar-legend .legend-item.cancelled .legend-color {
  background: #EF4444;
}
.calendar-legend .legend-item.blocked .legend-color {
  background: #EF4444;
}

.vehicle-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #1E90FF;
  color: #ffffff;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.vehicle-count .count-number {
  font-size: 1.5rem;
  font-weight: 700;
}

.filter-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.filter-actions .btn-filter {
  background: #1E90FF;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.filter-actions .btn-filter:hover {
  background: #1873CC;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.filter-actions .btn-filter i {
  margin-right: 0.5rem;
}
.filter-actions .btn-reset {
  background: #adb5bd;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
}
.filter-actions .btn-reset:hover {
  background: #6c757d;
  transform: translateY(-2px);
}

.reservation-modal .modal-content {
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  border: none;
}
.reservation-modal .modal-header {
  background: #1E90FF;
  color: #ffffff;
  border-radius: 0.75rem 0.75rem 0 0;
  padding: 1.5rem;
  border-bottom: none;
}
.reservation-modal .modal-header .modal-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.reservation-modal .modal-header .btn-close, .reservation-modal .modal-header .alert-dismissible .close, .alert-dismissible .reservation-modal .modal-header .close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.reservation-modal .modal-header .btn-close:hover, .reservation-modal .modal-header .alert-dismissible .close:hover, .alert-dismissible .reservation-modal .modal-header .close:hover {
  opacity: 1;
}
.reservation-modal .modal-body {
  padding: 2rem;
}
.reservation-modal .modal-footer {
  border-top: 1px solid #E5E7EB;
  padding: 1rem 2rem;
  background: #f9fafb;
}

.reservation-details .detail-row {
  display: flex;
  padding: 0.75rem 0;
  border-bottom: 1px solid #E5E7EB;
}
.reservation-details .detail-row:last-child {
  border-bottom: none;
}
.reservation-details .detail-row .detail-label {
  flex: 0 0 180px;
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
}
.reservation-details .detail-row .detail-value {
  flex: 1;
  color: #6B7280;
  font-size: 0.875rem;
}
.reservation-details .vehicle-info-card,
.reservation-details .customer-info-card {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}
.reservation-details .vehicle-info-card img,
.reservation-details .customer-info-card img {
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.reservation-details .action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.reservation-details .action-buttons .btn {
  flex: 1;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.15s ease;
}
.reservation-details .action-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calendar-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1050;
}
.calendar-loading .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #E5E7EB;
  border-top-color: #1E90FF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .calendar-filters {
    padding: 0.75rem;
  }

  .calendar-table thead th,
.calendar-table tbody th,
.calendar-table tbody td {
    padding: 0.5rem;
    font-size: 0.75rem;
  }

  .calendar-legend {
    flex-direction: column;
    gap: 0.5rem;
  }

  .filter-actions {
    flex-direction: column;
    width: 100%;
  }
  .filter-actions .btn-filter,
.filter-actions .btn-reset {
    width: 100%;
  }
}
.vehicle-comments {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vehicle-comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-bottom: 2px solid #E5E7EB;
}

.vehicle-comments-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}
.vehicle-comments-title .vehicle-comments-icon {
  width: 2rem;
  height: 2rem;
  background: rgba(30, 144, 255, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E90FF;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.vehicle-comments-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.25rem;
  background: #1E90FF;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
}

.vehicle-comments-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 520px;
  overflow-y: auto;
  padding: 0.75rem 1.5rem;
  background: #f9fafb;
  scrollbar-width: thin;
  scrollbar-color: #dee2e6 transparent;
}
.vehicle-comments-list::-webkit-scrollbar {
  width: 4px;
}
.vehicle-comments-list::-webkit-scrollbar-track {
  background: transparent;
}
.vehicle-comments-list::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 9999px;
}

.vehicle-comment-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.15s ease;
}
.vehicle-comment-item:last-child {
  border-bottom: none;
}
.vehicle-comment-item:hover .vehicle-comment-bubble {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.vehicle-comment-avatar {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.vehicle-comment-avatar:nth-child(8n+1) {
  background: #1E90FF;
}
.vehicle-comment-avatar:nth-child(8n+2) {
  background: #22C55E;
}
.vehicle-comment-avatar:nth-child(8n+3) {
  background: #F59E0B;
}
.vehicle-comment-avatar:nth-child(8n+4) {
  background: #EF4444;
}
.vehicle-comment-avatar:nth-child(8n+5) {
  background: #8B5CF6;
}
.vehicle-comment-avatar:nth-child(8n+6) {
  background: #EC4899;
}
.vehicle-comment-avatar:nth-child(8n+7) {
  background: #14B8A6;
}
.vehicle-comment-avatar:nth-child(8n+8) {
  background: #F97316;
}

.vehicle-comment-item:nth-child(8n+1) .vehicle-comment-avatar {
  background: #1E90FF;
}

.vehicle-comment-item:nth-child(8n+2) .vehicle-comment-avatar {
  background: #22C55E;
}

.vehicle-comment-item:nth-child(8n+3) .vehicle-comment-avatar {
  background: #F59E0B;
}

.vehicle-comment-item:nth-child(8n+4) .vehicle-comment-avatar {
  background: #EF4444;
}

.vehicle-comment-item:nth-child(8n+5) .vehicle-comment-avatar {
  background: #8B5CF6;
}

.vehicle-comment-item:nth-child(8n+6) .vehicle-comment-avatar {
  background: #EC4899;
}

.vehicle-comment-item:nth-child(8n+7) .vehicle-comment-avatar {
  background: #14B8A6;
}

.vehicle-comment-item:nth-child(8n+8) .vehicle-comment-avatar {
  background: #F97316;
}

.vehicle-comment-content {
  flex: 1;
  min-width: 0;
}

.vehicle-comment-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.vehicle-comment-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vehicle-comment-date {
  font-size: 0.75rem;
  color: #6B7280;
  white-space: nowrap;
  flex-shrink: 0;
}

.vehicle-comment-bubble {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 0 0.75rem 0.75rem 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #111827;
  line-height: 1.75;
  word-break: break-word;
  transition: all 0.15s ease;
}

.vehicle-comments-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  gap: 0.75rem;
  text-align: center;
  color: #6B7280;
}
.vehicle-comments-empty .vehicle-comments-empty-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: #f8f9fa;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ced4da;
}
.vehicle-comments-empty .vehicle-comments-empty-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6c757d;
  margin: 0;
}
.vehicle-comments-empty .vehicle-comments-empty-text {
  font-size: 0.75rem;
  color: #adb5bd;
  margin: 0;
}

.vehicle-comment-textarea {
  resize: none;
  min-height: 110px;
  border: 1.5px solid #E5E7EB;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  padding: 0.75rem;
}
.vehicle-comment-textarea:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12);
  outline: none;
}
.vehicle-comment-textarea::-moz-placeholder {
  color: #ced4da;
}
.vehicle-comment-textarea::placeholder {
  color: #ced4da;
}

.res-filter-area .select2-container {
  width: 100% !important;
}
.res-filter-area .col-md-3 .form-select,
.res-filter-area .col-md-3 .form-control,
.res-filter-area .col-md-3 .input-group,
.res-filter-area .col-md-6 .form-select,
.res-filter-area .col-md-6 .form-control,
.res-filter-area .col-md-6 .input-group,
.res-filter-area .col-md-12 .form-select,
.res-filter-area .col-md-12 .form-control,
.res-filter-area .col-md-12 .input-group {
  width: 100%;
}
.res-filter-area .input-daterange {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}
.res-filter-area .input-daterange .form-control {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
}
.res-filter-area .input-daterange .input-group-text {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem !important;
}

.res-stats-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.res-stats-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

a.res-stat-card {
  text-decoration: none;
  color: inherit;
}

.res-stat-card {
  background: linear-gradient(135deg, #f4faff 0%, white 100%);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(30, 144, 255, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}
.res-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: rgba(30, 144, 255, 0.15);
}
.res-stat-card .res-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1E90FF 0%, #0583ff 100%);
  color: #ffffff;
  transition: all 0.3s ease;
}
.res-stat-card:hover .res-stat-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}
.res-stat-card .res-stat-body {
  min-width: 0;
}
.res-stat-card .res-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E90FF;
  line-height: 1.1;
}
.res-stat-card .res-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: #006ad1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.res-stat-card.res-stat-total {
  background: linear-gradient(135deg, #e0e7ff 0%, #eef2ff 100%);
  border-color: rgba(102, 126, 234, 0.1);
}
.res-stat-card.res-stat-total .res-stat-icon {
  background: linear-gradient(135deg, #667eea 0%, #5568d3 100%);
}
.res-stat-card.res-stat-total .res-stat-value {
  color: #5568d3;
}
.res-stat-card.res-stat-total .res-stat-label {
  color: #6366f1;
}
.res-stat-card.res-stat-total:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.res-stat-card.res-stat-pending {
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 100%);
  border-color: rgba(245, 158, 11, 0.1);
}
.res-stat-card.res-stat-pending .res-stat-icon {
  background: linear-gradient(135deg, #F59E0B 0%, #cf8508 100%);
}
.res-stat-card.res-stat-pending .res-stat-value {
  color: #ac6f07;
}
.res-stat-card.res-stat-pending .res-stat-label {
  color: #c57f08;
}
.res-stat-card.res-stat-pending:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
.res-stat-card.res-stat-confirmed {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  border-color: rgba(56, 189, 248, 0.1);
}
.res-stat-card.res-stat-confirmed .res-stat-icon {
  background: linear-gradient(135deg, #38BDF8 0%, #11b0f7 100%);
}
.res-stat-card.res-stat-confirmed .res-stat-value {
  color: #09acf4;
}
.res-stat-card.res-stat-confirmed .res-stat-label {
  color: #38BDF8;
}
.res-stat-card.res-stat-confirmed:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3);
}
.res-stat-card.res-stat-completed {
  background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
  border-color: rgba(34, 197, 94, 0.1);
}
.res-stat-card.res-stat-completed .res-stat-icon {
  background: linear-gradient(135deg, #22C55E 0%, #1ca24d 100%);
}
.res-stat-card.res-stat-completed .res-stat-value {
  color: #1a9a49;
}
.res-stat-card.res-stat-completed .res-stat-label {
  color: #1eaf54;
}
.res-stat-card.res-stat-completed:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.res-stat-card.res-stat-cancelled {
  background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
  border-color: rgba(239, 68, 68, 0.1);
}
.res-stat-card.res-stat-cancelled .res-stat-icon {
  background: linear-gradient(135deg, #EF4444 0%, #ec1e1e 100%);
}
.res-stat-card.res-stat-cancelled .res-stat-value {
  color: #ed2d2d;
}
.res-stat-card.res-stat-cancelled .res-stat-label {
  color: #ee3636;
}
.res-stat-card.res-stat-cancelled:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.res-stat-card.res-stat-noinvoice {
  background: linear-gradient(135deg, #f3f4f6 0%, #f9fafb 100%);
  border-color: rgba(173, 181, 189, 0.1);
}
.res-stat-card.res-stat-noinvoice .res-stat-icon {
  background: linear-gradient(135deg, #6c757d 0%, #596167 100%);
}
.res-stat-card.res-stat-noinvoice .res-stat-value {
  color: #495057;
}
.res-stat-card.res-stat-noinvoice .res-stat-label {
  color: #6c757d;
}
.res-stat-card.res-stat-noinvoice:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}
.res-stat-card.res-stat-pickup-today {
  background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 100%);
  border-color: rgba(16, 185, 129, 0.1);
}
.res-stat-card.res-stat-pickup-today .res-stat-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.res-stat-card.res-stat-pickup-today .res-stat-value {
  color: #059669;
}
.res-stat-card.res-stat-pickup-today .res-stat-label {
  color: #10b981;
}
.res-stat-card.res-stat-pickup-today:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.res-stat-card.res-stat-pickup-tomorrow {
  background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
  border-color: rgba(34, 197, 94, 0.1);
}
.res-stat-card.res-stat-pickup-tomorrow .res-stat-icon {
  background: linear-gradient(135deg, #1eaf54 0%, #199145 100%);
}
.res-stat-card.res-stat-pickup-tomorrow .res-stat-value {
  color: #199145;
}
.res-stat-card.res-stat-pickup-tomorrow .res-stat-label {
  color: #1ca24d;
}
.res-stat-card.res-stat-pickup-tomorrow:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}
.res-stat-card.res-stat-dropoff-today {
  background: linear-gradient(135deg, #fed7aa 0%, #ffedd5 100%);
  border-color: rgba(245, 158, 11, 0.1);
}
.res-stat-card.res-stat-dropoff-today .res-stat-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.res-stat-card.res-stat-dropoff-today .res-stat-value {
  color: #d97706;
}
.res-stat-card.res-stat-dropoff-today .res-stat-label {
  color: #f59e0b;
}
.res-stat-card.res-stat-dropoff-today:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}
.res-stat-card.res-stat-dropoff-tomorrow {
  background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
  border-color: rgba(30, 144, 255, 0.1);
}
.res-stat-card.res-stat-dropoff-tomorrow .res-stat-icon {
  background: linear-gradient(135deg, #1E90FF 0%, #007cf4 100%);
}
.res-stat-card.res-stat-dropoff-tomorrow .res-stat-value {
  color: #0583ff;
}
.res-stat-card.res-stat-dropoff-tomorrow .res-stat-label {
  color: #1E90FF;
}
.res-stat-card.res-stat-dropoff-tomorrow:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}
.res-stat-card.res-stat-thisweek {
  background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
  border-color: rgba(139, 92, 246, 0.1);
}
.res-stat-card.res-stat-thisweek .res-stat-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}
.res-stat-card.res-stat-thisweek .res-stat-value {
  color: #7c3aed;
}
.res-stat-card.res-stat-thisweek .res-stat-label {
  color: #8b5cf6;
}
.res-stat-card.res-stat-thisweek:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.res-stat-card.res-stat-newtoday {
  background: linear-gradient(135deg, #cffafe 0%, #ecfeff 100%);
  border-color: rgba(6, 182, 212, 0.1);
}
.res-stat-card.res-stat-newtoday .res-stat-icon {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}
.res-stat-card.res-stat-newtoday .res-stat-value {
  color: #0891b2;
}
.res-stat-card.res-stat-newtoday .res-stat-label {
  color: #06b6d4;
}
.res-stat-card.res-stat-newtoday:hover .res-stat-icon {
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}
.res-stat-card.res-stat-active {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px) scale(1.01);
  position: relative;
}
.res-stat-card.res-stat-active .res-stat-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.res-stat-card.res-stat-active .res-stat-value {
  font-size: 1.3rem;
}
.res-stat-card.res-stat-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
  border-radius: 0.75rem;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .res-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .res-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
#filterToggleBtn {
  transition: all 0.3s ease;
}
#filterToggleBtn:hover {
  transform: translateY(-2px);
}
#filterToggleBtn i {
  transition: transform 0.2s ease;
}
#filterToggleBtn:hover i {
  transform: rotate(15deg);
}

#reservationFilterCollapsible {
  transition: none;
}
#reservationFilterCollapsible.collapsing {
  transition: height 0.35s ease;
}

.service-type-selector {
  margin-bottom: 1rem;
}

.service-type-card {
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.service-type-card:hover {
  border-color: #1E90FF;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.15);
  transform: translateY(-1px);
}
.service-type-card.active {
  border-color: #1E90FF;
  border-width: 1px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.08) 0%, rgba(77, 166, 255, 0.12) 100%);
  color: #212529;
  box-shadow: 0 3px 12px rgba(30, 144, 255, 0.25);
}
.service-type-card.active .icon {
  color: #1E90FF;
}
.service-type-card.active .description {
  color: #495057;
}
.service-type-card.active .title {
  color: #212529;
  font-weight: 700;
}
.service-type-card .icon {
  font-size: 1.875rem;
  color: #1E90FF;
  flex-shrink: 0;
}
.service-type-card .service-text {
  flex: 1;
  text-align: left;
}
.service-type-card .title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}
.service-type-card .description {
  font-size: 0.6875rem;
  color: #6B7280;
  line-height: 1.25;
}

.form-section {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #e9ecef;
}

.form-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #1E90FF;
  color: #111827;
}
.form-section-title .location-icon {
  color: #1E90FF;
  font-size: 1.125rem;
}

.reservation-search-form .form-group label {
  font-weight: 600;
  color: #495057;
}
.reservation-search-form .form-control::-moz-placeholder {
  text-decoration: none !important;
}
.reservation-search-form .form-control::placeholder {
  text-decoration: none !important;
}
.reservation-search-form .form-control:hover::-moz-placeholder {
  text-decoration: none !important;
}
.reservation-search-form .form-control:hover::placeholder {
  text-decoration: none !important;
}
.reservation-search-form .form-control:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.15);
}
.reservation-search-form .input-group-addon,
.reservation-search-form .input-group-text {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.12) 0%, rgba(77, 166, 255, 0.08) 100%) !important;
  color: #1E90FF !important;
  border: 1px solid rgba(30, 144, 255, 0.3) !important;
  font-weight: 500;
}
.reservation-search-form .input-group-addon i,
.reservation-search-form .input-group-text i {
  color: #1E90FF !important;
}

.itinerary-item {
  background: #ffffff;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
  position: relative;
}

.itinerary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}
.itinerary-header strong {
  color: #1E90FF;
}

#car-with-driver-fields {
  display: none;
}

.pac-container {
  z-index: 10000 !important;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-in {
  animation: slideInUp 0.4s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.vehicle-card-animated {
  animation: slideInUp 0.5s ease-out forwards;
  opacity: 0;
}

.block-header {
  margin-top: 0;
  padding: 0.5rem 0 0.5rem 0.75rem;
  border-left: 5px solid #1E90FF;
  background: #343a40 !important;
  margin-left: 1px;
}

.vehicle-card {
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
  position: relative;
  overflow: hidden;
}
.vehicle-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 144, 255, 0.1), transparent);
  transition: left 0.5s;
}
.vehicle-card:hover::before {
  left: 100%;
}
.vehicle-card:hover {
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.3);
  border-color: #1E90FF;
  transform: translateY(-5px);
}
.vehicle-card:hover .vehicle-image {
  transform: scale(1.1);
}
.vehicle-card:hover .vehicle-name {
  color: #1E90FF;
}
.vehicle-card:hover .vehicle-info-overlay {
  background: linear-gradient(to top, rgba(30, 144, 255, 0.95) 0%, rgba(30, 144, 255, 0.75) 70%, transparent 100%);
}
.vehicle-card:hover .vehicle-overlay-title {
  transform: translateY(-2px);
}

.vehicle-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #f8f9fa;
}

.vehicle-image {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.75rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vehicle-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-top: 0.5rem;
  color: #111827;
  transition: color 0.3s ease;
}

.vehicle-class {
  color: #6B7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.vehicle-features {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}
.vehicle-features li {
  display: inline-block;
  margin-right: 1rem;
  font-size: 0.75rem;
  color: #6B7280;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}
.vehicle-features li:hover {
  background: #e9ecef;
  transform: translateY(-2px);
}
.vehicle-features li i {
  color: #1E90FF;
  margin-right: 0.25rem;
}

.pricing-box {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 0;
  border: 1px solid #e9ecef;
  color: #111827;
  transition: all 0.3s ease;
}
.pricing-box:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.pricing-box .pricing-box-title {
  margin: 0 0 0.5rem 0 !important;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 0.5rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  padding: 0.25rem 0;
  color: #111827;
  transition: all 0.2s ease;
}
.price-item span {
  color: #111827;
}
.price-item:hover {
  padding-left: 0.25rem;
  color: #1E90FF;
}
.price-item:hover span {
  color: #1E90FF;
}

.price-discount {
  color: #22C55E;
}
.price-discount .discount-amount {
  font-weight: 700;
}

.price-tax {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e9ecef;
}

.price-total {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E90FF;
  border-top: 2px solid #1E90FF;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

.search-summary {
  background: linear-gradient(135deg, #f9fafb 0%, #e9ecef 100%);
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
}

.search-summary-edit-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  color: #1E90FF !important;
  border: 2px solid #1E90FF !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.search-summary-edit-btn i {
  font-size: 1rem;
}
.search-summary-edit-btn:hover {
  background: #1E90FF !important;
  color: #ffffff !important;
  border-color: #1E90FF !important;
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.3);
}
.search-summary-edit-btn:active {
  transform: scale(0.95);
}

.search-summary-item {
  display: inline-block;
  margin-right: 1.5rem;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
}
.search-summary-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.search-summary-item i {
  color: #1E90FF;
  margin-right: 0.25rem;
}

.no-vehicles {
  text-align: center;
  padding: 6rem;
  color: #6B7280;
}
.no-vehicles i {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.vehicle-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.vehicle-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.badge-premium {
  background: linear-gradient(135deg, #1E90FF, #51a9ff);
  color: #ffffff;
}

.badge-popular {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: #ffffff;
}

.badge-discount {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #ffffff;
}

.vehicle-info-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 11;
}
.vehicle-info-btn:hover {
  background: #ffffff;
  transform: scale(1.15) rotate(360deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.vehicle-info-btn i {
  color: #1E90FF;
  font-size: 0.875rem;
}

.vehicle-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
  padding: 1rem 0.75rem 0.75rem;
  z-index: 10;
  transform: translateY(0);
  transition: all 0.4s ease;
}

.vehicle-overlay-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.vehicle-overlay-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.overlay-detail-item {
  font-size: 0.75rem;
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.overlay-detail-item i {
  margin-right: 0.25rem;
  color: #ffffff;
}
.overlay-detail-item .ml-2 {
  margin-left: 0.75rem;
}

.vehicle-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: 0.75rem;
}
.vehicle-card-overlay.show {
  display: flex;
}

.vehicle-search-section {
  background: transparent;
  padding: 0.25rem 0;
  margin-bottom: 2rem;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.vehicle-count-title {
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.vehicle-search-icon {
  background: #ffffff !important;
  border-right: 0 !important;
}

.vehicle-search-input {
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.vehicle-search-input:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 0.2rem rgba(30, 144, 255, 0.25);
  outline: none;
}
.vehicle-search-input::-moz-placeholder {
  color: #6B7280;
  font-style: italic;
}
.vehicle-search-input::placeholder {
  color: #6B7280;
  font-style: italic;
}

.no-search-results {
  text-align: center;
  padding: 6rem 1.5rem;
  color: #6B7280;
}
.no-search-results i {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}
.no-search-results h4 {
  color: #6B7280;
  margin-bottom: 0.5rem;
}

#searchResultsCount {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #1E90FF;
  font-weight: 500;
}

.vehicle-card.search-hidden {
  display: none !important;
}

.vehicle-card.search-visible {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-header-vehicle {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.08) 0%, rgba(77, 166, 255, 0.12) 100%);
  border-bottom: 3px solid #1E90FF;
  color: #212529;
}
.modal-header-vehicle .modal-title {
  color: #212529;
  font-weight: 700;
}
.modal-header-vehicle .close {
  color: #212529;
  opacity: 0.7;
}
.modal-header-vehicle .close:hover {
  opacity: 1;
  color: #1E90FF;
}

.vehicle-modal-image {
  width: 100%;
  border-radius: 0.75rem;
}

.vehicle-specs-list .vehicle-spec-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
}
.vehicle-specs-list .vehicle-spec-item:last-child {
  border-bottom: none;
}

@media (max-width: 575px) {
  .service-type-card {
    margin-bottom: 0.5rem;
  }
  .service-type-card .icon {
    font-size: 1.5rem;
  }
  .service-type-card .title {
    font-size: 0.75rem;
  }
  .service-type-card .description {
    font-size: 0.625rem;
  }

  .form-section {
    padding: 1rem;
  }

  .btn-search {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }

  .vehicle-card {
    padding: 0.75rem;
  }

  .vehicle-image {
    height: 150px;
  }

  .search-summary-item {
    width: 100%;
    display: block;
    margin-right: 0;
  }
}
.option-card {
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
}
.option-card:hover {
  border-color: #1E90FF;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.15);
  transform: translateY(-1px);
}
.option-card.selected {
  border-color: #1E90FF;
  background: rgba(30, 144, 255, 0.03);
  border-width: 1px;
  box-shadow: 0 2px 10px rgba(30, 144, 255, 0.25);
}

.insurance-package {
  position: relative;
  height: 100%;
}

.insurance-badge {
  position: absolute;
  top: -8px;
  right: 10px;
  background: linear-gradient(135deg, #1E90FF 0%, #6bb6ff 100%);
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 4px rgba(30, 144, 255, 0.3);
}
.insurance-badge i {
  font-size: 0.5625rem;
}

.insurance-packages-row {
  display: flex;
  flex-wrap: wrap;
  margin: -0.25rem;
}

.insurance-package-col {
  padding: 0 0.25rem;
  margin-bottom: 0.75rem;
}

.package-header {
  margin-bottom: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
  position: relative;
}

.package-name {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #111827;
}
.package-name i {
  font-size: 0.75rem;
  color: #1E90FF;
}

.package-price {
  font-size: 1.125rem;
  color: #1E90FF;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.package-price span {
  font-size: 0.6875rem;
  color: #6B7280;
  font-weight: 500;
}

.package-deductible {
  color: #6B7280;
  font-size: 0.6875rem;
  background: #f8f9fa;
  padding: 0.25rem 0.25rem;
  border-radius: 0.25rem;
  display: inline-block;
  margin-top: 0.25rem;
}
.package-deductible i {
  font-size: 0.625rem;
}

.package-header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
}

.package-body {
  display: none;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e9ecef;
}
.package-body.show {
  display: block;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.package-features li {
  padding: 0.25rem 0;
  font-size: 0.75rem;
  color: #111827;
  display: flex;
  align-items: center;
}
.package-features li i {
  color: #1E90FF;
  margin-right: 0.25rem;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.toggle-coverage-btn {
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: 1px solid #1E90FF;
  color: #1E90FF;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.toggle-coverage-btn:hover {
  background: #1E90FF;
  color: #ffffff;
}
.toggle-coverage-btn i {
  font-size: 0.5625rem;
}
.toggle-coverage-btn i.fa-chevron-down, .toggle-coverage-btn i.fa-chevron-up {
  margin-left: 0.25rem;
  transition: transform 0.3s ease;
}
.toggle-coverage-btn.expanded i.fa-chevron-down {
  transform: rotate(180deg);
}

.rental-option-item {
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: #ffffff;
  transition: all 0.2s ease;
}
.rental-option-item:hover {
  border-color: #1E90FF;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.15);
}
.rental-option-item.selected {
  border-color: #1E90FF;
  background: rgba(30, 144, 255, 0.03);
  border-width: 1px;
  box-shadow: 0 2px 10px rgba(30, 144, 255, 0.25);
}

.option-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #111827;
}

.option-price {
  color: #1E90FF;
  font-weight: 700;
}

.quantity-control {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1.125rem;
  border: 1px solid #1E90FF;
  background-color: #ffffff;
  color: #1E90FF;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 700;
}
.quantity-btn:hover {
  background-color: #1E90FF;
  border-color: #1E90FF;
  color: #ffffff;
  transform: scale(1.05);
}
.quantity-btn:active {
  transform: scale(0.95);
}
.quantity-btn i {
  font-size: 0.875rem;
  font-weight: 700;
}

.quantity-input {
  width: 60px;
  text-align: center;
  margin: 0 0.5rem;
  border: 0.5px solid #dee2e6;
  border-radius: 0.5rem;
  font-weight: 600;
  color: #111827;
  font-size: 1rem;
}
.quantity-input:focus {
  border-color: #1E90FF;
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.summary-total {
  border-top: 2px solid #E5E7EB;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E90FF;
}

.options-content-wrapper {
  background: transparent;
  padding: 0;
}

.options-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}

.options-page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.options-page-actions {
  display: flex;
  gap: 0.5rem;
}

.options-content-body {
  padding: 0;
}

.vehicle-info {
  background: #ffffff;
  padding: 0;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.vehicle-info:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vehicle-info-header {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.05) 0%, #ffffff 100%);
  padding: 1rem 1rem;
  color: #111827;
  cursor: pointer;
  border-left: 3px solid #1E90FF;
  transition: all 0.2s ease;
}
.vehicle-info-header:hover {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.08) 0%, rgba(30, 144, 255, 0.02) 100%);
}
.vehicle-info-header h5 {
  margin: 0;
  font-weight: 600;
  color: #111827;
  font-size: 0.75rem;
  line-height: 1.25;
}
.vehicle-info-header h5 i.fa-car {
  margin-right: 0.25rem;
  color: #1E90FF;
  font-size: 0.875rem;
}
.vehicle-info-header h5 i.fa-chevron-down,
.vehicle-info-header h5 i.fa-chevron-up {
  transition: transform 0.3s ease;
  margin-top: 0;
  color: #1E90FF;
  font-size: 0.625rem;
}

.vehicle-info-body {
  padding: 0.75rem;
  background: #ffffff;
}

.vehicle-info-image {
  position: relative;
  margin-bottom: 0.5rem;
  overflow: hidden;
  border-radius: 0.5rem;
}
.vehicle-info-image img {
  width: 100%;
  height: auto;
  max-height: 140px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}
.vehicle-info-image:hover img {
  transform: scale(1.05);
}

.vehicle-image {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.vehicle-details h4 {
  color: #111827;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.25;
}
.vehicle-details p {
  color: #6B7280;
  margin-bottom: 0.25rem;
  font-size: 0.6875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.vehicle-details p i {
  color: #1E90FF;
  width: 0.875rem;
  font-size: 0.625rem;
  flex-shrink: 0;
}

.vehicle-specs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  padding: 0.5rem;
  background: #f9fafb;
  border-radius: 0.25rem;
  border: 1px solid #e9ecef;
}

.vehicle-spec {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #111827;
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0;
}
.vehicle-spec i {
  color: #1E90FF;
  font-size: 0.875rem;
  width: 1rem;
  text-align: center;
}
.vehicle-spec span {
  white-space: nowrap;
}

.trip-info {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border: 1px solid #E5E7EB;
  border-left: 3px solid #1E90FF;
  padding: 0.5rem;
  margin-top: 0.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.trip-info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}
.trip-info-row:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.trip-label {
  font-weight: 600;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  min-width: 80px;
}
.trip-label i {
  color: #1E90FF;
  font-size: 0.75rem;
  width: 0.875rem;
  text-align: center;
}

.trip-value {
  color: #111827;
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.25;
  text-align: left;
}
.trip-value.rental-days-highlight {
  color: #1E90FF;
  font-weight: 700;
  font-size: 0.75rem;
}

.checkout-btn {
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: linear-gradient(135deg, #1E90FF 0%, #51a9ff 100%);
  border: none;
  color: #ffffff;
  transition: all 0.2s ease;
}
.checkout-btn:hover {
  background: linear-gradient(135deg, #51a9ff 0%, #1E90FF 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.price-highlight {
  background: #fff3cd;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 700;
  color: #856404;
}

.search-wrapper {
  position: relative;
  width: 100%;
}
.search-wrapper .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6B7280;
  font-size: 1.125rem;
  z-index: 2;
  pointer-events: none;
}
.search-wrapper .search-input {
  padding-left: 45px;
  padding-right: 45px;
  height: 45px;
  border: 2px solid #dee2e6;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background: #ffffff;
}
.search-wrapper .search-input:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
  outline: none;
}
.search-wrapper .clear-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6B7280;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 2;
}
.search-wrapper .clear-icon.show {
  opacity: 1;
  visibility: visible;
}
.search-wrapper .clear-icon:hover {
  color: #1E90FF;
  transform: translateY(-50%) scale(1.2);
}

.no-results-message {
  text-align: center;
  padding: 3rem;
  background: #f9fafb;
  border: 1px dashed #E5E7EB;
  border-radius: 0.5rem;
  color: #6B7280;
  display: none;
}
.no-results-message i {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}
.no-results-message h4 {
  color: #6B7280;
  margin-bottom: 0.5rem;
}
.no-results-message p {
  color: #6B7280;
  font-size: 0.875rem;
}

.price-details-debug {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  max-height: 400px;
}

.sticky-sidebar {
  position: sticky;
  top: 1.5rem;
}

@media (max-width: 575px) {
  .insurance-packages-row {
    margin: 0;
  }

  .insurance-package-col {
    padding: 0;
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .quantity-control {
    justify-content: center;
  }

  .vehicle-specs {
    gap: 0.5rem;
  }

  .trip-info-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .sticky-sidebar {
    position: static;
  }

  .checkout-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    border-radius: 0;
    z-index: 1030;
    padding: 1rem;
    font-size: 1rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  }

  .box-body {
    padding-bottom: 80px;
  }
}
.price-details-content {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.25rem;
  overflow-x: auto;
  max-height: 400px;
}

.block-header-sm {
  font-size: 0.875rem;
  padding: 0.5rem 0 0.5rem 0.5rem;
}
.block-header-sm i {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 11px;
}

.font-size-12 {
  font-size: 0.75rem;
}

.insurance-badge-primary {
  background: linear-gradient(135deg, #1E90FF 0%, #51a9ff 100%);
}

.insurance-badge-info {
  background: linear-gradient(135deg, #38BDF8 0%, #69cdfa 100%);
}

.display-none {
  display: none;
}

.vehicle-info-margin {
  margin-bottom: 1.5rem;
}

.vehicle-info-no-image {
  background: #f8f9fa;
  padding: 60px 1.5rem;
  text-align: center;
  border-radius: 0.75rem;
}
.vehicle-info-no-image i {
  font-size: 48px;
  color: #dee2e6;
}

.trip-value-success {
  color: #22C55E;
  font-weight: 700;
}

.summary-discount {
  color: #22C55E;
}
.summary-discount span {
  font-weight: 700;
}

.sticky-top-20 {
  position: sticky;
  top: 1.5rem;
}

#summary-insurance-section,
#summary-options-section {
  display: none;
}
#summary-insurance-section.show,
#summary-options-section.show {
  display: block;
}

.row-mt-20 {
  margin-top: 1.5rem;
}

.modern-reservation-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.main-content-area {
  flex: 1;
  min-width: 0;
}

.cart-sidebar-area {
  width: 380px;
  flex-shrink: 0;
}

.cart-item-summary {
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.cart-item-summary:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.cart-item-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f8f9fa;
}

.cart-vehicle-image-wrapper {
  position: relative;
  width: 90px;
  height: 70px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.cart-item-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5rem;
  border: 2px solid #e9ecef;
  transition: transform 0.3s ease;
}
.cart-item-image:hover {
  transform: scale(1.05);
}

.vehicle-edit-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}
.vehicle-edit-overlay i {
  font-size: 0.875rem;
}

.cart-vehicle-image-wrapper:hover .vehicle-edit-overlay {
  opacity: 1;
}

.item-action-buttons {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-item-summary:hover .item-action-buttons {
  opacity: 1;
}

.clone-item-btn-modern {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  text-decoration: none;
}
.clone-item-btn-modern:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
  color: #ffffff;
  text-decoration: none;
}
.clone-item-btn-modern:active {
  transform: translateY(0);
}
.clone-item-btn-modern i {
  font-size: 0.875rem;
}

.delete-item-btn-modern {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(238, 90, 111, 0.3);
}
.delete-item-btn-modern:hover {
  background: linear-gradient(135deg, #ee5a6f 0%, #dc3545 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(238, 90, 111, 0.5);
}
.delete-item-btn-modern:active {
  transform: translateY(0);
}
.delete-item-btn-modern i {
  font-size: 0.875rem;
}

.swal-text,
.swal-title {
  text-align: center;
}

.cart-item-name {
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.cart-item-details {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.75;
}
.cart-item-details div {
  margin-bottom: 0;
  padding: 2px 0;
}
.cart-item-details strong {
  color: #212529;
  font-weight: 600;
}

.price-breakdown {
  background: linear-gradient(135deg, #f9fafb 0%, #f8f9fa 100%);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  border: 1px solid #e9ecef;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  padding: 0.25rem 0;
  transition: background 0.2s ease;
}
.price-row:hover {
  background: rgba(255, 255, 255, 0.5);
  padding: 0.25rem 0.5rem;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  border-radius: 0.25rem;
}
.price-row span:last-child {
  font-weight: 600;
  color: #212529;
}

.price-total {
  border-top: 2px solid #1E90FF;
  padding-top: 0.5rem !important;
  margin-top: 0.5rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #1E90FF !important;
}
.price-total:hover {
  background: transparent !important;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e9ecef;
  transition: all 0.2s ease;
}
.summary-row:hover {
  background: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 0.75rem;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  border-radius: 0.5rem;
}
.summary-row:last-of-type {
  border-bottom: none;
}
.summary-row span:last-child {
  font-weight: 600;
}

.summary-total {
  background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
  border-top: 3px solid #1E90FF !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #1E90FF !important;
  border-radius: 0 0 0.5rem 0.5rem;
}
.summary-total:hover {
  background: linear-gradient(135deg, #fff4cc 0%, #fff9e6 100%) !important;
}

.sidebar-sticky-container {
  position: sticky;
  top: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out;
}

.box {
  border-radius: 0.75rem;
  border: 1px solid #E5E7EB;
  margin-bottom: 1.5rem;
}

.box-header {
  border-radius: 0.75rem 0.75rem 0 0;
  padding: 1rem 1rem;
}

.box-body {
  padding: 1rem !important;
}

.header-link a {
  background: #343a40;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 0.25rem;
}
.header-link a:hover {
  background: #495057;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.header-title {
  background: none;
  padding: 0;
  border-radius: 0.5rem;
  color: #ffffff;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fa-map-marker.text-success,
.fa-map-marker.text-danger {
  font-size: 0.875rem;
  margin-right: 0.25rem;
}

.fa-plane,
.fa-info-circle,
.fa-truck,
.fa-calendar,
.fa-tag {
  margin-right: 0.5rem;
  color: #1E90FF;
}

.pac-container {
  z-index: 99999999;
}

.mt-10 {
  margin-top: 10px;
}

.mt2 {
  margin-top: 1.5rem;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(30, 144, 255, 0.3);
  border-radius: 50%;
  border-top-color: #1E90FF;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.agency-card-v2 {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.agency-card-v2:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.agency-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
}

.agency-card-info {
  flex: 1;
  min-width: 0;
}

.agency-card-phone {
  font-size: 0.75rem;
  color: #adb5bd;
  margin-top: 2px;
}
.agency-card-phone i {
  margin-right: 4px;
  color: #9b59b6;
}

.agency-card-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.agency-commission-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8f5fc;
  border-top: 1px solid #ede8f5;
  border-bottom: 1px solid #ede8f5;
}

.agency-commission-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.agency-commission-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.agency-commission-label {
  font-size: 0.75rem;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.agency-commission-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #212529;
}

.agency-commission-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 0.5rem;
  background: #9b59b6;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.agency-commission-edit-btn:hover {
  background: #8e44ad;
  color: #ffffff;
  transform: translateY(-1px);
}

.agency-rate-badge {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: #adb5bd;
}

.compact-agency-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  border: 1px solid #e9ecef;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.compact-agency-card:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.agency-info-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.agency-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}
.agency-icon-circle i {
  font-size: 1.25rem;
  color: #ffffff;
}

.agency-details {
  flex: 1;
}

.agency-title {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
}

.agency-name-link {
  color: #9b59b6;
  text-decoration: none;
  transition: all 0.2s ease;
}
.agency-name-link:hover {
  color: #8e44ad;
  text-decoration: underline;
}

.agency-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6c757d;
}
.agency-contact i {
  color: #9b59b6;
  font-size: 0.75rem;
}
.agency-contact span {
  color: #212529;
  font-weight: 500;
}

.agency-edit-action {
  flex-shrink: 0;
}

.edit-agency-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}
.edit-agency-btn:hover {
  background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.5);
  color: #ffffff;
}
.edit-agency-btn i {
  font-size: 1rem;
}

.compact-agency-card.no-agency-assigned {
  justify-content: center;
  padding: 1rem;
  display: flex;
  align-items: center;
  min-height: auto;
}

.no-agency-content {
  text-align: center;
  color: #ced4da;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.no-agency-content i {
  font-size: 0.75rem;
  margin-bottom: 0;
  opacity: 0.5;
}
.no-agency-content p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
}

.editable-field {
  cursor: pointer;
  transition: all 0.2s ease;
}
.editable-field:hover {
  opacity: 0.7;
}

.edit-field-trigger {
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.edit-field-trigger:hover {
  opacity: 0.7;
  text-decoration: none;
}
.edit-field-trigger:hover i {
  transform: scale(1.2);
}
.edit-field-trigger i {
  transition: all 0.2s ease;
}

.has-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

.modern-admin-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}
.modern-admin-card:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.modern-admin-card .admin-card-header {
  background: linear-gradient(135deg, #495057 0%, #212529 100%);
  padding: 1rem 1.5rem;
}
.modern-admin-card .admin-card-header .card-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.modern-admin-card .admin-card-header .card-title i {
  font-size: 1.125rem;
}

.admin-card-body {
  padding: 1.5rem;
}

.info-grid-small {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.info-item-small {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.info-item-small.full-width {
  grid-column: 1/-1;
}
.info-item-small .info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.info-item-small .info-label i {
  font-size: 0.75rem;
  color: #495057;
}
.info-item-small .info-value {
  font-size: 0.875rem;
  color: #212529;
  font-weight: 500;
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.edit-icon-small {
  color: #f39c12;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.edit-icon-small:hover {
  color: #e67e22;
  transform: scale(1.1);
}

.service-badge-small {
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.status-badge-small {
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}
.status-badge-small a {
  color: inherit !important;
  text-decoration: none !important;
}
.status-badge-small.status-pending {
  background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
  color: #ffffff;
}
.status-badge-small.status-confirmed {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: #ffffff;
}
.status-badge-small.status-complete {
  background: linear-gradient(135deg, #495057 0%, #212529 100%);
  color: #ffffff;
}
.status-badge-small.status-canceled {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #ffffff;
}

.reservation-info-table {
  margin: 0;
  border: none;
  width: 100%;
}
.reservation-info-table tbody tr {
  border-bottom: 1px solid #e9ecef;
}
.reservation-info-table tbody tr:last-child {
  border-bottom: none;
}
.reservation-info-table td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  border: none;
  border-bottom: 1px solid #f8f9fa;
}
.reservation-info-table tbody tr:last-child td {
  border-bottom: none;
}

.info-table-label {
  width: 40%;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f9fafb;
  text-align: left;
}
.info-table-label i {
  margin-right: 0.5rem;
  color: #495057;
  font-size: 0.75rem;
}

.info-table-value {
  width: 60%;
  font-size: 0.875rem;
  color: #212529;
  font-weight: 500;
  text-align: left;
  background: #ffffff;
}
.info-table-value a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.2s ease;
}
.info-table-value a:hover {
  color: #2980b9;
  text-decoration: underline;
}

.reservation-detail-info-section {
  margin-top: 0.5rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border-left: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.reservation-detail-info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: none;
  font-size: 0.75rem;
}
.reservation-detail-info-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.info-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #212529;
  text-transform: capitalize;
  letter-spacing: 0;
}

.info-value {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.info-value a {
  color: #1E90FF;
  text-decoration: none;
  transition: color 0.2s ease;
}
.info-value a:hover {
  color: #51a9ff;
  text-decoration: underline;
}
.info-value .edit-icon {
  color: #1E90FF;
  font-size: 0.6875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 2px;
}
.info-value .edit-icon:hover {
  color: #51a9ff;
  transform: scale(1.1);
}

.driver-info-badge,
.provider-info-badge,
.agent-info-badge,
.flight-info-badge {
  display: inline;
  background: transparent;
  color: #343a40;
  padding: 0;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0;
}

.no-data-text {
  color: #ced4da;
  font-style: italic;
  font-size: 0.6875rem;
}

.cost-edit-btn-circle {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid #ffffff;
  z-index: 10;
  text-decoration: none;
}
.cost-edit-btn-circle:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  color: #ffffff;
  text-decoration: none;
}
.cost-edit-btn-circle i {
  font-size: 0.875rem;
}

.compact-customer-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  border: 1px solid #e9ecef;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: all 0.3s ease;
}
.compact-customer-card:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.compact-customer-card.no-customer {
  justify-content: center;
  padding: 3rem;
}

.customer-photo-section {
  flex-shrink: 0;
}

.customer-avatar {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #3498db;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}

.customer-avatar-placeholder {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50%;
  background: linear-gradient(135deg, #5dade2 0%, #3498db 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #3498db;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
}
.customer-avatar-placeholder i {
  font-size: 1.25rem;
  color: #ffffff;
}

.customer-info-section {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.customer-main-details {
  flex: 1;
}

.customer-display-name {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #212529;
}

.customer-name-link {
  color: #3498db;
  text-decoration: none;
  transition: all 0.2s ease;
}
.customer-name-link:hover {
  color: #2980b9;
  text-decoration: underline;
}

.customer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6c757d;
}
.contact-item i {
  width: 18px;
  color: #3498db;
  font-size: 0.875rem;
}
.contact-item span {
  color: #212529;
  font-weight: 500;
}

.customer-actions {
  flex-shrink: 0;
}

.edit-customer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(243, 156, 18, 0.2);
}
.edit-customer-btn:hover {
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
  color: #ffffff;
}
.edit-customer-btn i {
  font-size: 1rem;
}

.no-customer-content {
  text-align: center;
  color: #ced4da;
}
.no-customer-content i {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}
.no-customer-content p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.modern-modal-content {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modern-modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 3rem 3rem 3rem;
  text-align: center;
  position: relative;
}

.modern-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  outline: none;
}
.modern-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
.modern-close-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.modal-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.modal-icon-wrapper i {
  font-size: 1.875rem;
  color: #ffffff;
}

.modern-modal-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.5px;
}

.modern-modal-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  margin: 0;
  font-weight: 400;
}

.modern-modal-body {
  padding: 3rem;
  background: #ffffff;
}

.modern-form-group {
  margin-bottom: 1.5rem;
}
.modern-form-group:last-child {
  margin-bottom: 0;
}

.modern-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.label-icon {
  color: #667eea;
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

.modern-input,
.modern-select {
  width: 100%;
  height: 48px;
  padding: 0.75rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #343a40;
  transition: all 0.3s ease;
  background: #f9fafb;
}
.modern-input:focus,
.modern-select:focus {
  outline: none;
  border-color: #667eea;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}
.modern-input::-moz-placeholder, .modern-select::-moz-placeholder {
  color: #ced4da;
}
.modern-input::placeholder,
.modern-select::placeholder {
  color: #ced4da;
}

.modern-help-text {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #6c757d;
  font-style: italic;
}
.modern-help-text i {
  margin-right: 0.25rem;
  color: #667eea;
}

@media (max-width: 992px) {
  .modern-reservation-layout {
    flex-direction: column;
  }

  .cart-sidebar-area {
    width: 100%;
  }

  .sidebar-sticky-container {
    position: relative;
    top: auto;
  }
}
@media (max-width: 768px) {
  .vehicle-edit-overlay,
.item-action-buttons {
    opacity: 1;
  }

  .cart-item-image {
    width: 70px;
    height: 55px;
  }

  .cart-item-name {
    font-size: 0.875rem;
  }

  .cart-item-details {
    font-size: 0.75rem;
  }

  .compact-agency-card {
    padding: 0.5rem 0.75rem;
  }
  .compact-agency-card:hover {
    transform: none;
  }

  .agency-info-wrapper {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.5rem;
  }

  .agency-icon-circle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .agency-icon-circle i {
    font-size: 1.125rem;
  }

  .agency-details {
    flex: 1;
    min-width: 0;
  }

  .agency-title {
    font-size: 0.875rem;
    margin-bottom: 2px;
  }

  .agency-name-link {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .agency-contact {
    justify-content: flex-start;
    font-size: 0.75rem;
  }
  .agency-contact i {
    font-size: 9px;
    width: 12px;
  }
  .agency-contact span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .agency-edit-action {
    margin-top: 0;
    flex-shrink: 0;
  }

  .edit-agency-btn {
    width: 30px;
    height: 30px;
  }
  .edit-agency-btn i {
    font-size: 0.75rem;
  }

  .compact-agency-card.no-agency-assigned {
    padding: 0.5rem 0.5rem;
    flex-direction: column;
    text-align: center;
  }

  .no-agency-content i {
    font-size: 1.125rem;
  }
  .no-agency-content p {
    font-size: 0.6875rem;
    margin-bottom: 0;
  }

  .btn-assign-agency {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .info-grid-small {
    grid-template-columns: 1fr;
  }

  .info-table-label {
    width: 45%;
    font-size: 0.75rem;
  }

  .info-table-value {
    width: 55%;
    font-size: 0.75rem;
  }

  .reservation-detail-info-section {
    margin-top: 0.5rem;
    padding: 0;
  }

  .reservation-detail-info-row {
    font-size: 0.6875rem;
  }

  .info-label {
    font-size: 0.75rem;
  }

  .info-value {
    font-size: 0.6875rem;
  }

  .compact-customer-card {
    padding: 0.5rem 0.75rem;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.5rem;
  }
  .compact-customer-card:hover {
    transform: none;
  }
  .compact-customer-card.no-customer {
    padding: 1.5rem 0.75rem;
    flex-direction: column;
    text-align: center;
  }

  .customer-photo-section {
    margin: 0;
    flex-shrink: 0;
  }

  .customer-avatar,
.customer-avatar-placeholder {
    width: 40px !important;
    height: 40px !important;
    border-width: 2px;
  }

  .customer-avatar-placeholder i {
    font-size: 1rem;
  }

  .customer-info-section {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
  }

  .customer-main-details {
    flex: 1;
    min-width: 0;
  }

  .customer-display-name {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    text-align: left;
  }

  .customer-name-link {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .customer-contact-info {
    align-items: flex-start;
    gap: 2px;
    width: 100%;
  }

  .contact-item {
    font-size: 0.75rem;
    justify-content: flex-start;
    width: 100%;
  }
  .contact-item i {
    font-size: 0.75rem;
    width: 12px;
  }
  .contact-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .customer-actions {
    margin-top: 0;
    flex-shrink: 0;
  }

  .edit-customer-btn {
    width: 30px;
    height: 30px;
  }
  .edit-customer-btn i {
    font-size: 0.75rem;
  }

  .no-customer-content i {
    font-size: 1.875rem;
  }
  .no-customer-content p {
    font-size: 0.75rem;
  }
}
@media print {
  .should-not-print,
.cart-sidebar-area {
    display: none !important;
  }

  .main-content-area {
    width: 100% !important;
    max-width: 100% !important;
  }

  .table-title,
.table-title2 {
    background: #D9D9D9 !important;
    color: #000000 !important;
  }

  .table-data,
.table-data2 {
    background: #F1F1F1 !important;
    color: #000000 !important;
  }

  .box-header {
    background: #1873CC !important;
    color: #ffffff !important;
  }
}
.modern-summary-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}
.modern-summary-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.summary-card-header {
  background: linear-gradient(135deg, #1E90FF 0%, #e67e22 100%);
  padding: 1rem 1.5rem;
}
.summary-card-header .card-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.summary-card-header .card-title i {
  font-size: 1.125rem;
}

.summary-card-body {
  padding: 1.5rem;
}

.summary-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #e9ecef;
  gap: 0.5rem;
}
.summary-detail-item:last-of-type {
  border-bottom: none;
}

.summary-detail-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.summary-detail-index {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1E90FF;
  background: rgba(30, 144, 255, 0.1);
  padding: 1px 6px;
  border-radius: 0.25rem;
  display: inline-block;
  width: -moz-fit-content;
  width: fit-content;
}

.summary-detail-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #212529;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-detail-date {
  font-size: 0.75rem;
  color: #adb5bd;
}

.summary-detail-total {
  font-size: 0.875rem;
  font-weight: 700;
  color: #212529;
  white-space: nowrap;
}

.summary-divider {
  border-top: 2px solid #e9ecef;
  margin: 0.5rem 0;
}

.summary-card-body .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: #2c3e50;
  border-bottom: 1px dashed #e9ecef;
  transition: all 0.2s ease;
}
.summary-card-body .summary-row:last-of-type {
  border-bottom: none;
}
.summary-card-body .summary-row span:first-child {
  font-weight: 500;
}
.summary-card-body .summary-row span:last-child {
  font-weight: 600;
}

.summary-discount-text {
  color: #22C55E;
}

.summary-paid-text {
  color: #22C55E;
}

.balance-paid {
  color: #22C55E !important;
}

.balance-due {
  color: #EF4444 !important;
}

.summary-card-body .summary-total {
  border-top: 2px solid #dee2e6 !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  border-radius: 0 0 0.75rem 0.75rem;
}

.modern-payment-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}
.modern-payment-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.payment-card-header {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  padding: 1rem 1.5rem;
}
.payment-card-header .card-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.payment-card-header .card-title i {
  font-size: 1.125rem;
}

.payment-card-body {
  padding: 1.5rem;
}
.payment-card-body .summary-row {
  border-bottom: 1px dashed #e9ecef;
}
.payment-card-body .summary-row:hover {
  background: rgba(39, 174, 96, 0.05);
}
.payment-card-body .summary-total {
  background: linear-gradient(135deg, #e8f8f5 0%, #d5f4e6 100%);
  border-top: 3px solid #27ae60 !important;
}

.payment-history-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px dashed #e9ecef;
}

.payment-history-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.payment-history-title i {
  color: #27ae60;
}

.payment-item {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border-left: 3px solid #27ae60;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}
.payment-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateX(2px);
}

.payment-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.payment-date {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.payment-amount {
  font-weight: 700;
  color: #27ae60;
  font-size: 0.875rem;
}

.payment-details {
  color: #7f8c8d;
  font-size: 0.6875rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.payment-details i {
  margin-right: 0.25rem;
}

.modern-summary-card,
.modern-payment-card {
  animation: fadeInUp 0.4s ease-out;
}

@media (max-width: 768px) {
  .modern-summary-card,
.modern-payment-card {
    margin-bottom: 1rem;
  }

  .summary-card-body,
.payment-card-body {
    padding: 1rem;
  }
}
.reservation-details-wrapper {
  margin-bottom: 1.5rem;
}

.cart-item-summary {
  position: relative;
}

.cart-item-flex-container {
  flex: 1;
}

.text-muted-editable {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.pickup-datetime-display {
  cursor: pointer;
  text-decoration: none;
  text-underline-offset: 3px;
}

.success-edit-indicator {
  margin-left: 0.5rem;
}

.edit-icon-success {
  color: #4CAF50;
  font-size: 0.75rem;
  opacity: 0;
}

.edit-text-success {
  color: #4CAF50;
  opacity: 0;
}

.service-type-text {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.location-edit-link {
  color: #6c757d;
  text-decoration: none;
  cursor: pointer;
}

.edit-icon-primary {
  color: #1E90FF;
  font-size: 0.75rem;
  margin-left: 0.25rem;
  opacity: 0;
}

.edit-text-primary {
  color: #1E90FF;
  margin-left: 0.5rem;
  opacity: 0;
}

.waypoint-container {
  margin-left: 1.5rem;
  border-left: 2px solid #1E90FF;
  padding-left: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.waypoint-edit-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  margin-left: 0.25rem;
}

.edit-icon-small-primary {
  color: #1E90FF;
  font-size: 0.6875rem;
  opacity: 0;
}

.waypoint-item {
  margin-top: 3px;
  color: #6c757d;
}
.waypoint-item .fa-map-marker {
  color: #1E90FF;
}

.edit-icon-info {
  color: #337ab7;
  font-size: 0.75rem;
  margin-left: 0.25rem;
  opacity: 0;
}

.edit-text-info {
  color: #337ab7;
  margin-left: 0.5rem;
  opacity: 0;
}

.provider-display-link {
  color: #6c757d;
  text-decoration: none;
}
.provider-display-link span {
  cursor: pointer;
  display: inline-block;
  margin-left: 0.25rem;
}

.edit-icon-generic {
  font-size: 0.75rem;
  opacity: 0;
}

.edit-text-generic {
  color: #6c757d;
  margin-left: 0.5rem;
  opacity: 0;
}

.driver-display-span {
  cursor: pointer;
  display: inline-block;
}

.add-links-section {
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #dee2e6;
}
.add-links-section a {
  color: #337ab7;
  margin-right: 1rem;
}
.add-links-section a i {
  font-size: 0.75rem;
}

.price-breakdown .discount-row span {
  color: #22C55E;
}
.price-breakdown .discount-row span.discount-amount {
  font-weight: 700;
}

.empty-cart-state .fa-shopping-cart {
  opacity: 0.3;
  margin-bottom: 1rem;
}

.gradient-header {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
  border-radius: 1rem 1rem 0 0;
}

.icon-box {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.icon-box i {
  font-size: 1.25rem;
  color: #ffffff;
}

.hover-shadow {
  transition: all 0.3s ease;
}
.hover-shadow:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-2px);
}

#toggleIcon {
  transition: transform 0.3s ease;
}

.checkout-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}

.checkout-page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin: 0;
}

.block-header {
  margin-top: 0;
  padding: 0.5rem 0 0.5rem 14px;
  border-left: 5px solid #1E90FF;
  background: #212529 !important;
  margin-left: 1px;
}

.cart-item-summary {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #ffffff;
}

.cart-item-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cart-item-image {
  width: 80px;
  height: 60px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5rem;
  margin-right: 1rem;
}

.btn-change-vehicle,
.vehicle-edit-overlay {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  padding: 4px 0.5rem;
  background: rgba(30, 144, 255, 0.95) !important;
  color: #ffffff !important;
  border: 1px solid #1E90FF !important;
  border-radius: 0.25rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.btn-change-vehicle:hover,
.vehicle-edit-overlay:hover {
  background: #1873CC !important;
  border-color: #1873CC !important;
  color: #ffffff !important;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.4);
  text-decoration: none;
}
.btn-change-vehicle i,
.vehicle-edit-overlay i {
  font-size: 10px;
}

.cart-item-name {
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
}

.cart-item-details {
  font-size: 0.875rem;
  color: #495057;
  margin-top: 0.5rem;
}
.cart-item-details div {
  margin-bottom: 0.25rem;
}

.price-breakdown {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

.form-section {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.add-new-btn {
  margin-left: 0.5rem;
}

.discount-section {
  background: #fffbf0;
  border: 1px solid #f0e6c8;
  padding: 1rem;
  border-radius: 0.5rem;
}

.party-info-group {
  margin-bottom: 1.5rem;
  position: relative;
}
.party-info-group:last-child {
  margin-bottom: 0;
}

.party-info-label {
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}
.party-info-label i {
  margin-right: 0.5rem;
  color: #1E90FF;
  font-size: 1rem;
}

.party-select-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.party-select-wrapper .select2-container {
  flex: 1;
  min-width: 0;
  max-width: 100%;
}
.party-select-wrapper .select2-container .select2-selection--single {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.party-add-btn {
  min-width: 40px;
  height: 34px;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom, #1E90FF 0%, #0583ff 100%);
  border: 1px solid #0583ff;
  color: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.party-add-btn:hover {
  background: linear-gradient(to bottom, #0583ff 0%, #0077ea 100%);
  border-color: #006ad1;
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.party-add-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.party-add-btn i {
  font-size: 1rem;
}

.party-select-wrapper .select2-container--default .select2-selection--single {
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  height: 34px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.party-select-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 21px;
  padding-left: 3px;
  color: #495057;
}
.party-select-wrapper .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #adb5bd;
}
.party-select-wrapper .select2-container--default.select2-container--focus .select2-selection--single, .party-select-wrapper .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #1E90FF;
  box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.1);
}

.sidebar-sticky-container {
  position: sticky;
  top: 20px;
}

.party-helper-text {
  font-size: 11px;
  color: #adb5bd;
  margin-top: 0.25rem;
  font-style: italic;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.editable-field {
  cursor: pointer;
  transition: all 0.2s ease;
}
.editable-field:hover {
  opacity: 0.7;
}

.edit-field-trigger {
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.edit-field-trigger:hover {
  opacity: 0.7;
  text-decoration: none;
}
.edit-field-trigger:hover i {
  transform: scale(1.2);
}
.edit-field-trigger i {
  transition: all 0.2s ease;
}

.modern-modal-content {
  border-radius: 0.75rem;
  border: none;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modern-modal-header {
  background: linear-gradient(135deg, #1E90FF 0%, #0077ea 100%);
  padding: 35px 30px 30px;
  text-align: center;
  position: relative;
}

.modern-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  outline: none;
}
.modern-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
.modern-close-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.modal-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: iconPulse 2s ease-in-out infinite;
}
.modal-icon-wrapper i {
  font-size: 32px;
  color: #ffffff;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.modern-modal-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: -0.5px;
}

.modern-modal-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0;
  font-weight: 400;
}

.modern-modal-body {
  padding: 30px;
  background: #ffffff;
}

.modern-form-group {
  margin-bottom: 1.5rem;
}
.modern-form-group:last-child {
  margin-bottom: 0;
}

.modern-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.label-icon {
  color: #1E90FF;
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

.modern-input {
  width: 100%;
  height: 48px;
  padding: 0.75rem 1rem;
  border: 2px solid #dee2e6;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #212529;
  transition: all 0.2s ease;
  background: #f8f9fa;
}
.modern-input:focus {
  outline: none;
  border-color: #1E90FF;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.1);
}
.modern-input::-moz-placeholder {
  color: #adb5bd;
}
.modern-input::placeholder {
  color: #adb5bd;
}
.modern-input.has-error {
  border-color: #EF4444;
  background: white;
  animation: errorShake 0.5s ease-out;
}
.modern-input.has-error:focus {
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}
.modern-input.has-success {
  border-color: #22C55E;
  background: white;
  animation: successPulse 0.6s ease-out;
}
.modern-input[type=number] {
  -moz-appearance: textfield;
}
.modern-input[type=number]::-webkit-inner-spin-button, .modern-input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes errorShake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}
.modern-help-text {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #495057;
  font-style: italic;
}
.modern-help-text i {
  margin-right: 0.25rem;
  color: #1E90FF;
}

.provider-display-1,
.provider-display-2,
.provider-display-3,
.provider-display-4,
.provider-display-5 {
  display: inline-block;
  transition: all 0.2s ease;
}

@media (max-width: 575px) {
  .modern-modal-body {
    padding: 1.5rem;
  }

  .modern-modal-header {
    padding: 25px 1.5rem 1.5rem;
  }

  .modal-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .modal-icon-wrapper i {
    font-size: 28px;
  }

  .modern-modal-title {
    font-size: 1.125rem;
  }

  .modern-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}
.gradient-header {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
  border-radius: 1rem 1rem 0 0;
  cursor: pointer;
}

.icon-box {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.icon-box i {
  font-size: 20px;
  color: #ffffff;
}

.hover-shadow {
  transition: all 0.2s ease;
}
.hover-shadow:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-2px);
}

.card.shadow-sm {
  border-radius: 1rem !important;
  overflow: hidden;
}
.card.shadow-sm:has(.collapse:not(.show)) .gradient-header {
  border-radius: 1rem !important;
}

#moreReservationsThisCustomer.show ~ .card-header #toggleIcon {
  transform: rotate(180deg);
}

#toggleIcon {
  transition: transform 0.3s ease;
}

.reservation-action-bar {
  position: sticky;
  top: 90px;
  z-index: 100;
  background: #ffffff;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}
@media (max-width: 767px) {
  .reservation-action-bar {
    top: 80px;
    padding: 0.75rem;
  }
}

.reservation-action-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reservation-action-bar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin: 0;
}

.reservation-action-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.reservation-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}
.reservation-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.reservation-card-header {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.08) 0%, #ffffff 100%);
  color: #111827;
  padding: 0.75rem;
  border-bottom: 1px solid #E5E7EB;
  border-left: 3px solid #1E90FF;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: all 0.3s ease;
}
.reservation-card-header:hover {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.15) 0%, #ffffff 100%);
  border-left-color: #0077ea;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.15);
}

.reservation-card-header-today {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.15) 100%);
  border-left: 4px solid #EF4444;
}
.reservation-card-header-today:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.2) 100%);
}

.reservation-card-header-tomorrow {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.15) 100%);
  border-left: 4px solid #F59E0B;
}
.reservation-card-header-tomorrow:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.2) 100%);
}

.reservation-card-header-frontend {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.15) 100%);
  border-left: 4px solid #22C55E;
}
.reservation-card-header-frontend:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.2) 100%);
}

.reservation-card-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.reservation-card-header-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.reservation-card-header-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.reservation-info-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #495057;
}

.reservation-info-label {
  font-weight: 600;
  color: #6c757d;
}

.reservation-info-value {
  font-weight: 400;
  color: #212529;
}

.reservation-info-link {
  color: #212529;
  text-decoration: none;
  transition: all 0.2s ease;
}
.reservation-info-link:hover {
  color: #1E90FF;
  text-decoration: none;
}

.reservation-number {
  font-size: 1.125rem;
  font-weight: 700;
  color: #212529;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.reservation-number a {
  color: #212529;
  transition: color 0.2s ease;
}
.reservation-number a:hover {
  color: #1E90FF;
}

.reservation-number-icon {
  font-size: 1rem;
  color: #adb5bd;
}

.reservation-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.reservation-status-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.reservation-status-badge-pending {
  background-color: #fef3c7;
  color: #92400e;
}

.reservation-status-badge-confirmed {
  background-color: #dcfce7;
  color: #166534;
}

.reservation-status-badge-complete {
  background-color: #dbeafe;
  color: #1e40af;
}

.reservation-status-badge-canceled {
  background-color: #fee2e2;
  color: #991b1b;
}

.payment-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.payment-status-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.payment-status-badge-paid {
  background-color: #dcfce7;
  color: #166534;
}

.payment-status-badge-due {
  background-color: #fee2e2;
  color: #991b1b;
}

.payment-status-badge-partial {
  background-color: #fef3c7;
  color: #92400e;
}

.payment-status-badge-complementary {
  background-color: #e0e7ff;
  color: #3730a3;
}

.reservation-card-body {
  background: #f9fafb;
  border-top: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.reservation-card-body-collapsed {
  max-height: 300px;
}

.reservation-card-body-expanded {
  max-height: 2000px;
}

.reservation-card-body-content {
  padding: 0.75rem;
}

.reservation-card-body-overlay {
  position: absolute;
  bottom: 21px;
  left: 0;
  right: 0;
  height: 68px;
  background: linear-gradient(to top, #f9fafb 0%, rgba(249, 250, 251, 0.95) 40%, rgba(249, 250, 251, 0) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.reservation-card-body-expanded .reservation-card-body-overlay {
  opacity: 0;
  visibility: hidden;
}

.reservation-show-more-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: none;
  border-top: 1px solid #e9ecef;
  color: #adb5bd;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.reservation-show-more-btn:hover {
  background: #f8f9fa;
  color: #495057;
}
.reservation-show-more-btn i {
  transition: transform 0.3s ease;
  font-size: 0.875rem;
  color: #ced4da;
}
.reservation-show-more-btn.expanded i {
  transform: rotate(180deg);
}

.reservation-details-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reservation-details-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.reservation-detail-card {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #e9ecef;
}

.reservation-info-row {
  display: flex;
  align-items: flex-start;
  padding: 0.25rem 0;
  border-bottom: 1px solid #f8f9fa;
}
.reservation-info-row:last-child {
  border-bottom: none;
}

.reservation-info-row-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E90FF;
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

.reservation-info-row-content {
  flex: 1;
  min-width: 0;
}

.reservation-info-row-label {
  font-size: 10px;
  font-weight: 600;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.reservation-info-row-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #212529;
  word-break: break-word;
}

.reservation-info-text {
  color: #212529;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

.reservation-expand-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.reservation-expand-toggle i {
  transition: transform 0.3s ease;
  font-size: 1.125rem;
}
.reservation-expand-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
}

.reservation-expand-toggle-expanded i {
  transform: rotate(180deg);
}

.reservation-warning-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #fee2e2;
  border-radius: 50%;
  color: #dc2626;
  font-size: 0.75rem;
  animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
.reservation-cost {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: #212529;
}

.reservation-cost-label {
  font-weight: 500;
  color: #6c757d;
  font-size: 0.875rem;
}

.reservation-cost-value {
  font-size: 0.875rem;
  color: #212529;
  font-weight: 700;
}

.reservation-source-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: #f8f9fa;
  color: #495057;
  border: 1px solid #e9ecef;
}
.reservation-source-badge i {
  color: #adb5bd;
}

.reservation-payment-method {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  color: #495057;
  cursor: pointer;
  transition: all 0.2s ease;
}
.reservation-payment-method:hover {
  background: #e9ecef;
  border-color: #dee2e6;
}
.reservation-payment-method i {
  color: #adb5bd;
}

.reservation-extra-service {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 0.75rem;
  border-radius: 0.5rem;
  border-left: 4px solid #0284c7;
}

.reservation-extra-service-title {
  font-weight: 600;
  color: #0c4a6e;
  margin-bottom: 0.5rem;
}

.reservation-extra-service-details {
  color: #495057;
  font-size: 0.875rem;
}

@media (max-width: 991px) {
  .reservation-card-header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .reservation-card-header-right {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .reservation-details-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .reservation-action-bar {
    padding: 0.75rem;
  }

  .reservation-action-bar-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .reservation-action-bar-actions {
    width: 100%;
  }

  .reservation-card-header {
    padding: 0.75rem;
  }

  .reservation-card-body-content {
    padding: 0.75rem;
  }

  .reservation-info-group {
    font-size: 0.75rem;
  }

  .reservation-number {
    font-size: 1rem;
  }
}
.reservation-empty-state {
  text-align: center;
  padding: 4rem;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.reservation-empty-state-icon {
  font-size: 64px;
  color: #dee2e6;
  margin-bottom: 1rem;
}

.reservation-empty-state-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}

.reservation-empty-state-text {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.reservation-filter-section {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #e9ecef;
}

.reservation-filter-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}
@media (max-width: 767px) {
  .reservation-filter-actions {
    flex-direction: column;
  }
  .reservation-filter-actions .btn {
    width: 100%;
  }
}

.res-filter-area {
  padding: 1rem;
}
.res-filter-area .filter-form .form-group {
  margin-bottom: 0;
}
.res-filter-area .filter-form .form-control,
.res-filter-area .filter-form .form-select {
  font-size: 0.875rem;
}

.advanced-filters-area {
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  border: 1px dashed #dee2e6;
}

.btn-add-day,
.btn-add-service {
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
}
.btn-add-day:hover,
.btn-add-service:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}
.btn-add-day:active,
.btn-add-service:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shimmer 2s infinite;
  pointer-events: none;
}

.btn-add-day:hover .btn-shimmer,
.btn-add-service:hover .btn-shimmer {
  animation: shimmer 0.6s;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
@media (max-width: 576px) {
  .btn-add-day,
.btn-add-service {
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
}
.edit-icon,
.edit-text {
  transition: opacity 0.3s ease;
}

.cost-section {
  position: relative;
}

.cost-edit-hover {
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cost-section:hover .cost-edit-hover {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .cost-edit-hover {
    opacity: 1 !important;
  }
}
.edit-item-btn-modern {
  position: absolute;
  top: 10px;
  right: 90px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
  padding: 0;
  line-height: 1;
}
.edit-item-btn-modern i {
  color: #ffffff;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0;
}
.edit-item-btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
.edit-item-btn-modern:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}
.edit-item-btn-modern:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.agency-modal-header {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.agency-icon {
  color: #f5576c !important;
}

.modern-btn-agency {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}
.modern-btn-agency:hover {
  box-shadow: 0 6px 16px rgba(245, 87, 108, 0.5);
  transform: translateY(-2px);
}

.modern-tab-nav {
  display: flex;
  margin: 0;
  padding: 0;
  background: #f7fafc;
  border-bottom: 2px solid #e2e8f0;
}
.modern-tab-nav .nav-item {
  flex: 1;
}
.modern-tab-nav .nav-link {
  border: none;
  border-radius: 0;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #718096;
  background: transparent;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 3px solid transparent;
  width: 100%;
}
.modern-tab-nav .nav-link i {
  font-size: 1rem;
}
.modern-tab-nav .nav-link:hover {
  color: #f5576c;
  background: rgba(240, 147, 251, 0.05);
}
.modern-tab-nav .nav-link.active {
  color: #f5576c;
  background: #ffffff;
  border-bottom-color: #f5576c;
}

.modern-tab-content {
  background: #ffffff;
}
.modern-tab-content .tab-pane {
  min-height: 300px;
}

.btn-with-loading {
  position: relative;
}
.btn-with-loading.loading .btn-text {
  opacity: 0;
}
.btn-with-loading.loading .btn-spinner {
  display: inline-block !important;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.btn-with-loading:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 576px) {
  .modern-tab-nav .nav-link {
    padding: 0.75rem 0.5rem;
  }
  .modern-tab-nav .nav-link span {
    display: none;
  }
  .modern-tab-nav .nav-link i {
    font-size: 1.125rem;
  }
}
.vehicle-edit-link {
  color: #1E90FF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}
.vehicle-edit-link .fa-edit {
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.vehicle-edit-link:hover {
  color: #1873CC;
  text-decoration: none;
}
.vehicle-edit-link:hover .fa-edit {
  opacity: 1;
}
@media (max-width: 767px) {
  .vehicle-edit-link {
    padding: 0.5rem;
    min-height: 44px;
    min-width: 44px;
  }
  .vehicle-edit-link .fa-edit {
    font-size: 1.125rem;
    opacity: 1;
  }
}

.vehicle-edit-text {
  color: #1E90FF;
  font-weight: 500;
}

.cart-item-name:hover .vehicle-edit-link .fa-edit {
  opacity: 1;
}

.invoice-stats-wrap {
  margin-bottom: 1.5rem;
}

.invoice-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
@media (max-width: 1200px) {
  .invoice-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .invoice-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

a.invoice-stat-card {
  text-decoration: none;
  color: inherit;
}

.invoice-stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #f4faff 0%, white 100%);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(30, 144, 255, 0.08);
  transition: all 0.18s ease;
  cursor: pointer;
}
.invoice-stat-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.invoice-stat-card.invoice-stat-active {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.invoice-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
  color: #ffffff;
}

.invoice-stat-body {
  flex: 1;
  min-width: 0;
}

.invoice-stat-value {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.invoice-stat-label {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.invoice-stat-total {
  background: linear-gradient(135deg, #e0e7ff 0%, #eef2ff 100%);
  border: 1px solid rgba(102, 126, 234, 0.1);
}
.invoice-stat-total .invoice-stat-icon {
  background: linear-gradient(135deg, #667eea 0%, #5568d3 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.28);
}
.invoice-stat-total .invoice-stat-value {
  color: #5568d3;
}

.invoice-stat-proforma {
  background: linear-gradient(135deg, #fff4e5 0%, #fffbf0 100%);
  border: 1px solid rgba(246, 173, 85, 0.1);
}
.invoice-stat-proforma .invoice-stat-icon {
  background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
  box-shadow: 0 4px 12px rgba(246, 173, 85, 0.28);
}
.invoice-stat-proforma .invoice-stat-value {
  color: #d69e2e;
}

.invoice-stat-paid {
  background: linear-gradient(135deg, #e6f7ed 0%, #f0fdf4 100%);
  border: 1px solid rgba(72, 187, 120, 0.1);
}
.invoice-stat-paid .invoice-stat-icon {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.28);
}
.invoice-stat-paid .invoice-stat-value {
  color: #2f855a;
}

.invoice-stat-partial {
  background: linear-gradient(135deg, #e0f7fa 0%, #f0fdff 100%);
  border: 1px solid rgba(66, 153, 225, 0.1);
}
.invoice-stat-partial .invoice-stat-icon {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.28);
}
.invoice-stat-partial .invoice-stat-value {
  color: #2c5282;
}

.invoice-stat-unpaid {
  background: linear-gradient(135deg, #ffe5e5 0%, #fff0f0 100%);
  border: 1px solid rgba(245, 101, 101, 0.1);
}
.invoice-stat-unpaid .invoice-stat-icon {
  background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
  box-shadow: 0 4px 12px rgba(245, 101, 101, 0.28);
}
.invoice-stat-unpaid .invoice-stat-value {
  color: #e53e3e;
}

.invoice-stat-today {
  background: linear-gradient(135deg, #fef9e7 0%, #fffdf0 100%);
  border: 1px solid rgba(246, 216, 96, 0.1);
}
.invoice-stat-today .invoice-stat-icon {
  background: linear-gradient(135deg, #f6d860 0%, #e8c007 100%);
  box-shadow: 0 4px 12px rgba(246, 216, 96, 0.28);
}
.invoice-stat-today .invoice-stat-value {
  color: #a07800;
}

.invoice-stat-thismonth {
  background: linear-gradient(135deg, #f3e5ff 0%, #faf5ff 100%);
  border: 1px solid rgba(159, 122, 234, 0.1);
}
.invoice-stat-thismonth .invoice-stat-icon {
  background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
  box-shadow: 0 4px 12px rgba(159, 122, 234, 0.28);
}
.invoice-stat-thismonth .invoice-stat-value {
  color: #6b46c1;
}

.invoice-stat-prevmonth {
  background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
  border: 1px solid rgba(167, 139, 250, 0.1);
}
.invoice-stat-prevmonth .invoice-stat-icon {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.28);
}
.invoice-stat-prevmonth .invoice-stat-value {
  color: #7c3aed;
}

.invoice-stat-last30 {
  background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 100%);
  border: 1px solid rgba(99, 179, 237, 0.1);
}
.invoice-stat-last30 .invoice-stat-icon {
  background: linear-gradient(135deg, #63b3ed 0%, #4299e1 100%);
  box-shadow: 0 4px 12px rgba(99, 179, 237, 0.28);
}
.invoice-stat-last30 .invoice-stat-value {
  color: #2b6cb0;
}

.invoice-stat-thisyear {
  background: linear-gradient(135deg, #e6fffa 0%, #f0fff8 100%);
  border: 1px solid rgba(79, 209, 197, 0.1);
}
.invoice-stat-thisyear .invoice-stat-icon {
  background: linear-gradient(135deg, #4fd1c5 0%, #38b2ac 100%);
  box-shadow: 0 4px 12px rgba(79, 209, 197, 0.28);
}
.invoice-stat-thisyear .invoice-stat-value {
  color: #2c7a7b;
}

.invoice-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.invoice-card {
  display: grid;
  grid-template-columns: 200px 1fr 180px 100px 90px;
  align-items: center;
  gap: 0;
  background: #ffffff;
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
  border-left: 4px solid #dee2e6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.15s, transform 0.12s;
  overflow: hidden;
}
.invoice-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.invoice-card.status-1 {
  border-left-color: #48bb78;
}
.invoice-card.status-2 {
  border-left-color: #f6ad55;
}
.invoice-card.status-3 {
  border-left-color: #fc8181;
}
.invoice-card.status-4 {
  border-left-color: #9f7aea;
}
.invoice-card.status-5 {
  border-left-color: #63b3ed;
}
.invoice-card.status-6 {
  border-left-color: #f6ad55;
}
.invoice-card.status-7 {
  border-left-color: #48bb78;
}
.invoice-card.status-8 {
  border-left-color: #4299e1;
}
@media (max-width: 767px) {
  .invoice-card {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
}
@media (max-width: 480px) {
  .invoice-card {
    grid-template-columns: 1fr;
  }
}

.invoice-col {
  padding: 0.75rem;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #f8f9fa;
}
.invoice-col:last-child {
  border-right: none;
}

.invoice-col-info {
  gap: 3px;
}

.invoice-card-id {
  font-size: 1rem;
  font-weight: 700;
  color: #1E90FF;
  text-decoration: none;
  line-height: 1.2;
}
.invoice-card-id:hover {
  text-decoration: underline;
}

.invoice-card-meta {
  font-size: 0.75rem;
  color: #adb5bd;
  line-height: 1.5;
}

.invoice-meta-link {
  color: #6c757d;
  text-decoration: none;
}
.invoice-meta-link:hover {
  color: #1E90FF;
}

.invoice-card-byline {
  font-size: 0.75rem;
  color: #ced4da;
}

.invoice-col-customer {
  gap: 3px;
}

.invoice-customer-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #343a40;
}

.invoice-card-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.invoice-tag {
  font-size: 11px;
  font-weight: 600;
  color: #6c757d;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.25rem;
  padding: 0 6px;
}

.invoice-col-financials {
  gap: 2px;
  background: #fafbff;
}

.invoice-fin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.invoice-fin-label {
  color: #ced4da;
  font-weight: 500;
  min-width: 44px;
}

.invoice-fin-value {
  font-weight: 600;
  color: #343a40;
  text-align: right;
  white-space: nowrap;
}

.invoice-fin-edit {
  color: #ced4da;
  margin-left: 3px;
  text-decoration: none;
}
.invoice-fin-edit:hover {
  color: #1E90FF;
}

.invoice-col-status {
  align-items: center;
  justify-content: center;
}

.invoice-status-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50rem;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}

.invoice-col-actions {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.invoice-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
  border: 1px solid #e9ecef;
  background: #ffffff;
  color: #adb5bd;
}
.invoice-action-btn:hover {
  text-decoration: none;
}

.invoice-action-view {
  color: #1E90FF;
  border-color: #b7dbff;
  background: white;
}
.invoice-action-view:hover {
  background: #1E90FF;
  color: #ffffff;
  border-color: #1E90FF;
}

.invoice-action-edit {
  color: #6c757d;
}
.invoice-action-edit:hover {
  background: #495057;
  color: #ffffff;
  border-color: #495057;
}

.invoice-action-print {
  color: #adb5bd;
}
.invoice-action-print:hover {
  background: #6c757d;
  color: #ffffff;
  border-color: #6c757d;
}

.inv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.inv-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.inv-topbar-title {
  font-size: 1rem;
  color: #495057;
}

.inv-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.inv-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .inv-layout {
    grid-template-columns: 1fr 280px;
  }
}
@media (max-width: 768px) {
  .inv-layout {
    grid-template-columns: 1fr;
  }
}

.inv-main {
  min-width: 0;
}

.inv-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.inv-header {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.inv-header-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.inv-header-id {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.inv-header-right {
  text-align: right;
}

.inv-status-pill {
  font-size: 0.875rem;
  padding: 6px 16px;
  border-radius: 50rem;
}

.inv-header-date {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.inv-parties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-bottom: 1px solid #e9ecef;
}

.inv-party {
  padding: 1rem 1.5rem;
  border-right: 1px solid #e9ecef;
}
.inv-party:last-child {
  border-right: none;
}
@media (max-width: 600px) {
  .inv-party {
    border-right: none;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
  }
}

.inv-party-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #adb5bd;
  margin-bottom: 0.5rem;
}

.inv-party-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}

.inv-party-meta {
  font-size: 0.75rem;
  color: #adb5bd;
  line-height: 1.6;
}

.inv-meta-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 0.5rem;
  font-size: 0.75rem;
  align-items: center;
}

.inv-meta-key {
  color: #adb5bd;
  font-weight: 500;
  white-space: nowrap;
}

.inv-meta-val {
  color: #343a40;
  font-weight: 600;
}
.inv-meta-val a {
  color: #1E90FF;
  text-decoration: none;
}
.inv-meta-val a:hover {
  text-decoration: underline;
}

.inv-table-wrap {
  overflow-x: auto;
}

.inv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.inv-table thead tr {
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}
.inv-table thead tr th {
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: #495057;
  white-space: nowrap;
}
.inv-table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background 0.1s;
}
.inv-table tbody tr:last-child {
  border-bottom: none;
}
.inv-table tbody tr:hover {
  background: #fafbff;
}
.inv-table tbody tr td {
  padding: 0.5rem 1rem;
  color: #495057;
  vertical-align: top;
}

.inv-totals-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-top: 2px solid #e9ecef;
}

.inv-totals {
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.inv-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #495057;
  padding: 0.25rem 0;
  border-bottom: 1px solid #e9ecef;
}
.inv-total-row:last-child {
  border-bottom: none;
}

.inv-grand-total {
  font-size: 1.125rem;
  font-weight: 700;
  color: #212529;
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

.inv-footer-notes {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
}

.inv-section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #adb5bd;
  margin-bottom: 0.5rem;
}

.inv-notes-body {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.7;
}

.inv-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: 16px;
}
@media (max-width: 768px) {
  .inv-sidebar {
    position: static;
  }
}

.inv-panel {
  background: #ffffff;
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.inv-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  cursor: pointer;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.875rem;
  font-weight: 600;
  color: #343a40;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background 0.12s;
}
.inv-panel-header:hover {
  background: #f2f4f6;
}

.inv-panel-chevron {
  font-size: 0.75rem;
  color: #adb5bd;
  transition: transform 0.2s;
}

.inv-panel-current {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6c757d;
}

.inv-panel-body {
  display: none;
  padding: 1rem;
}

.inv-field-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  display: block;
}

.inv-subsection-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #adb5bd;
  margin-bottom: 0.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid #e9ecef;
}

.inv-payment-history {
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.inv-payment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.875rem;
  background: #ffffff;
}
.inv-payment-item:last-child {
  border-bottom: none;
}

.inv-payment-summary {
  padding: 0.5rem 0.75rem;
  background: #f0fdf4;
  font-size: 0.75rem;
  border-top: 1px solid #e9ecef;
}

.inv-remarks-list {
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.inv-remark-item {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e9ecef;
  background: #ffffff;
}
.inv-remark-item:last-child {
  border-bottom: none;
}

.inv-remark-meta {
  font-size: 0.75rem;
  color: #adb5bd;
  margin-bottom: 2px;
}

.inv-remark-text {
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.5;
  margin-top: 2px;
}

.inv-remark-actions {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
}
.inv-remark-actions .btn-xs {
  padding: 2px 8px;
  font-size: 0.75rem;
  border-radius: 0.25rem;
}

.inv-remark-clear {
  position: absolute;
  top: 4px;
  right: 6px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #adb5bd;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.inv-remark-clear:hover {
  color: #EF4444;
}

.form-hidden-remarks {
  display: none;
}

.form-show-remarks {
  display: block;
}

.invoice-show-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.invoice-show-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto 2rem;
}

.invoice-show-header {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.invoice-show-brand {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.invoice-show-id {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.invoice-show-header-right {
  text-align: right;
}

.invoice-show-status-badge {
  font-size: 0.875rem;
  padding: 6px 14px;
  border-radius: 50rem;
}

.invoice-show-date {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.25rem;
}

.invoice-show-parties {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-bottom: 1px solid #e9ecef;
}

.invoice-show-party {
  padding: 1.5rem 1.5rem;
  border-right: 1px solid #e9ecef;
}
.invoice-show-party:last-child {
  border-right: none;
}
@media (max-width: 767px) {
  .invoice-show-party {
    border-right: none;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem;
  }
}

.invoice-show-party-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #adb5bd;
  margin-bottom: 0.5rem;
}

.invoice-show-party-name {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.25rem;
}

.invoice-show-party-detail {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.6;
}

.invoice-show-party-meta {
  font-size: 0.875rem;
  color: #adb5bd;
  margin-top: 0.25rem;
}

.invoice-show-meta-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.invoice-show-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.invoice-show-meta-key {
  color: #adb5bd;
  min-width: 72px;
  font-weight: 500;
}

.invoice-show-meta-val {
  color: #343a40;
  font-weight: 600;
}
.invoice-show-meta-val a {
  color: #1E90FF;
  text-decoration: none;
}
.invoice-show-meta-val a:hover {
  text-decoration: underline;
}

.invoice-show-table-wrap {
  overflow-x: auto;
}

.invoice-show-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.invoice-show-table thead tr {
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}
.invoice-show-table thead tr th {
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: #495057;
  white-space: nowrap;
}
.invoice-show-table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background 0.1s;
}
.invoice-show-table tbody tr:hover {
  background: #fafbff;
}
.invoice-show-table tbody tr:last-child {
  border-bottom: none;
}
.invoice-show-table tbody tr td {
  padding: 0.75rem 1rem;
  color: #495057;
  vertical-align: top;
}

.invoice-show-totals {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 2px solid #e9ecef;
  background: #f8f9fa;
}

.invoice-show-totals-inner {
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.invoice-show-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #495057;
  padding: 0.25rem 0;
  border-bottom: 1px solid #e9ecef;
}
.invoice-show-total-row:last-child {
  border-bottom: none;
}

.invoice-show-grand-total {
  font-size: 1.125rem;
  font-weight: 700;
  color: #212529;
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

.invoice-show-notes {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
}

.invoice-show-notes-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #adb5bd;
  margin-bottom: 0.5rem;
}

.invoice-show-notes-body {
  font-size: 0.875rem;
  color: #6c757d;
  line-height: 1.7;
}

.invoice-filter-area .select2-container {
  width: 100% !important;
}
.invoice-filter-area .input-daterange {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}
.invoice-filter-area .input-daterange .form-control {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
}
.invoice-filter-area .input-daterange .input-group-text {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem !important;
}

.ro-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.ro-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}
.ro-action-btn.ro-action-view {
  background: rgba(52, 144, 220, 0.1);
  color: #3490dc;
  border-color: rgba(52, 144, 220, 0.25);
}
.ro-action-btn.ro-action-view:hover {
  background: #3490dc;
  color: #fff;
}
.ro-action-btn.ro-action-clone {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.25);
}
.ro-action-btn.ro-action-clone:hover {
  background: #38bdf8;
  color: #fff;
}
.ro-action-btn.ro-action-edit {
  background: rgba(52, 144, 220, 0.1);
  color: #3490dc;
  border-color: rgba(52, 144, 220, 0.25);
}
.ro-action-btn.ro-action-edit:hover {
  background: #3490dc;
  color: #fff;
}
.ro-action-btn.ro-action-print {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
  border-color: rgba(107, 114, 128, 0.25);
}
.ro-action-btn.ro-action-print:hover {
  background: #6b7280;
  color: #fff;
}
.ro-action-btn.ro-action-delete {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
}
.ro-action-btn.ro-action-delete:hover {
  background: #ef4444;
  color: #fff;
}

.payment-details-modal-header {
  background: linear-gradient(135deg, #22C55E 0%, #20c997 100%) !important;
}

.payment-edit-modal-header {
  background: linear-gradient(135deg, #1E90FF 0%, #6bb6ff 100%) !important;
}

.payment-label-icon {
  color: #1E90FF !important;
}

.payment-detail-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.payment-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
  gap: 0.75rem;
}

.payment-detail-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.payment-detail-value {
  font-size: 0.875rem;
  color: #212529;
  text-align: right;
}

.payment-detail-icon {
  color: #22C55E;
  font-size: 0.75rem;
}

.modern-btn-payment-edit {
  background: linear-gradient(135deg, #1E90FF 0%, #5baeff 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.35);
}
.modern-btn-payment-edit:hover {
  box-shadow: 0 6px 16px rgba(30, 144, 255, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.modern-btn-payment-delete {
  background: linear-gradient(135deg, #EF4444 0%, #f37373 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}
.modern-btn-payment-delete:hover {
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.modern-btn-payment-save {
  background: linear-gradient(135deg, #22C55E 0%, #20c997 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}
.modern-btn-payment-save:hover {
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.ro-badge-currency,
.ro-badge-language {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(107, 114, 128, 0.1);
  color: #4b5563;
}

.veh-filter-body {
  background: #f9fafb;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
}
.veh-filter-body .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.25rem;
  display: block;
}
.veh-filter-body .form-control,
.veh-filter-body .form-select {
  font-size: 0.875rem;
  border-color: #E5E7EB;
  border-radius: 0.5rem;
}
.veh-filter-body .form-control:focus,
.veh-filter-body .form-select:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}
.veh-filter-body .input-group-text {
  font-size: 0.75rem;
  color: #adb5bd;
  background: #f8f9fa;
  border-color: #E5E7EB;
}

.veh-filter-available-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: #F59E0B;
  text-transform: none;
  letter-spacing: 0;
}

.veh-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.veh-filter-actions .btn-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #6c757d;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.veh-filter-actions .btn-filter-reset:hover {
  background: #f8f9fa;
  border-color: #ced4da;
  color: #111827;
}
.veh-filter-actions .btn-filter-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: #1E90FF;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.veh-filter-actions .btn-filter-apply:hover {
  background: #007cf4;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.35);
}

.vehicle-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  margin-bottom: 0;
}
.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.vehicle-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.vehicle-card-img-wrapper a {
  display: block;
  width: 100%;
  height: 100%;
}

.vehicle-card-img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.vehicle-card-img-wrapper a:hover .vehicle-card-img {
  transform: scale(1.05);
}

.vehicle-reg-badge {
  position: absolute;
  top: 36px;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.vehicle-class-badge-overlay {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  color: #667eea;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.image-overlay-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  padding: 40px 0.5rem 0.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 3;
}
.vehicle-card:hover .image-overlay-actions {
  transform: translateY(0);
}
@media (max-width: 1024px) {
  .image-overlay-actions {
    transform: translateY(0);
  }
}

.vehicle-card-body {
  padding: 1.5rem;
}

.vehicle-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.vehicle-title:hover {
  color: #667eea;
}

.overlay-btn-action {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  color: #212529;
}
.overlay-btn-action:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.overlay-btn-action.btn-clone:hover {
  color: #3b82f6;
}
.overlay-btn-action.btn-edit:hover {
  color: #8b5cf6;
}
.overlay-btn-action.btn-view:hover {
  color: #10b981;
}
.overlay-btn-action.btn-price:hover {
  color: #06b6d4;
}
.overlay-btn-action.btn-delete:hover {
  color: #EF4444;
}

.service-badges-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.service-badge {
  padding: 2px 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.service-badge-hourly {
  background: #e0f2fe;
  color: #0369a1;
}
.service-badge-daily {
  background: #dcfce7;
  color: #15803d;
}
.service-badge-transfer {
  background: #fef3c7;
  color: #a16207;
}

.price-section {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  margin: 1rem 0;
}

.price-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.price-values {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: baseline;
  overflow: hidden;
}

.price-section .price-item {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}
.price-section .price-item sub {
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.9;
}

.vehicle-info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.875rem;
}
.vehicle-info-row:last-child {
  border-bottom: none;
}

.vehicle-info-label {
  color: #adb5bd;
  font-weight: 500;
}

.vehicle-info-value {
  color: #212529;
  font-weight: 600;
  text-align: right;
}

.vehicle-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #adb5bd;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-badge.status-available {
  background: #dcfce7;
  color: #15803d;
}
.status-badge.status-maintenance {
  background: #fef3c7;
  color: #a16207;
}
.status-badge.status-accident {
  background: #fee2e2;
  color: #991b1b;
}
.status-badge.status-sold {
  background: #e0e7ff;
  color: #3730a3;
}
.status-badge .status-badge-dot {
  font-size: 6px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f8f9fa;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  color: #495057;
}

.veh-form-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.veh-form-page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.veh-form-page-subtitle {
  font-size: 0.875rem;
  color: #adb5bd;
  margin: 0.25rem 0 0;
}

.veh-form-section {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
}
.veh-form-section:focus-within {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.veh-form-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #f9fafb;
  border-bottom: 1px solid #E5E7EB;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: background 0.15s ease;
}
.veh-form-section-header:hover {
  background: #f8f9fa;
}

.veh-form-section-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.veh-form-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.veh-form-section-icon-primary {
  background: rgba(30, 144, 255, 0.12);
  color: #1E90FF;
}
.veh-form-section-icon-info {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
}
.veh-form-section-icon-success {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
}

.veh-form-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.veh-form-section-subtitle {
  font-size: 0.75rem;
  color: #adb5bd;
  margin: 2px 0 0;
}

.veh-form-section-chevron {
  font-size: 0.875rem;
  color: #ced4da;
  transition: transform 0.25s ease;
}
.veh-form-section-chevron.rotated {
  transform: rotate(180deg);
}

.veh-form-section-body {
  padding: 1.5rem;
}
.veh-form-section-body .form-control,
.veh-form-section-body .form-control-sm,
.veh-form-section-body .form-select,
.veh-form-section-body .form-select-sm {
  height: 34px;
  min-height: 34px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  font-size: 0.875rem;
  border-radius: 0;
  border-color: #E5E7EB;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.veh-form-section-body .form-control:focus,
.veh-form-section-body .form-control-sm:focus,
.veh-form-section-body .form-select:focus,
.veh-form-section-body .form-select-sm:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
  outline: none;
}
.veh-form-section-body .form-control.is-invalid,
.veh-form-section-body .form-control-sm.is-invalid,
.veh-form-section-body .form-select.is-invalid,
.veh-form-section-body .form-select-sm.is-invalid {
  border-color: #EF4444;
}
.veh-form-section-body .form-control.is-invalid:focus,
.veh-form-section-body .form-control-sm.is-invalid:focus,
.veh-form-section-body .form-select.is-invalid:focus,
.veh-form-section-body .form-select-sm.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.veh-form-section-body .select2-container--bootstrap-5 .select2-selection {
  border-radius: 0 !important;
  height: 34px !important;
  min-height: 34px !important;
  font-size: 0.875rem !important;
  border-color: #E5E7EB !important;
}
.veh-form-section-body .select2-container--bootstrap-5 .select2-selection--single {
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
  line-height: 1.4 !important;
}
.veh-form-section-body .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
  line-height: 1.4 !important;
  padding-top: 0.05rem !important;
}
.veh-form-section-body .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
  height: 34px !important;
}
.veh-form-section-body .select2-container--bootstrap-5 .select2-selection--multiple {
  min-height: 34px !important;
  border-radius: 0 !important;
}
.veh-form-section-body .select2-container--bootstrap-5.select2-container--focus .select2-selection, .veh-form-section-body .select2-container--bootstrap-5.select2-container--open .select2-selection {
  border-color: #1E90FF !important;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1) !important;
}
.veh-form-section-body .select2-container--bootstrap-5 .select2-selection.is-invalid {
  border-color: #EF4444 !important;
}
.veh-form-section-body .select2-container--bootstrap-5 .select2-dropdown {
  border-radius: 0 !important;
  border-color: #E5E7EB !important;
  font-size: 0.875rem !important;
}
.veh-form-section-body .input-group-sm .form-control,
.veh-form-section-body .input-group-sm .input-group-text {
  height: 34px;
  min-height: 34px;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  font-size: 0.875rem;
  border-radius: 0;
}
.veh-form-section-body .input-group-sm .input-group-text {
  background: #f9fafb;
  border-color: #E5E7EB;
  color: #adb5bd;
}
.veh-form-section-body .row {
  row-gap: 0;
}
.veh-form-section-body .veh-form-label {
  margin-bottom: 4px;
}

.veh-form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.25rem;
  display: block;
}

.veh-form-required {
  color: #EF4444;
  margin-left: 2px;
}

.veh-form-divider {
  border: none;
  border-top: 1px dashed #e9ecef;
  margin: 0.25rem 0;
}

.veh-form-toggle-group {
  display: flex;
  gap: 0.25rem;
}

.veh-form-toggle-input {
  display: none;
}
.veh-form-toggle-input:checked + .veh-form-toggle-label {
  background: #1E90FF;
  color: #ffffff;
  border-color: #1E90FF;
  box-shadow: 0 2px 6px rgba(30, 144, 255, 0.35);
}

.veh-form-toggle-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border: 1px solid #E5E7EB;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #ffffff;
  color: #6c757d;
  white-space: nowrap;
}
.veh-form-toggle-label:hover {
  border-color: #1E90FF;
  color: #1E90FF;
  background: rgba(30, 144, 255, 0.04);
}

.veh-form-upload-wrapper {
  position: relative;
}

.veh-form-upload-input {
  display: none;
}

.veh-form-upload-label {
  display: block;
  cursor: pointer;
}

.veh-form-upload-zone {
  border: 2px dashed #E5E7EB;
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #adb5bd;
  transition: all 0.2s ease;
  background: #f9fafb;
}
.veh-form-upload-zone:hover {
  border-color: #1E90FF;
  background: rgba(30, 144, 255, 0.03);
  color: #1E90FF;
}

.veh-form-upload-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.5rem;
}

.veh-form-upload-text {
  font-size: 0.875rem;
  font-weight: 600;
}

.veh-form-upload-hint {
  font-size: 0.75rem;
  color: #ced4da;
  margin-top: 0.25rem;
}

.veh-form-upload-preview-img {
  width: 100%;
  height: 140px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.75rem;
  display: none;
  border: 1px solid #E5E7EB;
}

.veh-form-footer {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  z-index: 50;
  margin-top: 0.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}
@media (max-width: 576px) {
  .veh-form-footer {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .veh-form-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

.vehicle-class-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  height: 100%;
  transition: all 0.3s ease;
}
.vehicle-class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.vehicle-class-card-header {
  position: relative;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.vehicle-class-card-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 12px);
}

.vehicle-class-card-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.vehicle-class-card:hover .vehicle-class-card-icon {
  transform: scale(1.1);
}

.vehicle-class-platform-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.vehicle-class-overlay-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  padding: 36px 0.5rem 0.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 3;
}
.vehicle-class-card:hover .vehicle-class-overlay-actions {
  transform: translateY(0);
}
@media (max-width: 1024px) {
  .vehicle-class-overlay-actions {
    transform: translateY(0);
  }
}

.vehicle-class-overlay-btn {
  background: rgba(255, 255, 255, 0.92);
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  color: #343a40;
}
.vehicle-class-overlay-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.vehicle-class-overlay-btn.btn-edit:hover {
  color: #8b5cf6;
}
.vehicle-class-overlay-btn.btn-toggle:hover {
  color: #0ea5e9;
}
.vehicle-class-overlay-btn.btn-delete:hover {
  color: #EF4444;
}

.vehicle-class-card-body {
  padding: 1rem 1rem 0.75rem;
}

.vehicle-class-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2d3748;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.vehicle-class-description {
  font-size: 0.875rem;
  color: #adb5bd;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  min-height: 42px;
}

.vehicle-class-status-badge {
  flex-shrink: 0;
  padding: 2px 0.5rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.vehicle-class-status-badge.status-active {
  background: #dcfce7;
  color: #15803d;
}
.vehicle-class-status-badge.status-inactive {
  background: #fee2e2;
  color: #b91c1c;
}

.vehicle-class-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e9ecef;
}

.vehicle-class-vehicle-count {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #667eea;
  text-decoration: none;
  transition: color 0.2s;
}
.vehicle-class-vehicle-count:hover {
  color: #764ba2;
}

.vehicle-class-locked-note {
  font-size: 0.75rem;
  color: #ced4da;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.vehicle-class-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: #adb5bd;
}

.vehicle-class-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}

.vehicle-class-empty-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.vehicle-class-empty-text {
  font-size: 0.875rem;
  color: #ced4da;
  margin-bottom: 0;
}

.vblock-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  height: 100%;
  transition: all 0.3s ease;
}
.vblock-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.vblock-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.vblock-card-img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: transform 0.3s ease;
}
.vblock-card:hover .vblock-card-img {
  transform: scale(1.05);
}

.vblock-type-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.vblock-type-badge.badge-blocked {
  background: #fee2e2;
  color: #b91c1c;
}
.vblock-type-badge.badge-using {
  background: #dbeafe;
  color: #1d4ed8;
}

.vblock-overlay-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  padding: 40px 0.5rem 0.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 3;
}
.vblock-card:hover .vblock-overlay-actions {
  transform: translateY(0);
}
@media (max-width: 1024px) {
  .vblock-overlay-actions {
    transform: translateY(0);
  }
}

.vblock-overlay-btn {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  color: #212529;
}
.vblock-overlay-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.vblock-overlay-btn.btn-edit:hover {
  color: #8b5cf6;
}
.vblock-overlay-btn.btn-view:hover {
  color: #10b981;
}
.vblock-overlay-btn.btn-delete:hover {
  color: #EF4444;
}

.vblock-card-body {
  padding: 1rem;
}

.vblock-vehicle-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vblock-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
  border-bottom: 1px solid #f8f9fa;
}
.vblock-info-row:last-of-type {
  border-bottom: none;
}

.vblock-info-label {
  font-size: 0.75rem;
  color: #adb5bd;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.vblock-info-value {
  font-size: 0.875rem;
  color: #495057;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.vblock-note {
  margin: 0.75rem 0;
  padding: 0.5rem 0.75rem;
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  border-radius: 0 0.25rem 0.25rem 0;
  font-size: 0.75rem;
  color: #6c757d;
  line-height: 1.5;
}

.vblock-date-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e9ecef;
}

.vblock-date-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vblock-date-label {
  font-size: 0.75rem;
  color: #ced4da;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.vblock-date-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: #495057;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.vblock-date-time {
  font-size: 0.7rem;
  color: #ced4da;
  font-weight: 400;
}

.vblock-date-arrow {
  color: #ced4da;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.vblock-empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: #adb5bd;
}

.vblock-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #dee2e6;
}

.vblock-empty-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.vblock-empty-text {
  font-size: 0.875rem;
  color: #ced4da;
  margin-bottom: 0;
}

.vm-table {
  font-size: 0.875rem;
}
.vm-table .vm-table-head th {
  background: #f8f9fa;
  color: #495057;
  font-weight: 600;
  border-bottom: 2px solid #e9ecef;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}
.vm-table .vm-table-row {
  transition: background 0.15s;
}
.vm-table .vm-table-row:hover {
  background: rgba(30, 144, 255, 0.03);
}
.vm-table .vm-table-row td {
  vertical-align: middle;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e9ecef;
}
.vm-table .vm-row-default {
  background: rgba(248, 249, 250, 0.5);
}

.vm-make-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.vm-make-icon.vm-make-icon-default {
  background: rgba(173, 181, 189, 0.12);
  color: #adb5bd;
}
.vm-make-icon.vm-make-icon-org {
  background: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
}

.vm-make-title {
  font-weight: 500;
  color: #212529;
  line-height: 1.3;
}

.vm-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.vm-type-badge.vm-type-platform {
  background: rgba(173, 181, 189, 0.12);
  color: #495057;
}
.vm-type-badge.vm-type-org {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
}

.vm-status-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
}
.vm-status-toggle:hover {
  opacity: 0.82;
}
.vm-status-toggle:active {
  transform: scale(0.96);
}
.vm-status-toggle.status-active {
  background: rgba(34, 197, 94, 0.12);
  color: #1eaf54;
}
.vm-status-toggle.status-inactive {
  background: rgba(239, 68, 68, 0.1);
  color: #ed2d2d;
}

.vm-action-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  transition: all 0.15s;
}
.vm-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.vm-locked-note {
  font-size: 0.75rem;
  color: #adb5bd;
  display: inline-flex;
  align-items: center;
}

.vm-empty-state {
  padding: 1.5rem 1rem;
}

.vm-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.vm-legend-dot.vm-legend-platform {
  background: #ced4da;
}
.vm-legend-dot.vm-legend-org {
  background: #1E90FF;
}

.vm-modal-content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.vm-modal-header {
  background: linear-gradient(135deg, #1E90FF 0%, #0071e0 100%);
  color: #ffffff;
  border-bottom: none;
  padding: 1rem;
}
.vm-modal-header .modal-title {
  font-size: 1rem;
  font-weight: 600;
}

.vm-modal-header-edit {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #ffffff;
  border-bottom: none;
  padding: 1rem;
}
.vm-modal-header-edit .modal-title {
  font-size: 1rem;
  font-weight: 600;
}

.vm-modal-footer {
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
  padding: 0.75rem 1rem;
}

.ro-stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  border: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.ro-stat-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.ro-stat-card.ro-stat-total {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.ro-stat-card.ro-stat-active {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.ro-stat-card.ro-stat-perday {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.ro-stat-card.ro-stat-perrent {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.ro-stat-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.ro-stat-body {
  color: #ffffff;
}

.ro-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.ro-stat-label {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 2px;
}

.ro-table-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.ro-table-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
}

.ro-result-count {
  font-size: 0.875rem;
  color: #495057;
  font-weight: 500;
}

.ro-table {
  font-size: 0.875rem;
}
.ro-table thead th {
  background: #f8f9fa;
  color: #495057;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid #e9ecef;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}
.ro-table tbody td {
  vertical-align: middle;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(233, 236, 239, 0.7);
}

.ro-row {
  transition: background 0.12s;
}
.ro-row:hover {
  background: rgba(30, 144, 255, 0.03);
}
.ro-row.ro-row-default {
  background: rgba(248, 249, 250, 0.6);
}
.ro-row.ro-row-default:hover {
  background: rgba(233, 236, 239, 0.4);
}

.ro-option-icon {
  width: 34px;
  height: 34px;
  border-radius: 0.5rem;
  background: rgba(30, 144, 255, 0.08);
  color: #1E90FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ro-option-title {
  font-weight: 600;
  color: #212529;
  line-height: 1.3;
}

.ro-option-desc {
  font-size: 0.75rem;
  color: #adb5bd;
  margin-top: 2px;
  line-height: 1.4;
}

.ro-platform-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #adb5bd;
  background: rgba(173, 181, 189, 0.1);
  padding: 1px 6px;
  border-radius: 1rem;
}

.ro-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.ro-badge.ro-badge-day {
  background: rgba(56, 189, 248, 0.12);
  color: #11b0f7;
}
.ro-badge.ro-badge-rent {
  background: rgba(118, 75, 162, 0.12);
  color: #764ba2;
}
.ro-badge.ro-badge-amount {
  background: rgba(34, 197, 94, 0.12);
  color: #1ca24d;
}
.ro-badge.ro-badge-percent {
  background: rgba(245, 158, 11, 0.15);
  color: #945f06;
}
.ro-badge.ro-badge-yes {
  background: rgba(34, 197, 94, 0.1);
  color: #1eaf54;
}
.ro-badge.ro-badge-no {
  background: rgba(173, 181, 189, 0.1);
  color: #6c757d;
}

.ro-amount {
  font-weight: 700;
  color: #212529;
  font-size: 0.875rem;
}

.ro-class-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: #e9ecef;
  color: #6c757d;
}
.ro-class-count.ro-class-count-active {
  background: rgba(30, 144, 255, 0.12);
  color: #1E90FF;
}

.ro-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.ro-status-badge.ro-status-active {
  background: rgba(34, 197, 94, 0.12);
  color: #1eaf54;
}
.ro-status-badge.ro-status-inactive {
  background: rgba(239, 68, 68, 0.1);
  color: #ed2d2d;
}

.ro-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.ro-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.ro-action-btn.ro-action-clone {
  background: rgba(56, 189, 248, 0.1);
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.25);
}
.ro-action-btn.ro-action-clone:hover {
  background: #38BDF8;
  color: #ffffff;
}
.ro-action-btn.ro-action-edit {
  background: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
  border-color: rgba(30, 144, 255, 0.25);
}
.ro-action-btn.ro-action-edit:hover {
  background: #1E90FF;
  color: #ffffff;
}
.ro-action-btn.ro-action-delete {
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.2);
}
.ro-action-btn.ro-action-delete:hover {
  background: #EF4444;
  color: #ffffff;
}

.ro-empty {
  padding: 2rem 1rem;
}

.ro-pagination {
  padding: 0.75rem 1rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: center;
}
.ro-pagination .pagination {
  margin: 0;
}

.ip-stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ip-stat-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.ip-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ip-stat-total .ip-stat-icon {
  background: rgba(30, 144, 255, 0.12);
  color: #1E90FF;
}
.ip-stat-active .ip-stat-icon {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
}
.ip-stat-avg .ip-stat-icon {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
}
.ip-stat-inactive .ip-stat-icon {
  background: rgba(173, 181, 189, 0.12);
  color: #adb5bd;
}

.ip-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.2;
}

.ip-stat-label {
  font-size: 0.75rem;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1rem;
}

.ip-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ip-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.ip-card-header {
  background: #1E90FF;
  color: #ffffff;
  padding: 1rem 1.5rem;
}

.ip-package-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.ip-package-type {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 3px 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ip-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ip-status-badge.active {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
  color: #ffffff;
}
.ip-status-badge.inactive {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
}
.ip-status-badge:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: #ffffff;
}

.ip-card-body {
  padding: 1rem 1.5rem;
}

.ip-price-tag {
  background: rgba(30, 144, 255, 0.07);
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 56px;
}

.ip-price-label {
  font-size: 0.75rem;
  color: #1E90FF;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.ip-price-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1E90FF;
  line-height: 1;
}

.ip-deductible-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0.75rem;
  background: rgba(239, 68, 68, 0.05);
  border-left: 3px solid #EF4444;
  border-radius: 0.5rem;
  height: 100%;
  min-height: 56px;
}

.ip-deductible-label {
  font-size: 0.75rem;
  color: #EF4444;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.ip-deductible-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: #EF4444;
  line-height: 1.2;
}

.ip-description {
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.6;
  margin: 0;
}

.ip-coverage-section {
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin: 0.75rem 0;
}

.ip-coverage-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ip-coverage-badge {
  display: inline-block;
  background: #ffffff;
  color: #1E90FF;
  border: 1.5px solid rgba(30, 144, 255, 0.4);
  padding: 4px 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  margin: 3px;
  transition: background 0.15s ease, color 0.15s ease;
}
.ip-coverage-badge:hover {
  background: #1E90FF;
  color: #ffffff;
  border-color: #1E90FF;
}

.ip-show-more-btn {
  background: none;
  border: none;
  color: #1E90FF;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 3px 0.5rem;
  border-radius: 0.25rem;
  transition: background 0.15s ease;
}
.ip-show-more-btn:hover {
  background: rgba(30, 144, 255, 0.08);
}

.ip-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.ip-action-btn-edit {
  background: rgba(30, 144, 255, 0.08);
  color: #1E90FF;
  border-color: rgba(30, 144, 255, 0.2);
}
.ip-action-btn-edit:hover {
  background: #1E90FF;
  color: #ffffff;
  border-color: #1E90FF;
}
.ip-action-btn-delete {
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.2);
}
.ip-action-btn-delete:hover {
  background: #EF4444;
  color: #ffffff;
  border-color: #EF4444;
}

.ip-empty {
  padding: 3rem 0;
  text-align: center;
}
.ip-empty .ip-empty-icon {
  font-size: 3.5rem;
  color: #dee2e6;
  margin-bottom: 1rem;
  display: block;
}
.ip-empty h4 {
  color: #adb5bd;
  font-weight: 500;
}
.ip-empty p {
  color: #adb5bd;
  font-size: 0.875rem;
}

.customer-filter-body {
  background: #f9fafb;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
}
.customer-filter-body .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.25rem;
  display: block;
}
.customer-filter-body .form-control,
.customer-filter-body .form-select {
  font-size: 0.875rem;
  border-color: #E5E7EB;
  border-radius: 0.5rem;
}
.customer-filter-body .form-control:focus,
.customer-filter-body .form-select:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}
.customer-filter-body .input-group-text {
  font-size: 0.75rem;
  color: #adb5bd;
  background: #f8f9fa;
  border-color: #E5E7EB;
}

.customer-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.customer-filter-actions .btn-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #6c757d;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.customer-filter-actions .btn-filter-reset:hover {
  background: #f8f9fa;
  border-color: #ced4da;
  color: #111827;
}
.customer-filter-actions .btn-filter-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: #1E90FF;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.customer-filter-actions .btn-filter-apply:hover {
  background: #007cf4;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.35);
}

.customer-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  margin-bottom: 0;
}
.customer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.customer-card-header {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1.5rem;
  text-align: center;
}

.customer-avatar-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.customer-avatar {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  background: #ffffff;
}

.customer-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #1E90FF;
  font-size: 2rem;
  font-weight: 700;
}

.customer-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem;
}

.customer-email {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.customer-card-body {
  padding: 1.5rem;
}

.customer-info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.875rem;
}
.customer-info-row:last-child {
  border-bottom: none;
}

.customer-info-label {
  color: #adb5bd;
  font-weight: 500;
}

.customer-info-value {
  color: #212529;
  font-weight: 600;
  text-align: right;
}

.customer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
  font-size: 0.75rem;
  color: #adb5bd;
}

.customer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.customer-status-badge.status-active {
  background: #dcfce7;
  color: #15803d;
}
.customer-status-badge.status-inactive {
  background: #fee2e2;
  color: #991b1b;
}
.customer-status-badge.status-pending {
  background: #fef3c7;
  color: #a16207;
}
.customer-status-badge .status-badge-dot {
  font-size: 6px;
}

.customer-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}
.customer-actions .btn-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #6c757d;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.customer-actions .btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.customer-actions .btn-action.btn-view:hover {
  color: #1E90FF;
  border-color: #1E90FF;
}
.customer-actions .btn-action.btn-edit:hover {
  color: #8b5cf6;
  border-color: #8b5cf6;
}
.customer-actions .btn-action.btn-delete:hover {
  color: #EF4444;
  border-color: #EF4444;
}

.veh-form-section-icon-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
}
.veh-form-section-icon-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}

.customer-photo-preview {
  width: 100%;
  max-width: 200px;
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid #E5E7EB;
}

.document-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.document-upload-item {
  position: relative;
}
.document-upload-item .form-control {
  height: auto;
  padding: 0.5rem;
}

.customer-files-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.customer-file-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #495057;
}
.customer-file-item .file-icon {
  font-size: 1.25rem;
  color: #1E90FF;
}
.customer-file-item .file-name {
  font-weight: 500;
}
.customer-file-item .file-remove {
  margin-left: 0.5rem;
  color: #EF4444;
  cursor: pointer;
  transition: all 0.15s ease;
}
.customer-file-item .file-remove:hover {
  color: #eb1515;
}

.customer-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.customer-table thead th {
  background: #f9fafb;
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid #E5E7EB;
  white-space: nowrap;
}
.customer-table tbody tr {
  transition: background 0.15s ease;
}
.customer-table tbody tr:hover {
  background: #f9fafb;
}
.customer-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.875rem;
  vertical-align: middle;
}

.customer-table-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.customer-table-name {
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.customer-table-email {
  font-size: 0.75rem;
  color: #adb5bd;
  margin: 2px 0 0;
}

@media (max-width: 768px) {
  .customer-card-header {
    padding: 1rem;
  }

  .customer-card-body {
    padding: 1rem;
  }

  .customer-actions {
    flex-direction: column;
  }
  .customer-actions .btn-action {
    width: 100%;
  }

  .document-upload-grid {
    grid-template-columns: 1fr;
  }
}
.people-filter-body {
  background: #f9fafb;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
}
.people-filter-body .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.25rem;
  display: block;
}
.people-filter-body .form-control,
.people-filter-body .form-select {
  font-size: 0.875rem;
  border-color: #E5E7EB;
  border-radius: 0.5rem;
}
.people-filter-body .form-control:focus,
.people-filter-body .form-select:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}
.people-filter-body .input-group-text {
  font-size: 0.75rem;
  color: #adb5bd;
  background: #f8f9fa;
  border-color: #E5E7EB;
}

.people-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}
.people-filter-actions .btn-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #6c757d;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.people-filter-actions .btn-filter-reset:hover {
  background: #f8f9fa;
  border-color: #ced4da;
  color: #111827;
}
.people-filter-actions .btn-filter-apply {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: #1E90FF;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.people-filter-actions .btn-filter-apply:hover {
  background: #007cf4;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.35);
}

.driver-form-section {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease;
}
.driver-form-section:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.driver-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #E5E7EB;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.driver-section-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.driver-section-icon-personal {
  background: rgba(30, 144, 255, 0.12);
  color: #1E90FF;
}
.driver-section-icon-contact {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.driver-section-icon-address {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}
.driver-section-icon-license {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
}
.driver-section-icon-documents {
  background: rgba(6, 182, 212, 0.12);
  color: #06b6d4;
}
.driver-section-icon-provider {
  background: rgba(236, 72, 153, 0.12);
  color: #ec4899;
}
.driver-section-icon-files {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

.driver-section-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.driver-section-subtitle {
  margin: 0;
  margin-top: 2px;
  font-size: 0.75rem;
  color: #adb5bd;
}

.driver-section-body {
  padding: 1.5rem;
}

.document-upload-area {
  border: 2px dashed #E5E7EB;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  background: #f9fafb;
  transition: all 0.2s ease;
}
.document-upload-area:hover {
  border-color: #1E90FF;
  background: rgba(30, 144, 255, 0.03);
}
.document-upload-area .upload-icon {
  font-size: 2rem;
  color: #ced4da;
  margin-bottom: 0.5rem;
}
.document-upload-area .upload-text {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}
.document-upload-area .upload-hint {
  font-size: 0.75rem;
  color: #adb5bd;
}

.document-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.document-preview-item {
  position: relative;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.document-preview-item img {
  width: 100%;
  height: 150px;
  -o-object-fit: cover;
     object-fit: cover;
}
.document-preview-item .document-label {
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #495057;
  text-align: center;
  background: #f9fafb;
  border-top: 1px solid #E5E7EB;
}
.document-preview-item .document-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.75rem;
}
.document-preview-item .document-remove:hover {
  background: #EF4444;
  transform: scale(1.1);
}

.driver-files-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.driver-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: #f9fafb;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}
.driver-file-item:hover {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.driver-file-item .file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.driver-file-item .file-info .file-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: #1E90FF;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.driver-file-item .file-info .file-details .file-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 2px;
}
.driver-file-item .file-info .file-details .file-meta {
  font-size: 0.75rem;
  color: #adb5bd;
}
.driver-file-item .file-actions {
  display: flex;
  gap: 0.5rem;
}
.driver-file-item .file-actions .btn-file-download,
.driver-file-item .file-actions .btn-file-delete {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5E7EB;
  background: #ffffff;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s ease;
}
.driver-file-item .file-actions .btn-file-download:hover,
.driver-file-item .file-actions .btn-file-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.driver-file-item .file-actions .btn-file-download:hover {
  border-color: #1E90FF;
  color: #1E90FF;
  background: rgba(30, 144, 255, 0.05);
}
.driver-file-item .file-actions .btn-file-delete:hover {
  border-color: #EF4444;
  color: #EF4444;
  background: rgba(239, 68, 68, 0.05);
}

.license-expiry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.license-expiry-badge.expiry-valid {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.license-expiry-badge.expiry-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
}
.license-expiry-badge.expiry-expired {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}

.driver-provider-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.08) 0%, rgba(30, 144, 255, 0.12) 100%);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 0.5rem;
  color: #1E90FF;
  font-size: 0.875rem;
  font-weight: 600;
}
.driver-provider-badge i {
  font-size: 1rem;
}

.driver-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.5rem 0;
  margin-top: 1.5rem;
}
.driver-form-actions .btn-cancel {
  padding: 0.75rem 2rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #6c757d;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.driver-form-actions .btn-cancel:hover {
  background: #f8f9fa;
  border-color: #ced4da;
  color: #111827;
}
.driver-form-actions .btn-submit {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #1E90FF 0%, #007cf4 100%);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.25);
}
.driver-form-actions .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.35);
}
.driver-form-actions .btn-submit:active {
  transform: translateY(0);
}

.drivers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.driver-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
  position: relative;
}
.driver-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.driver-card-header {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #E5E7EB;
  min-height: 80px;
}

.driver-avatar {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: block;
}

.driver-basic-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  align-self: center;
}

.driver-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 !important;
  padding: 0 !important;
}

.driver-since {
  font-size: 0.8125rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.2;
  margin: 0 !important;
  padding: 0 !important;
}

.driver-card-body {
  padding: 1.25rem 1rem;
}

.info-section {
  margin-bottom: 1.5rem;
}
.info-section:last-child {
  margin-bottom: 0;
}

.info-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c757d;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.info-section-title i {
  color: #1E90FF;
}

.info-item {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}
.info-item:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #adb5bd;
  min-width: 90px;
}

.info-value {
  font-size: 0.875rem;
  color: #111827;
  font-weight: 500;
  flex: 1;
  word-break: break-word;
}

.driver-card-footer {
  padding: 0.875rem 1rem;
  background: #f9fafb;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.driver-provider {
  font-size: 0.875rem;
  color: #495057;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.provider-badge {
  background: linear-gradient(135deg, #1E90FF 0%, #0077ea 100%);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.driver-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: none;
  font-size: 0.875rem;
}

.action-btn-edit {
  background: rgba(30, 144, 255, 0.12);
  color: #0077ea;
}
.action-btn-edit:hover {
  background: #0077ea;
  color: #ffffff;
  transform: translateY(-2px);
}

.action-btn-view {
  background: rgba(34, 197, 94, 0.12);
  color: #1a9a49;
}
.action-btn-view:hover {
  background: #1a9a49;
  color: #ffffff;
  transform: translateY(-2px);
}

.action-btn-delete {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}
.action-btn-delete:hover {
  background: #EF4444;
  color: #ffffff;
  transform: translateY(-2px);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  color: #dee2e6;
  margin-bottom: 1rem;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.empty-state-text {
  color: #6c757d;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.agent-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
  position: relative;
}
.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.agent-card-header {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid #E5E7EB;
  min-height: 100px;
}

.agent-avatar {
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: block;
}

.agent-basic-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.agent-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin: 0;
}

.agent-agency {
  font-size: 0.875rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
}
.agent-agency i {
  color: #1E90FF;
  font-size: 0.75rem;
}

.agent-since {
  font-size: 0.75rem;
  color: #adb5bd;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.agent-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.agent-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.agent-type-badge.badge-primary-agent {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.12) 0%, rgba(30, 144, 255, 0.16) 100%);
  color: #0077ea;
  border: 1px solid rgba(30, 144, 255, 0.2);
}
.agent-type-badge.badge-secondary-agent {
  background: linear-gradient(135deg, rgba(206, 212, 218, 0.12) 0%, rgba(206, 212, 218, 0.16) 100%);
  color: #495057;
  border: 1px solid rgba(206, 212, 218, 0.2);
}

.agent-card-body {
  padding: 1.25rem;
}

.agent-card-footer {
  padding: 1rem 1.25rem;
  background: #f9fafb;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agent-actions {
  display: flex;
  gap: 0.5rem;
}

.agency-logo-mini {
  width: 28px;
  height: 28px;
  border-radius: 0.25rem;
  -o-object-fit: contain;
     object-fit: contain;
  background: #ffffff;
  padding: 2px;
  border: 1px solid #E5E7EB;
}

.agent-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.agent-stat-box {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.2s ease;
}
.agent-stat-box:hover {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.agent-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.agent-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c757d;
}

@media (max-width: 768px) {
  .drivers-grid {
    grid-template-columns: 1fr;
  }

  .agent-stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .driver-section-header {
    padding: 0.75rem 1rem;
  }

  .driver-section-body {
    padding: 1rem;
  }

  .driver-form-actions {
    flex-direction: column-reverse;
  }
  .driver-form-actions .btn-cancel,
.driver-form-actions .btn-submit {
    width: 100%;
    justify-content: center;
  }

  .document-preview-grid {
    grid-template-columns: 1fr;
  }
}
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.provider-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
  position: relative;
}
.provider-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.provider-card-header {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  padding: 1.125rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #E5E7EB;
  min-height: 80px;
}

.provider-avatar {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: block;
}

.provider-basic-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  align-self: center;
}

.provider-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 !important;
  padding: 0 !important;
}

.provider-since {
  font-size: 0.8125rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1.2;
  margin: 0 !important;
  padding: 0 !important;
}

.provider-card-body {
  padding: 1.25rem 1rem;
}

.info-section {
  margin-bottom: 1.5rem;
}
.info-section:last-child {
  margin-bottom: 0;
}

.info-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6c757d;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.info-section-title i {
  color: #1E90FF;
}

.info-item {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}
.info-item:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #adb5bd;
  min-width: 90px;
}

.info-value {
  font-size: 0.875rem;
  color: #111827;
  font-weight: 500;
  flex: 1;
  word-break: break-word;
}

.provider-card-footer {
  padding: 0.875rem 1rem;
  background: #f9fafb;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.provider-stats {
  font-size: 0.875rem;
  color: #495057;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.provider-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: none;
  font-size: 0.875rem;
}

.action-btn-edit {
  background: rgba(30, 144, 255, 0.12);
  color: #0077ea;
}
.action-btn-edit:hover {
  background: #0077ea;
  color: #ffffff;
  transform: translateY(-2px);
}

.action-btn-view {
  background: rgba(34, 197, 94, 0.12);
  color: #1a9a49;
}
.action-btn-view:hover {
  background: #1a9a49;
  color: #ffffff;
  transform: translateY(-2px);
}

.action-btn-delete {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}
.action-btn-delete:hover {
  background: #EF4444;
  color: #ffffff;
  transform: translateY(-2px);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  color: #dee2e6;
  margin-bottom: 1rem;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.empty-state-text {
  color: #6c757d;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .providers-grid {
    grid-template-columns: 1fr;
  }
}
.vehicle-calendar {
  background: #F5F7FA;
  min-height: 100vh;
  padding: 1rem;
}
.vehicle-calendar-container {
  max-width: 1600px;
  margin: 0 auto;
}
.vehicle-calendar-header {
  margin-bottom: 2rem;
}
.vehicle-calendar-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.vehicle-calendar-stats .stat-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  border-left: 4px solid #1E90FF;
  position: relative;
  overflow: hidden;
  cursor: default;
}
.vehicle-calendar-stats .stat-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20px;
  width: 100px;
  height: 200%;
  border-radius: 50%;
  background: rgba(30, 144, 255, 0.04);
  transition: all 0.3s ease;
}
.vehicle-calendar-stats .stat-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}
.vehicle-calendar-stats .stat-card:hover::before {
  right: -10px;
  background: rgba(30, 144, 255, 0.07);
}
.vehicle-calendar-stats .stat-card:hover .stat-value {
  transform: scale(1.05);
}
.vehicle-calendar-stats .stat-card.stat-card-thisweek {
  border-left-color: #22C55E;
}
.vehicle-calendar-stats .stat-card.stat-card-nextweek {
  border-left-color: #38BDF8;
}
.vehicle-calendar-stats .stat-card.stat-card-today {
  border-left-color: #F59E0B;
}
.vehicle-calendar-stats .stat-card.stat-card-thisweek::before {
  background: rgba(34, 197, 94, 0.04);
}
.vehicle-calendar-stats .stat-card.stat-card-nextweek::before {
  background: rgba(56, 189, 248, 0.04);
}
.vehicle-calendar-stats .stat-card.stat-card-today::before {
  background: rgba(245, 158, 11, 0.04);
}
.vehicle-calendar-stats .stat-card.stat-card-thisweek:hover::before {
  background: rgba(34, 197, 94, 0.08);
}
.vehicle-calendar-stats .stat-card.stat-card-nextweek:hover::before {
  background: rgba(56, 189, 248, 0.08);
}
.vehicle-calendar-stats .stat-card.stat-card-today:hover::before {
  background: rgba(245, 158, 11, 0.08);
}
.vehicle-calendar-stats .stat-card .stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.vehicle-calendar-stats .stat-card .stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(30, 144, 255, 0.08);
  color: #1E90FF;
  transition: all 0.2s ease;
}
.vehicle-calendar-stats .stat-card .stat-icon.icon-active {
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}
.vehicle-calendar-stats .stat-card .stat-icon.icon-pending {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}
.vehicle-calendar-stats .stat-card .stat-icon.icon-utilization {
  background: rgba(56, 189, 248, 0.1);
  color: #38BDF8;
}
.vehicle-calendar-stats .stat-card:hover .stat-icon {
  transform: rotate(-6deg) scale(1.1);
}
.vehicle-calendar-stats .stat-card .stat-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 0.75rem;
  border-radius: 1rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.vehicle-calendar-stats .stat-card .stat-badge.stat-badge-primary {
  background: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
}
.vehicle-calendar-stats .stat-card .stat-badge.stat-badge-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}
.vehicle-calendar-stats .stat-card .stat-badge.stat-badge-info {
  background: rgba(56, 189, 248, 0.1);
  color: #38BDF8;
}
.vehicle-calendar-stats .stat-card .stat-badge.stat-badge-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #ac6f07;
}
.vehicle-calendar-stats .stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
  margin-bottom: 0.25rem;
  transition: transform 0.2s ease;
  position: relative;
  z-index: 1;
}
.vehicle-calendar-stats .stat-card .stat-label {
  font-size: 0.75rem;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.vehicle-calendar-stats .stat-card .stat-footer {
  font-size: 0.75rem;
  color: #adb5bd;
  font-weight: 500;
  padding-top: 0.5rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.vehicle-calendar-stats .stat-card .stat-footer i {
  color: #ced4da;
}
.vehicle-calendar-main {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  min-height: 800px;
}
.vehicle-calendar-sidebar {
  background: #f9fafb;
  border-right: 1px solid #E5E7EB;
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 800px;
}
.vehicle-calendar-sidebar::-webkit-scrollbar {
  width: 6px;
}
.vehicle-calendar-sidebar::-webkit-scrollbar-track {
  background: transparent;
}
.vehicle-calendar-sidebar::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 3px;
}
.vehicle-calendar-sidebar::-webkit-scrollbar-thumb:hover {
  background: #ced4da;
}
.vehicle-calendar-sidebar .sidebar-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vehicle-calendar-sidebar .sidebar-title i {
  color: #1E90FF;
}
.vehicle-calendar-sidebar .vehicle-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.vehicle-calendar-sidebar .vehicle-item {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.vehicle-calendar-sidebar .vehicle-item:hover {
  border-color: #1E90FF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.vehicle-calendar-sidebar .vehicle-item.active {
  border-color: #1E90FF;
  background: rgba(30, 144, 255, 0.05);
}
.vehicle-calendar-sidebar .vehicle-item .vehicle-image {
  width: 56px;
  height: 56px;
  border-radius: 0.5rem;
  -o-object-fit: cover;
     object-fit: cover;
  background: #e9ecef;
}
.vehicle-calendar-sidebar .vehicle-item .vehicle-info {
  flex: 1;
}
.vehicle-calendar-sidebar .vehicle-item .vehicle-info .vehicle-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}
.vehicle-calendar-sidebar .vehicle-item .vehicle-info .vehicle-price {
  font-size: 0.75rem;
  color: #1E90FF;
  font-weight: 500;
}
.vehicle-calendar-grid-wrapper {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.vehicle-calendar-grid-wrapper.full-width {
  width: 100%;
}
.vehicle-calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.vehicle-calendar-toolbar .toolbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.vehicle-calendar-toolbar .toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.vehicle-calendar-toolbar .today-btn {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s ease;
}
.vehicle-calendar-toolbar .today-btn:hover {
  background: #f8f9fa;
  border-color: #ced4da;
}
.vehicle-calendar-toolbar .filter-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  transition: all 0.2s ease;
}
.vehicle-calendar-toolbar .filter-btn .filter-chevron {
  font-size: 10px;
  transition: transform 0.25s ease;
}
.vehicle-calendar-toolbar .filter-btn:hover {
  background: #f8f9fa;
  border-color: #ced4da;
  color: #111827;
}
.vehicle-calendar-toolbar .filter-btn.filter-btn-active {
  background: rgba(30, 144, 255, 0.08);
  border-color: #1E90FF;
  color: #1E90FF;
}
.vehicle-calendar-toolbar .date-navigation {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.vehicle-calendar-toolbar .date-navigation button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #495057;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.vehicle-calendar-toolbar .date-navigation button:hover {
  background: #f8f9fa;
}
.vehicle-calendar-toolbar .current-date {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-left: 0.75rem;
}
.vehicle-calendar-toolbar .view-switcher {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 4px;
  display: flex;
  gap: 4px;
}
.vehicle-calendar-toolbar .view-switcher button {
  background: transparent;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  transition: all 0.15s ease;
}
.vehicle-calendar-toolbar .view-switcher button.active, .vehicle-calendar-toolbar .view-switcher button:hover {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.vehicle-calendar .calendar-filter-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-bottom 0.3s ease;
  opacity: 0;
  margin-bottom: 0;
}
.vehicle-calendar .calendar-filter-panel.calendar-filter-panel-open {
  max-height: 400px;
  opacity: 1;
  margin-bottom: 1.5rem;
}
.vehicle-calendar .calendar-filter-body {
  background: #f9fafb;
  border: 1px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
}
.vehicle-calendar .calendar-filter-body .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.25rem;
}
.vehicle-calendar .calendar-filter-body .form-select,
.vehicle-calendar .calendar-filter-body .form-control {
  font-size: 0.875rem;
  border-color: #E5E7EB;
  border-radius: 0.5rem;
}
.vehicle-calendar .calendar-filter-body .form-select:focus,
.vehicle-calendar .calendar-filter-body .form-control:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}
.vehicle-calendar .calendar-filter-body .input-group-text {
  font-size: 0.75rem;
  color: #adb5bd;
  background: #f8f9fa;
  border-color: #E5E7EB;
}
.vehicle-calendar .calendar-filter-actions {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}
.vehicle-calendar .calendar-filter-actions .btn-filter-reset {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #6c757d;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}
.vehicle-calendar .calendar-filter-actions .btn-filter-reset:hover {
  background: #f8f9fa;
  border-color: #ced4da;
  color: #111827;
}
.vehicle-calendar .calendar-filter-actions .btn-filter-apply {
  flex: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: #1E90FF;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.vehicle-calendar .calendar-filter-actions .btn-filter-apply:hover {
  background: #007cf4;
  box-shadow: 0 2px 8px rgba(30, 144, 255, 0.35);
}
.vehicle-calendar-grid {
  flex: 1;
  overflow: auto;
  cursor: grab;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  position: relative;
}
.vehicle-calendar-grid:active, .vehicle-calendar-grid.dragging {
  cursor: grabbing;
}
.vehicle-calendar-grid::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.vehicle-calendar-grid::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 0.25rem;
}
.vehicle-calendar-grid::-webkit-scrollbar-thumb {
  background: #ced4da;
  border-radius: 0.25rem;
}
.vehicle-calendar-grid::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}
.vehicle-calendar-grid::-webkit-scrollbar-corner {
  background: #f8f9fa;
}
.vehicle-calendar-grid table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #E5E7EB;
}
.vehicle-calendar-grid table thead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.vehicle-calendar-grid table thead th {
  padding: 0.5rem 0.25rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #E5E7EB;
  border-right: 1px solid #E5E7EB;
  background: #f9fafb;
  white-space: nowrap;
}
.vehicle-calendar-grid table thead th:first-child {
  text-align: left;
  padding-left: 1rem;
  position: sticky;
  left: 0;
  background: #f8f9fa;
  z-index: 25;
  min-width: 200px;
  border-right: 2px solid #E5E7EB;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.06);
}
.vehicle-calendar-grid table thead th .th-day-number {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
}
.vehicle-calendar-grid table thead th:last-child {
  border-right: none;
}
.vehicle-calendar-grid table tbody tr:hover {
  background: rgba(30, 144, 255, 0.02);
}
.vehicle-calendar-grid table tbody tr td {
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid #E5E7EB;
  border-right: 1px solid #E5E7EB;
  min-width: 50px;
  height: 40px;
  vertical-align: middle;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #ffffff;
  font-size: 0.75rem;
  color: #ced4da;
}
.vehicle-calendar-grid table tbody tr td:first-child {
  position: sticky;
  left: 0;
  background: #f9fafb;
  z-index: 15;
  font-weight: 500;
  color: #111827;
  border-right: 2px solid #E5E7EB;
  padding-left: 1rem;
  min-width: 200px;
  text-align: left;
  cursor: default;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.06);
}
.vehicle-calendar-grid table tbody tr td:first-child:hover {
  background: #f8f9fa;
}
.vehicle-calendar-grid table tbody tr td:last-child {
  border-right: none;
}
.vehicle-calendar-grid table tbody tr td:hover:not(:first-child) {
  background: rgba(30, 144, 255, 0.05);
  transform: scale(1.02);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
}
.vehicle-calendar-grid table tbody tr td.has-reservation {
  background: #1E90FF !important;
  color: #ffffff;
  font-weight: 600;
}
.vehicle-calendar-grid table tbody tr td.has-reservation:hover {
  background: #0583ff !important;
  transform: scale(1.05);
}
.vehicle-calendar-grid table tbody tr td.pickup-day {
  background: #22C55E !important;
  color: #ffffff;
  font-weight: 600;
}
.vehicle-calendar-grid table tbody tr td.pickup-day:hover {
  background: #1eaf54 !important;
  transform: scale(1.05);
}
.vehicle-calendar-grid table tbody tr td.dropoff-day {
  background: #495057 !important;
  color: #ffffff;
  font-weight: 600;
}
.vehicle-calendar-grid table tbody tr td.dropoff-day:hover {
  background: #343a40 !important;
  transform: scale(1.05);
}
.vehicle-calendar-grid table tbody tr td.cancelled {
  background: #EF4444 !important;
  color: #ffffff;
  font-weight: 600;
}
.vehicle-calendar-grid table tbody tr td.cancelled:hover {
  background: #ed2d2d !important;
  transform: scale(1.05);
}
.vehicle-calendar-grid table tbody tr td.blocked {
  background: repeating-linear-gradient(45deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.2) 10px, rgba(239, 68, 68, 0.1) 10px, rgba(239, 68, 68, 0.1) 20px) !important;
  color: #EF4444;
  font-weight: 700;
  cursor: not-allowed;
}
.vehicle-calendar-grid table tbody tr td.blocked:hover {
  transform: none;
}
.vehicle-calendar-grid table tbody tr td.status-block-start {
  background: #38BDF8 !important;
  color: #ffffff;
  font-weight: 600;
}
.vehicle-calendar-grid table tbody tr td.status-block-start::before {
  content: "▶";
  margin-right: 4px;
}
.vehicle-calendar-grid table tbody tr td.status-block-end {
  background: #212529 !important;
  color: #ffffff;
  font-weight: 600;
}
.vehicle-calendar-grid table tbody tr td.status-block-end::after {
  content: "◀";
  margin-left: 4px;
}
.vehicle-calendar-grid table tbody tr td .day-number {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}
.vehicle-calendar-grid table tbody tr td .reservation-label {
  font-size: 10px;
  font-weight: 600;
  color: inherit;
}
.vehicle-calendar-grid table tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 1024px) {
  .vehicle-calendar-toolbar .current-date {
    font-size: 1.125rem;
  }
}
@media (max-width: 768px) {
  .vehicle-calendar {
    padding: 0.5rem;
  }
  .vehicle-calendar-stats {
    grid-template-columns: 1fr;
  }
  .vehicle-calendar-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .vehicle-calendar-toolbar .toolbar-left,
.vehicle-calendar-toolbar .toolbar-right {
    justify-content: space-between;
  }
  .vehicle-calendar-grid table thead th:first-child,
.vehicle-calendar-grid table tbody td:first-child {
    min-width: 120px;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.vehicle-calendar-main {
  animation: fadeInUp 0.4s ease-out;
}

.agr-filter-area .select2-container {
  width: 100% !important;
}
.agr-filter-area .input-daterange {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}
.agr-filter-area .input-daterange .form-control {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
}
.agr-filter-area .input-daterange .input-group-text {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem !important;
}

.agr-stats-wrap {
  margin-bottom: 1.5rem;
}

.agr-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
@media (max-width: 1200px) {
  .agr-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .agr-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

a.agr-stat-card {
  text-decoration: none;
  color: inherit;
}

.agr-stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #f4faff 0%, white 100%);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(30, 144, 255, 0.08);
  transition: all 0.18s ease;
  cursor: pointer;
}
.agr-stat-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.agr-stat-card.agr-stat-active {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.agr-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
  color: #ffffff;
}

.agr-stat-body {
  flex: 1;
  min-width: 0;
}

.agr-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  transition: color 0.15s ease;
}

.agr-stat-label {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.agr-stat-total {
  background: linear-gradient(135deg, #e0e7ff 0%, #eef2ff 100%);
  border: 1px solid rgba(102, 126, 234, 0.08);
}
.agr-stat-total .agr-stat-icon {
  background: linear-gradient(135deg, #667eea 0%, #5568d3 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}
.agr-stat-total .agr-stat-value {
  color: #5568d3;
}

.agr-stat-dropoff-today {
  background: linear-gradient(135deg, #ffe5e5 0%, #fff0f0 100%);
  border: 1px solid rgba(239, 68, 68, 0.08);
}
.agr-stat-dropoff-today .agr-stat-icon {
  background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}
.agr-stat-dropoff-today .agr-stat-value {
  color: #e53e3e;
}

.agr-stat-dropoff-tomorrow {
  background: linear-gradient(135deg, #fff4e5 0%, #fffbf0 100%);
  border: 1px solid rgba(245, 158, 11, 0.08);
}
.agr-stat-dropoff-tomorrow .agr-stat-icon {
  background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}
.agr-stat-dropoff-tomorrow .agr-stat-value {
  color: #d69e2e;
}

.agr-stat-thisweek {
  background: linear-gradient(135deg, #e6f7ed 0%, #f0fdf4 100%);
  border: 1px solid rgba(34, 197, 94, 0.08);
}
.agr-stat-thisweek .agr-stat-icon {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}
.agr-stat-thisweek .agr-stat-value {
  color: #2f855a;
}

.agr-stat-nextweek {
  background: linear-gradient(135deg, #e0f7fa 0%, #f0fdff 100%);
  border: 1px solid rgba(56, 189, 248, 0.08);
}
.agr-stat-nextweek .agr-stat-icon {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}
.agr-stat-nextweek .agr-stat-value {
  color: #2c5282;
}

.agr-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.agr-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  border-left: 4px solid #dee2e6;
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.15s ease;
}
.agr-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.agr-card.agr-card-pending {
  border-left-color: #F59E0B;
}
.agr-card.agr-card-confirmed {
  border-left-color: #22C55E;
}
.agr-card.agr-card-completed {
  border-left-color: #38BDF8;
}
.agr-card.agr-card-cancelled {
  border-left-color: #EF4444;
}

.agr-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.agr-card-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.agr-res-no {
  font-size: 0.875rem;
  font-weight: 700;
  color: #212529;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.agr-res-no:hover {
  color: #1E90FF;
  text-decoration: underline;
}

.agr-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.agr-status-0 {
  background: rgba(245, 158, 11, 0.12);
  color: #7b4f05;
}

.agr-status-1 {
  background: rgba(34, 197, 94, 0.12);
  color: #1a9a49;
}

.agr-status-2 {
  background: rgba(56, 189, 248, 0.12);
  color: #089bdc;
}

.agr-status-3 {
  background: rgba(239, 68, 68, 0.12);
  color: #eb1515;
}

.agr-urgency-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: agr-pulse 2s ease-in-out infinite;
}

.agr-urgency-today {
  background: #EF4444;
  color: #ffffff;
}

.agr-urgency-tomorrow {
  background: #F59E0B;
  color: #ffffff;
}

.agr-urgency-overdue {
  background: rgba(239, 68, 68, 0.15);
  color: #eb1515;
  animation: none;
}

@keyframes agr-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.agr-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.agr-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
  background: #ffffff;
  color: #495057;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.agr-action-btn:hover {
  text-decoration: none;
}

.agr-action-mail:hover {
  background: #1E90FF;
  border-color: #1E90FF;
  color: #ffffff;
}

.agr-action-edit:hover {
  background: #38BDF8;
  border-color: #38BDF8;
  color: #ffffff;
}

.agr-action-view:hover {
  background: #22C55E;
  border-color: #22C55E;
  color: #ffffff;
}

.agr-card-body {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
@media (max-width: 1100px) {
  .agr-card-body {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .agr-card-body {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .agr-card-body {
    grid-template-columns: 1fr;
  }
}

.agr-card-col {
  padding: 0.75rem 1rem;
  border-right: 1px solid #e9ecef;
}
.agr-card-col:last-child {
  border-right: none;
}
@media (max-width: 1100px) {
  .agr-card-col {
    border-bottom: 1px solid #e9ecef;
  }
  .agr-card-col:nth-child(3n) {
    border-right: none;
  }
}

.agr-card-col-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.agr-card-col-label i {
  margin-right: 4px;
}

.agr-card-col-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #212529;
}

.agr-card-col-date.agr-date-today .agr-date-value {
  color: #EF4444;
  font-weight: 700;
}
.agr-card-col-date.agr-date-tomorrow .agr-date-value {
  color: #945f06;
  font-weight: 700;
}
.agr-card-col-date.agr-date-overdue .agr-date-value {
  color: #EF4444;
  font-weight: 600;
  opacity: 0.75;
}

.agr-reg-link {
  color: #1E90FF;
  font-weight: 600;
  text-decoration: none;
}
.agr-reg-link:hover {
  text-decoration: underline;
}

.agr-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px dashed #dee2e6;
  text-align: center;
}

.agr-empty-icon {
  font-size: 3rem;
  color: #dee2e6;
  margin-bottom: 1rem;
}

.agr-empty-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

.agr-empty-text {
  font-size: 0.875rem;
  color: #adb5bd;
  margin-bottom: 1rem;
}

.agr-detail-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #374151;
  margin-left: 0.25rem;
}

.agr-detail-row {
  border-bottom: 1px solid #e9ecef;
  padding: 0.5rem 0;
}
.agr-detail-row:last-of-type {
  border-bottom: none;
}

.agr-detail-row-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  padding: 0 0.5rem;
}

.agr-col-actions {
  flex: 0 0 auto;
  min-width: 90px;
}
.agr-col-actions .agr-card-actions {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.agr-detail-row-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.agr-detail-row-link:hover {
  background: rgba(30, 144, 255, 0.05);
  text-decoration: none;
  color: inherit;
}

.agr-col-arrow {
  flex: 0 0 auto;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dee2e6;
}
.agr-col-arrow i {
  transition: transform 0.15s ease, color 0.15s ease;
}

.insp-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.insp-page-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.insp-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.insp-type-badge.insp-type-pickup {
  background: rgba(34, 197, 94, 0.12);
  color: #1ca24d;
}
.insp-type-badge.insp-type-dropoff {
  background: rgba(239, 68, 68, 0.12);
  color: #ec1e1e;
}

.insp-res-no {
  font-size: 1.125rem;
  font-weight: 700;
  color: #212529;
}

.insp-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0;
}

.insp-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #adb5bd;
  text-decoration: none;
  border-radius: 0.5rem 0.5rem 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  margin-bottom: -2px;
  transition: color 0.15s ease, background 0.15s ease;
}
.insp-tab:hover:not(.insp-tab-disabled) {
  color: #495057;
  background: #f8f9fa;
  text-decoration: none;
}
.insp-tab.insp-tab-active {
  border-color: #e9ecef;
  background: #ffffff;
  color: #212529;
  font-weight: 600;
}
.insp-tab.insp-tab-active.insp-tab-pickup {
  color: #1eaf54;
  border-top: 3px solid #22C55E;
}
.insp-tab.insp-tab-active.insp-tab-dropoff {
  color: #ed2d2d;
  border-top: 3px solid #EF4444;
}
.insp-tab.insp-tab-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.insp-section {
  background: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 1rem;
}

.insp-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
}
.insp-section-header.insp-section-header-pickup {
  background: linear-gradient(135deg, #20bc5a, #1a9a49);
}
.insp-section-header.insp-section-header-dropoff {
  background: linear-gradient(135deg, #EF4444, #eb1515);
}

.insp-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.insp-section-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.insp-section-body {
  padding: 1rem 1.5rem;
}

.insp-field-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f8f9fa;
}
.insp-field-row:last-child {
  border-bottom: none;
}
@media (max-width: 600px) {
  .insp-field-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.insp-field-label {
  flex: 0 0 200px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
}
@media (max-width: 600px) {
  .insp-field-label {
    flex: none;
  }
}

.insp-field-value {
  flex: 1;
}

.insp-required {
  color: #EF4444;
  margin-left: 2px;
}

.insp-plate-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: #212529;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.5rem;
  letter-spacing: 0.1em;
}

.insp-tank-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.insp-tank-option {
  cursor: pointer;
  margin: 0;
}
.insp-tank-option input[type=radio] {
  display: none;
}
.insp-tank-option .insp-tank-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1.5px solid #dee2e6;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6c757d;
  background: #ffffff;
  transition: all 0.15s ease;
  cursor: pointer;
}
.insp-tank-option input[type=radio]:checked + .insp-tank-label {
  background: #1E90FF;
  border-color: #1E90FF;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.insp-tank-option:hover .insp-tank-label {
  border-color: #1E90FF;
  color: #1E90FF;
}

.insp-km-input {
  max-width: 200px;
}

.insp-yesno-group {
  display: flex;
  gap: 0.5rem;
}

.insp-yesno-option {
  cursor: pointer;
  margin: 0;
}
.insp-yesno-option input[type=radio] {
  display: none;
}
.insp-yesno-option span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1.5px solid #dee2e6;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6c757d;
  background: #ffffff;
  transition: all 0.15s ease;
  cursor: pointer;
}
.insp-yesno-option.insp-yesno-yes input[type=radio]:checked + span {
  background: #22C55E;
  border-color: #22C55E;
  color: #ffffff;
}
.insp-yesno-option.insp-yesno-no input[type=radio]:checked + span {
  background: #EF4444;
  border-color: #EF4444;
  color: #ffffff;
}
.insp-yesno-option:hover span {
  border-color: #adb5bd;
}

.insp-form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
  margin-top: 0.75rem;
  border-top: 1px solid #f8f9fa;
}

.insp-canvas-wrap {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.insp-canvas-col {
  flex-shrink: 0;
}

.insp-notes-col {
  flex: 1;
  min-width: 200px;
}

.insp-canvas-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  text-align: center;
}

.insp-canvas {
  cursor: crosshair;
  border: 1.5px solid #dee2e6;
  border-radius: 0.5rem;
  display: block;
}

.insp-notes-box {
  min-height: 200px;
  border: 1.5px dashed #dee2e6;
  border-radius: 0.5rem;
  padding: 0.75rem;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.insp-notes-empty {
  font-size: 0.875rem;
  color: #adb5bd;
  text-align: center;
  padding: 1.5rem;
}

.insp-note-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.insp-note-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #EF4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.insp-note-text {
  font-size: 0.875rem;
  color: #495057;
}

.insp-note-edit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.dmg-filter-area .select2-container {
  width: 100% !important;
}

.dmg-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dmg-page-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #212529;
}
.dmg-page-title i {
  color: #EF4444;
  margin-right: 0.5rem;
}

.dmg-total-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  background: rgba(239, 68, 68, 0.1);
  color: #eb1515;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.dmg-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dmg-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  border-left: 4px solid #EF4444;
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.15s ease;
}
.dmg-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.dmg-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #fef6f6;
  border-bottom: 1px solid rgba(239, 68, 68, 0.15);
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dmg-card-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dmg-icon-wrap {
  width: 28px;
  height: 28px;
  background: #EF4444;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.dmg-res-no {
  font-size: 0.875rem;
  font-weight: 700;
  color: #212529;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.dmg-res-no:hover {
  color: #EF4444;
  text-decoration: underline;
}

.dmg-photo-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.2rem 0.55rem;
  background: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
  border-radius: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.dmg-badge-nophoto {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  background: rgba(245, 158, 11, 0.15);
  color: #7b4f05;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.dmg-card-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.dmg-date {
  font-size: 0.75rem;
  color: #adb5bd;
  white-space: nowrap;
}
.dmg-date i {
  margin-right: 4px;
}

.dmg-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dmg-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  gap: 0;
}
@media (max-width: 1000px) {
  .dmg-card-body {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .dmg-card-body {
    grid-template-columns: 1fr;
  }
}

.dmg-card-body-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}
.dmg-card-body-link:hover {
  background: rgba(30, 144, 255, 0.05);
  text-decoration: none;
  color: inherit;
}

.dmg-card-col {
  padding: 0.75rem 1rem;
  border-right: 1px solid #e9ecef;
}
.dmg-card-col:last-child {
  border-right: none;
}
@media (max-width: 1000px) {
  .dmg-card-col {
    border-bottom: 1px solid #e9ecef;
  }
  .dmg-card-col:nth-child(2n) {
    border-right: none;
  }
}

.dmg-col-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.dmg-col-label i {
  margin-right: 4px;
}

.dmg-col-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #212529;
}

.dmg-reg-link {
  color: #1E90FF;
  font-weight: 600;
  text-decoration: none;
}
.dmg-reg-link:hover {
  text-decoration: underline;
}

.dmg-photos-preview {
  background: #f8f9fa;
}

.dmg-photo-thumbnails {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dmg-thumb-wrap {
  width: 52px;
  height: 52px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid #e9ecef;
  flex-shrink: 0;
}

.dmg-thumb {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.dmg-thumb-more {
  width: 52px;
  height: 52px;
  border-radius: 0.5rem;
  background: #495057;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.dmg-no-photos-text {
  font-size: 0.75rem;
  color: #adb5bd;
  font-style: italic;
}

.dmg-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.dmg-action-btn:hover {
  text-decoration: none;
}
.dmg-action-btn i {
  font-size: 0.7rem;
}

.dmg-action-add {
  background: #1E90FF;
  color: #ffffff;
  border-color: #1E90FF;
}
.dmg-action-add:hover {
  background: #1873CC;
  border-color: #1873CC;
  color: #ffffff;
}

.dmg-action-view {
  background: #ffffff;
  color: #495057;
  border-color: #dee2e6;
}
.dmg-action-view:hover {
  background: #e9ecef;
  color: #212529;
  border-color: #ced4da;
}

.dmg-action-edit {
  background: rgba(30, 144, 255, 0.08);
  color: #1E90FF;
  border-color: rgba(30, 144, 255, 0.25);
  padding: 0.2rem 0.45rem;
}
.dmg-action-edit i {
  font-size: 0.65rem;
}
.dmg-action-edit:hover {
  background: #1E90FF;
  color: #ffffff;
  border-color: #1E90FF;
}

.dmg-action-delete {
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.25);
  padding: 0.2rem 0.45rem;
}
.dmg-action-delete i {
  font-size: 0.65rem;
}
.dmg-action-delete:hover {
  background: #EF4444;
  color: #ffffff;
  border-color: #EF4444;
}

.dmg-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 2px dashed #e9ecef;
  text-align: center;
  min-height: 380px;
}

.dmg-empty-icon-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.04));
  border: 2px solid rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.dmg-empty-icon-wrap i {
  font-size: 2.4rem;
  color: #22C55E;
}

.dmg-empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
}

.dmg-empty-text {
  font-size: 0.875rem;
  color: #adb5bd;
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 1.5rem;
}

.dmg-empty-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #dee2e6;
  background: #ffffff;
  color: #495057;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.dmg-empty-action:hover {
  background: #f8f9fa;
  border-color: #ced4da;
  color: #212529;
  text-decoration: none;
}

.dmg-create-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dmg-create-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dmg-create-icon-wrap {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #EF4444, #e21313);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  flex-shrink: 0;
}

.dmg-create-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin: 0 0 0.25rem;
  line-height: 1;
}

.dmg-create-subtitle {
  font-size: 0.875rem;
  color: #adb5bd;
  margin: 0;
}

.dmg-create-res-badge {
  display: inline-block;
  background: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.dmg-create-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.dmg-create-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-bottom: 1px solid #e9ecef;
}

.dmg-step-badge {
  width: 24px;
  height: 24px;
  background: #1E90FF;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.dmg-create-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
}

.dmg-img-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  background: rgba(30, 144, 255, 0.08);
  color: #1E90FF;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.dmg-create-card-body {
  padding: 1rem;
}

.dmg-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 480px) {
  .dmg-type-grid {
    grid-template-columns: 1fr;
  }
}

.dmg-type-option {
  cursor: pointer;
  margin: 0;
}
.dmg-type-option .dmg-type-radio {
  display: none;
}

.dmg-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
  background: #ffffff;
  text-align: center;
  transition: all 0.15s ease;
  cursor: pointer;
}
.dmg-type-card:hover {
  border-color: #4DA6FF;
  background: rgba(30, 144, 255, 0.03);
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.dmg-type-card.dmg-type-card-active {
  border-color: #1E90FF;
  background: rgba(30, 144, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12);
}

.dmg-type-icon {
  width: 52px;
  height: 52px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.dmg-type-icon-pickup {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
}

.dmg-type-icon-dropoff {
  background: rgba(245, 158, 11, 0.12);
  color: #ac6f07;
}

.dmg-type-label {
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
}

.dmg-type-desc {
  font-size: 0.75rem;
  color: #adb5bd;
}

.dmg-image-row {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: all 0.15s ease;
}
.dmg-image-row + .dmg-image-row {
  margin-top: 0.75rem;
}

.dmg-image-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border-bottom: 1px solid #e9ecef;
}

.dmg-image-row-num {
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
}
.dmg-image-row-num i {
  color: #1E90FF;
  margin-right: 0.25rem;
}

.dmg-image-row-remove {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dmg-image-row-remove:hover {
  background: #EF4444;
  color: #ffffff;
  border-color: #EF4444;
}

.dmg-image-row-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 1rem;
}
@media (max-width: 600px) {
  .dmg-image-row-body {
    grid-template-columns: 1fr;
  }
}

.dmg-upload-zone {
  position: relative;
  height: 180px;
  border: 2px dashed #dee2e6;
  border-radius: 0.75rem;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.15s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dmg-upload-zone:hover {
  border-color: #1E90FF;
  background: rgba(30, 144, 255, 0.03);
}
.dmg-upload-zone.dmg-upload-zone-drag {
  border-color: #1E90FF;
  background: rgba(30, 144, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}

.dmg-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.dmg-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-align: center;
  padding: 0.75rem;
  pointer-events: none;
}

.dmg-upload-icon {
  font-size: 2rem;
  color: #ced4da;
  margin-bottom: 0.25rem;
}

.dmg-upload-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #495057;
  margin: 0;
}

.dmg-upload-hint {
  font-size: 0.75rem;
  color: #adb5bd;
  margin: 0;
}

.dmg-upload-preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dmg-upload-preview-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.dmg-upload-remove-preview {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 26px;
  height: 26px;
  background: rgba(33, 37, 41, 0.7);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s ease;
}
.dmg-upload-remove-preview:hover {
  background: #EF4444;
}

.dmg-description-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dmg-desc-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
  margin: 0;
}
.dmg-desc-label i {
  color: #1E90FF;
  margin-right: 0.25rem;
}

.dmg-optional {
  font-weight: 400;
  color: #adb5bd;
  font-size: 0.75rem;
}

.dmg-desc-textarea {
  flex: 1;
  resize: vertical;
  min-height: 120px;
  border-color: #dee2e6;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
.dmg-desc-textarea:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12);
}

.dmg-add-more-wrap {
  padding-top: 0.75rem;
  border-top: 1px dashed #e9ecef;
  margin-top: 0.5rem;
}

.dmg-add-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  width: 100%;
  justify-content: center;
  background: #ffffff;
  border: 2px dashed #1E90FF;
  color: #1E90FF;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dmg-add-more-btn i {
  font-size: 1rem;
}
.dmg-add-more-btn:hover {
  background: rgba(30, 144, 255, 0.05);
  border-color: #1873CC;
  color: #1873CC;
}

.dmg-create-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-bottom: 1.5rem;
}
@media (max-width: 480px) {
  .dmg-create-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    text-align: center;
  }
}

.dmg-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
}

.dmg-edit-current-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  background: rgba(34, 197, 94, 0.08);
  color: #1a9a49;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.dmg-edit-hint {
  font-size: 0.75rem;
  color: #adb5bd;
  font-style: italic;
}
.dmg-edit-hint i {
  margin-right: 0.25rem;
  color: #38BDF8;
}

.dmg-show-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dmg-show-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dmg-show-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dmg-show-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.dmg-show-section-title i {
  color: #1E90FF;
  font-size: 0.85rem;
}

.dmg-info-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 1rem;
}

.dmg-info-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dmg-info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
}
.dmg-info-row:last-child {
  border-bottom: none;
}
@media (max-width: 480px) {
  .dmg-info-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.5rem 0;
  }
}

.dmg-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.dmg-info-value {
  font-size: 0.875rem;
  color: #212529;
  word-break: break-word;
}

.dmg-plate-badge {
  display: inline-block;
  background: #212529;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.7rem;
  border-radius: 0.25rem;
  font-family: "Fira Code", "Courier New", monospace;
}

.dmg-show-trip-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
}
@media (max-width: 576px) {
  .dmg-show-trip-grid {
    grid-template-columns: 1fr;
  }
  .dmg-show-trip-grid .dmg-show-trip-arrow {
    display: none;
  }
}

.dmg-show-trip-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dmg-show-trip-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.dmg-show-trip-icon-pickup {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
}

.dmg-show-trip-icon-dropoff {
  background: rgba(245, 158, 11, 0.12);
  color: #ac6f07;
}

.dmg-show-trip-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.dmg-show-trip-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #adb5bd;
}

.dmg-show-trip-location {
  font-size: 0.875rem;
  font-weight: 600;
  color: #212529;
  word-break: break-word;
}

.dmg-show-trip-date {
  font-size: 0.75rem;
  color: #adb5bd;
}
.dmg-show-trip-date i {
  margin-right: 0.25rem;
}

.dmg-show-trip-arrow {
  color: #ced4da;
  font-size: 1.2rem;
  text-align: center;
}

.dmg-tank-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
@media (max-width: 480px) {
  .dmg-tank-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dmg-tank-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 0.5rem;
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
  background: #ffffff;
  transition: all 0.15s ease;
  text-align: center;
}
.dmg-tank-option.dmg-tank-option-active {
  border-color: #22C55E;
  background: rgba(34, 197, 94, 0.05);
}

.dmg-tank-indicator {
  font-size: 1.2rem;
}
.dmg-tank-indicator .fa-circle-check {
  color: #22C55E;
}

.dmg-tank-empty-icon {
  color: #dee2e6;
}

.dmg-tank-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #495057;
}

.dmg-tank-bar-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dmg-tank-bar-track {
  flex: 1;
  height: 8px;
  background: #e9ecef;
  border-radius: 9999px;
  overflow: hidden;
}

.dmg-tank-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.4s ease;
}

.dmg-tank-bar-success {
  background: #22C55E;
}

.dmg-tank-bar-warning {
  background: #F59E0B;
}

.dmg-tank-bar-danger {
  background: #EF4444;
}

.dmg-tank-pct {
  font-size: 0.75rem;
  font-weight: 700;
  color: #495057;
  white-space: nowrap;
}

.dmg-tank-note {
  font-size: 0.75rem;
  color: #adb5bd;
  line-height: 1.75;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid #f8f9fa;
}

.dmg-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
@media (max-width: 480px) {
  .dmg-photos-grid {
    grid-template-columns: 1fr;
  }
}

.dmg-photo-card {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease;
}
.dmg-photo-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.dmg-photo-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f8f9fa;
}
.dmg-photo-img-wrap:hover .dmg-photo-overlay {
  opacity: 1;
}

.dmg-photo-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.dmg-photo-img-wrap:hover .dmg-photo-img {
  transform: scale(1.04);
}

.dmg-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(33, 37, 41, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.15s ease;
  color: #ffffff;
  font-size: 1.5rem;
}

.dmg-photo-card-body {
  padding: 0.75rem;
}

.dmg-photo-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #adb5bd;
}

.dmg-type-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.dmg-badge-pickup {
  background: rgba(34, 197, 94, 0.12);
  color: #1a9a49;
}

.dmg-badge-dropoff {
  background: rgba(245, 158, 11, 0.12);
  color: #945f06;
}

.dmg-badge-unknown {
  background: #e9ecef;
  color: #6c757d;
}

.dmg-photo-desc {
  font-size: 0.75rem;
  color: #495057;
  line-height: 1.75;
  margin-bottom: 0.75rem;
  min-height: 2.5rem;
}
.dmg-photo-desc.dmg-photo-desc-empty {
  color: #ced4da;
  font-style: italic;
}

.dmg-photo-actions {
  display: flex;
  gap: 0.5rem;
}

.dmg-photo-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
}
.dmg-photo-action-btn i {
  font-size: 0.65rem;
}

.dmg-photo-action-edit {
  background: rgba(30, 144, 255, 0.08);
  color: #1E90FF;
  border-color: rgba(30, 144, 255, 0.2);
}
.dmg-photo-action-edit:hover {
  background: #1E90FF;
  color: #ffffff;
  border-color: #1E90FF;
  text-decoration: none;
}

.dmg-photo-action-delete {
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.2);
}
.dmg-photo-action-delete:hover {
  background: #EF4444;
  color: #ffffff;
  border-color: #EF4444;
}

.dmg-lightbox {
  background: #212529;
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
}

.dmg-lightbox-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.dmg-lightbox-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.dmg-lightbox-body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #212529;
  min-height: 300px;
  max-height: 70vh;
}

.dmg-lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.dmg-lightbox-footer {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: #dee2e6;
}

.dmg-signature-wrap {
  background: #f9fafb;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.dmg-signature-img {
  max-height: 100px;
  display: block;
}

.dmg-signature-date {
  font-size: 0.75rem;
  color: #adb5bd;
  margin: 0;
}

.dmg-type-card-warn {
  border-color: #F59E0B !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
}
.dmg-type-card-warn .dmg-create-card-header {
  background: rgba(245, 158, 11, 0.06);
  border-bottom-color: rgba(245, 158, 11, 0.3);
}

.dmg-step-badge-warn {
  background: #F59E0B !important;
  color: #212529 !important;
}

.dmg-type-required-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  background: rgba(245, 158, 11, 0.15);
  color: #945f06;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.dmg-type-required-badge i {
  font-size: 0.7rem;
}

.dmg-type-error-msg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: rgba(239, 68, 68, 0.07);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.dmg-type-error-msg i {
  font-size: 0.85rem;
}

.svc-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.svc-page-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #212529;
}
.svc-page-title i {
  color: #1E90FF;
  margin-right: 0.5rem;
}

.svc-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-left: 4px solid #38BDF8;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.svc-info-icon {
  font-size: 1.6rem;
  color: #38BDF8;
  flex-shrink: 0;
  padding-top: 2px;
}

.svc-info-body {
  flex: 1;
  min-width: 0;
}

.svc-info-title {
  font-size: 1rem;
  font-weight: 700;
  color: #089bdc;
  margin-bottom: 0.5rem;
}

.svc-info-text {
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.svc-info-text strong {
  color: #212529;
}

.svc-info-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.svc-info-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.svc-info-tag i {
  font-size: 0.7rem;
}
.svc-info-tag.svc-info-tag-primary {
  background: rgba(30, 144, 255, 0.12);
  color: #0077ea;
}
.svc-info-tag.svc-info-tag-success {
  background: rgba(34, 197, 94, 0.12);
  color: #1a9a49;
}
.svc-info-tag.svc-info-tag-info {
  background: rgba(56, 189, 248, 0.12);
  color: #08a5eb;
}

.svc-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 1000px) {
  .svc-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .svc-cards-grid {
    grid-template-columns: 1fr;
  }
}

.svc-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  border-top: 4px solid #dee2e6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.15s ease;
}
.svc-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.svc-card.svc-card-info {
  border-top-color: #38BDF8;
}
.svc-card.svc-card-success {
  border-top-color: #22C55E;
}
.svc-card.svc-card-warning {
  border-top-color: #F59E0B;
}

.svc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.svc-card-header.svc-card-header-info {
  background: rgba(56, 189, 248, 0.06);
}
.svc-card-header.svc-card-header-success {
  background: rgba(34, 197, 94, 0.06);
}
.svc-card-header.svc-card-header-warning {
  background: rgba(245, 158, 11, 0.08);
}

.svc-card-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.svc-type-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.svc-type-icon.svc-type-icon-info {
  background: #38BDF8;
}
.svc-type-icon.svc-type-icon-success {
  background: #22C55E;
}
.svc-type-icon.svc-type-icon-warning {
  background: #F59E0B;
}

.svc-type-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #212529;
  letter-spacing: 0.01em;
}

.svc-card-header-right {
  flex-shrink: 0;
}

.svc-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
}
.svc-status-badge i {
  font-size: 0.7rem;
}
.svc-status-badge.svc-status-set {
  background: rgba(34, 197, 94, 0.12);
  color: #1a9a49;
}
.svc-status-badge.svc-status-empty {
  background: rgba(245, 158, 11, 0.15);
  color: #7b4f05;
}

.svc-card-body {
  padding: 1rem;
  flex: 1;
}

.svc-card-col-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.svc-card-col-label i {
  margin-right: 4px;
}

.svc-content-preview {
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.6;
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 0.75rem;
  border-left: 3px solid #dee2e6;
  font-style: italic;
}

.svc-no-content {
  font-size: 0.875rem;
  color: #adb5bd;
  font-style: italic;
  text-align: center;
  padding: 1rem 0.5rem;
}
.svc-no-content i {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ced4da;
}

.svc-card-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.svc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.svc-action-btn:hover {
  text-decoration: none;
}
.svc-action-btn i {
  font-size: 0.75rem;
}

.svc-action-edit {
  background: #1E90FF;
  color: #ffffff;
  border-color: #1E90FF;
}
.svc-action-edit:hover {
  background: #1873CC;
  border-color: #1873CC;
  color: #ffffff;
}

.svc-action-disabled {
  background: #e9ecef;
  color: #adb5bd;
  border-color: #dee2e6;
  cursor: not-allowed;
}

.svc-breadcrumb-sep {
  color: #ced4da;
  margin: 0 0.5rem;
  font-size: 0.875rem;
}

.svc-breadcrumb-current {
  color: #adb5bd;
  font-weight: 400;
  font-size: 1rem;
}

.svc-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #495057;
  background: #ffffff;
  border: 1px solid #dee2e6;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.svc-back-btn:hover {
  background: #f8f9fa;
  color: #212529;
  border-color: #ced4da;
  text-decoration: none;
}

.svc-edit-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .svc-edit-layout {
    grid-template-columns: 1fr;
  }
}

.svc-edit-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.svc-edit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e9ecef;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.svc-edit-card-header.svc-edit-card-header-info {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(56, 189, 248, 0.03) 100%);
  border-left: 4px solid #38BDF8;
}
.svc-edit-card-header.svc-edit-card-header-success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(34, 197, 94, 0.03) 100%);
  border-left: 4px solid #22C55E;
}
.svc-edit-card-header.svc-edit-card-header-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.03) 100%);
  border-left: 4px solid #F59E0B;
}
.svc-edit-card-header.svc-edit-card-header-primary {
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.08) 0%, rgba(30, 144, 255, 0.03) 100%);
  border-left: 4px solid #1E90FF;
}

.svc-edit-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.svc-edit-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #212529;
}

.svc-type-icon-lg {
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  border-radius: 0.75rem;
}

.svc-edit-card-body {
  padding: 1.5rem;
}

.svc-editor-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.svc-editor-label i {
  color: #1E90FF;
}

.svc-required {
  color: #EF4444;
  margin-left: 2px;
}

.svc-editor-wrap {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #dee2e6;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.svc-editor-wrap:focus-within {
  border-color: #1E90FF;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.12);
}

.svc-edit-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
}

.svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
  text-decoration: none;
}
.svc-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.svc-btn:active {
  transform: translateY(0);
}
.svc-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.svc-btn-primary {
  background: #1E90FF;
  color: #ffffff;
  border-color: #1E90FF;
  box-shadow: 0 2px 6px rgba(30, 144, 255, 0.35);
}
.svc-btn-primary:hover {
  background: #1873CC;
  border-color: #1873CC;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.4);
}

.svc-btn-ghost {
  background: #ffffff;
  color: #495057;
  border-color: #dee2e6;
}
.svc-btn-ghost:hover {
  background: #f8f9fa;
  color: #212529;
  border-color: #ced4da;
}

.svc-edit-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.svc-sidebar-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.svc-sidebar-card-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.875rem;
  font-weight: 700;
  color: #495057;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.svc-sidebar-card-header i {
  color: #1E90FF;
}

.svc-sidebar-card-body {
  padding: 1rem;
}

.svc-tip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.svc-tip-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.svc-tip-list li i {
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.85rem;
  width: 14px;
  text-align: center;
}
.svc-tip-list li span {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.6;
}
.svc-tip-list li strong {
  color: #212529;
}

.svc-type-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.svc-type-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
  background: #f8f9fa;
  font-size: 0.875rem;
  color: #495057;
  transition: background 0.15s ease;
}
.svc-type-item .svc-type-icon {
  width: 28px;
  height: 28px;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.svc-type-item.svc-type-item-active {
  border-width: 2px;
  font-weight: 600;
  color: #212529;
  background: #ffffff;
}
.svc-type-item.svc-type-item-active.svc-type-item-info {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.05);
}
.svc-type-item.svc-type-item-active.svc-type-item-success {
  border-color: #22C55E;
  background: rgba(34, 197, 94, 0.05);
}
.svc-type-item.svc-type-item-active.svc-type-item-warning {
  border-color: #F59E0B;
  background: rgba(245, 158, 11, 0.07);
}

.role-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #E5E7EB;
  position: relative;
}
.role-card:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.role-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.role-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-right: 1rem;
}

.role-info {
  flex: 1;
}

.role-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.role-meta {
  font-size: 0.875rem;
  color: #adb5bd;
  margin: 0;
}

.role-card-body {
  padding: 1rem 1.5rem;
}

.role-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.role-stat {
  flex: 1;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  text-align: center;
}

.role-stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.role-stat-label {
  font-size: 0.75rem;
  color: #adb5bd;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.role-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 0.5rem;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.role-badge-default {
  background: #e3f2fd;
  color: #1976d2;
}

.role-badge-custom {
  background: #f3e5f5;
  color: #7b1fa2;
}

.btn-role-edit {
  flex: 1;
  padding: 0.5rem 1rem;
  background: #667eea;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-role-edit:hover {
  background: #5568d3;
  color: #ffffff;
  text-decoration: none;
}

.btn-role-delete {
  padding: 0.5rem;
  background: #ffffff;
  color: #EF4444;
  border: 1px solid #E5E7EB;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-role-delete:hover {
  background: #EF4444;
  color: #ffffff;
  border-color: #EF4444;
}

.role-form-section {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  overflow: hidden;
}

.role-form-section-header {
  padding: 1rem 1.5rem;
  background: #f9fafb;
  border-bottom: 1px solid #E5E7EB;
}
.role-form-section-header h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.role-form-section-body {
  padding: 1.5rem;
}

.permission-controls {
  background: #ffffff;
  border: 2px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.permission-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 300px;
}
.search-box input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 40px;
  border: 2px solid #E5E7EB;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.search-box input:focus {
  outline: none;
  border-color: #667eea;
}
.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #adb5bd;
}

.control-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.check-all-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.875rem;
}
.check-all-label:hover {
  background: #f8f9fa;
}
.check-all-label input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.permission-group {
  background: #ffffff;
  border: 2px solid #E5E7EB;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}
.permission-group:hover {
  border-color: #667eea;
}

.permission-group-header {
  padding: 0.75rem 1rem;
  background: #f9fafb;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.permission-group-header:hover {
  background: #f8f9fa;
}
.permission-group-header.active {
  background: #667eea;
  color: #ffffff;
}

.group-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.group-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.125rem;
}
.permission-group-header.active .group-icon {
  background: #ffffff;
  color: #667eea;
}

.group-title-section {
  flex: 1;
}

.group-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.group-select-all {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  opacity: 0.8;
}
.group-select-all input[type=checkbox] {
  width: 14px;
  height: 14px;
}

.group-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.permission-badge {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #667eea;
}
.permission-group-header.active .permission-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.expand-icon {
  font-size: 1.125rem;
  transition: transform 0.3s ease;
  color: #adb5bd;
}
.permission-group-header.active .expand-icon {
  transform: rotate(180deg);
  color: #ffffff;
}

.permission-group-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.permission-group-body.active {
  max-height: 2000px;
}

.permission-group-content {
  padding: 1.5rem;
  background: #ffffff;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.75rem;
}

.permission-item {
  background: #f9fafb;
  border: 2px solid #E5E7EB;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.permission-item:hover {
  background: #f8f9fa;
  border-color: #667eea;
}
.permission-item.checked {
  background: #e7f0ff;
  border-color: #667eea;
}

.permission-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.permission-label {
  font-size: 0.875rem;
  color: #6c757d;
  cursor: pointer;
  margin: 0;
  flex: 1;
  line-height: 1.4;
}
.permission-item.checked .permission-label {
  color: #667eea;
  font-weight: 500;
}

.selected-count {
  font-size: 0.875rem;
  color: #adb5bd;
}
.selected-count strong {
  color: #667eea;
}

@media (max-width: 768px) {
  .permission-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: 100%;
  }

  .permission-grid {
    grid-template-columns: 1fr;
  }

  .group-header-left {
    flex-direction: column;
    align-items: flex-start;
  }
}
.perm-table {
  font-size: 0.875rem;
}
.perm-table .perm-table-head th {
  background: #f8f9fa;
  color: #495057;
  font-weight: 600;
  border-bottom: 2px solid #e9ecef;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}
.perm-table .perm-table-row {
  transition: background 0.15s;
}
.perm-table .perm-table-row:hover {
  background: rgba(30, 144, 255, 0.03);
}
.perm-table .perm-table-row td {
  vertical-align: middle;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e9ecef;
}

.perm-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  background: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
}

.perm-title {
  font-weight: 500;
  color: #212529;
  line-height: 1.3;
}

.perm-name {
  font-family: "Courier New", monospace;
  font-size: 0.75rem;
  color: #6c757d;
  background: #f8f9fa;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  display: inline-block;
}

.perm-group-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
}

.perm-action-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  transition: all 0.15s;
}
.perm-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.perm-empty-state {
  padding: 1.5rem 1rem;
}

.perm-modal-content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.perm-modal-header {
  background: linear-gradient(135deg, #1E90FF 0%, #0071e0 100%);
  color: #ffffff;
  border-bottom: none;
  padding: 1rem;
}
.perm-modal-header .modal-title {
  font-size: 1rem;
  font-weight: 600;
}

.perm-modal-header-edit {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #ffffff;
  border-bottom: none;
  padding: 1rem;
}
.perm-modal-header-edit .modal-title {
  font-size: 1rem;
  font-weight: 600;
}

.perm-modal-footer {
  border-top: 1px solid #e9ecef;
  background: #f8f9fa;
  padding: 0.75rem 1rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Admin Users Page Styles
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ── Stats Cards ── */
.admin-stats-wrap {
  margin-bottom: 2rem;
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1200px) {
  .admin-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .admin-stats-row {
    grid-template-columns: 1fr;
  }
}

.admin-stat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.18s ease;
  text-decoration: none;
  color: inherit;
}
.admin-stat-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.admin-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  color: #ffffff;
}

.admin-stat-body {
  flex: 1;
  min-width: 0;
}

.admin-stat-value {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #212529;
  line-height: 1.3;
}

.admin-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #495057;
  margin-top: 3px;
}

/* ── Stat Card Variants ── */
.admin-stat-total {
  background: linear-gradient(135deg, #e0e7ff 0%, #eef2ff 100%);
  border: 1px solid rgba(102, 126, 234, 0.1);
}
.admin-stat-total .admin-stat-icon {
  background: linear-gradient(135deg, #667eea 0%, #5568d3 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.28);
}

.admin-stat-active {
  background: linear-gradient(135deg, #d4edda 0%, #e8f5e9 100%);
  border: 1px solid rgba(56, 161, 105, 0.1);
}
.admin-stat-active .admin-stat-icon {
  background: linear-gradient(135deg, #22C55E 0%, #38a169 100%);
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.28);
}

.admin-stat-inactive {
  background: linear-gradient(135deg, #fee2e2 0%, #fef2f2 100%);
  border: 1px solid rgba(220, 38, 38, 0.1);
}
.admin-stat-inactive .admin-stat-icon {
  background: linear-gradient(135deg, #f56565 0%, #EF4444 100%);
  box-shadow: 0 4px 12px rgba(245, 101, 101, 0.28);
}

.admin-stat-shifts {
  background: linear-gradient(135deg, #fef9e7 0%, #fffdf0 100%);
  border: 1px solid rgba(246, 216, 96, 0.1);
}
.admin-stat-shifts .admin-stat-icon {
  background: linear-gradient(135deg, #f6d860 0%, #e8c007 100%);
  box-shadow: 0 4px 12px rgba(246, 216, 96, 0.28);
}

/* ── Admin Cards Grid ── */
.admins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .admins-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Admin Card ── */
.admin-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
}
.admin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.admin-card-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #e9ecef;
  min-height: 80px;
}

.admin-avatar {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  display: block;
}

.admin-basic-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  align-self: center;
  flex: 1;
}

.admin-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 !important;
  padding: 0 !important;
}

.admin-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: -moz-fit-content;
  max-width: fit-content;
}

.admin-role-badge-super {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

.admin-role-badge-default {
  background: #e9ecef;
  color: #495057;
}

.admin-card-body {
  padding: 1.5rem 1rem;
}

/* ── Info Section ── */
.info-section {
  margin-bottom: 1.5rem;
}
.info-section:last-child {
  margin-bottom: 0;
}

.info-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #495057;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.info-section-title i {
  color: #1E90FF;
}

.info-item {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}
.info-item:last-child {
  margin-bottom: 0;
}

.info-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #adb5bd;
  min-width: 90px;
}

.info-value {
  font-size: 0.875rem;
  color: #212529;
  font-weight: 500;
  flex: 1;
  word-break: break-word;
}

/* ── Card Footer ── */
.admin-card-footer {
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-status {
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-badge-active {
  background: linear-gradient(135deg, #22C55E 0%, #38a169 100%);
  color: #ffffff;
}

.status-badge-inactive {
  background: linear-gradient(135deg, #f56565 0%, #EF4444 100%);
  color: #ffffff;
}

/* ── Action Buttons ── */
.admin-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: none;
  font-size: 0.875rem;
}

.action-btn-edit {
  background: #e0e7ff;
  color: #5568d3;
}
.action-btn-edit:hover {
  background: #5568d3;
  color: #ffffff;
  transform: translateY(-2px);
}

.action-btn-permissions {
  background: #fef9e7;
  color: #e8c007;
}
.action-btn-permissions:hover {
  background: #e8c007;
  color: #ffffff;
  transform: translateY(-2px);
}

.action-btn-shift {
  background: #d4edda;
  color: #38a169;
}
.action-btn-shift:hover {
  background: #38a169;
  color: #ffffff;
  transform: translateY(-2px);
}

.action-btn-delete {
  background: #fee2e2;
  color: #EF4444;
}
.action-btn-delete:hover {
  background: #EF4444;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

.empty-state-icon {
  font-size: 4rem;
  color: #dee2e6;
  margin-bottom: 1rem;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.5rem;
}

.empty-state-text {
  color: #495057;
}

/* ── Protected Badge ── */
.admin-protected-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fef9e7;
  color: #e8c007;
  padding: 0.25rem 0.75rem;
  border-radius: 50rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(232, 192, 7, 0.2);
}

.gallery-card {
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e9ecef;
}
.gallery-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: #1E90FF;
}

.gallery-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f8f9fa;
}
.gallery-card-img-wrapper .gallery-card-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card-img-wrapper:hover .gallery-card-img {
  transform: scale(1.05);
}

.gallery-count-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.gallery-count-badge i {
  font-size: 0.875rem;
}

.gallery-overlay-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  padding: 1rem 0.75rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  z-index: 3;
}
.gallery-card-img-wrapper:hover .gallery-overlay-actions {
  opacity: 1;
  transform: translateY(0);
}

.gallery-btn-action {
  background: #ffffff;
  color: #495057;
  border: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gallery-btn-action:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.gallery-btn-action.btn-edit:hover {
  background: #1E90FF;
  color: #ffffff;
}
.gallery-btn-action.btn-copy:hover {
  background: #38BDF8;
  color: #ffffff;
}
.gallery-btn-action.btn-delete:hover {
  background: #EF4444;
  color: #ffffff;
}

.gallery-card-body {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gallery-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #212529;
  margin: 0;
  transition: color 0.2s ease;
}
.gallery-title:hover {
  color: #1E90FF;
}

.gallery-link-section {
  margin-bottom: 0.5rem;
}
.gallery-link-section .gallery-link-input {
  font-size: 0.75rem;
  background: #f9fafb;
  border: 1px solid #e9ecef;
  color: #6c757d;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}
.gallery-link-section .gallery-link-input:focus {
  background: #ffffff;
  border-color: #1E90FF;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}
.gallery-link-section .btn-outline-primary {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  min-width: 42px;
}
.gallery-link-section .btn-outline-primary:hover {
  background: #1E90FF;
  color: #ffffff;
}

.gallery-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
}
.gallery-info-row .gallery-info-label {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.gallery-info-row .gallery-info-value {
  font-size: 0.875rem;
  color: #212529;
  font-weight: 600;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #f8f9fa;
  font-size: 0.75rem;
}
.gallery-meta small {
  color: #6c757d;
}

.gallery-status-badge {
  background: rgba(34, 197, 94, 0.1);
  color: #22C55E;
  padding: 0.25rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.gallery-status-badge i {
  font-size: 6px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.empty-state-gallery {
  text-align: center;
  padding: 4rem 1rem;
  background: #ffffff;
  border-radius: 0.75rem;
  border: 2px dashed #dee2e6;
}
.empty-state-gallery .empty-state-icon {
  font-size: 64px;
  color: #dee2e6;
  margin-bottom: 1rem;
}
.empty-state-gallery .empty-state-icon i {
  font-size: 64px;
}
.empty-state-gallery .empty-state-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}
.empty-state-gallery .empty-state-text {
  font-size: 1rem;
  color: #adb5bd;
  margin-bottom: 1.5rem;
}
.empty-state-gallery .btn-primary {
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
}

.gallery-form-container {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  overflow: hidden;
}
.gallery-form-container .gallery-form-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e9ecef;
}
.gallery-form-container .gallery-form-header h3 {
  color: #ffffff;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.gallery-form-container .gallery-form-header h3 i {
  font-size: 1.125rem;
}
.gallery-form-container .gallery-form-header p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}
.gallery-form-container .gallery-form-body {
  padding: 2rem;
}

.gallery-image-upload-section {
  background: #f9fafb;
  border: 2px dashed #dee2e6;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.gallery-image-upload-section:hover {
  border-color: #1E90FF;
  background: rgba(30, 144, 255, 0.05);
}
.gallery-image-upload-section .upload-icon {
  font-size: 48px;
  color: #ced4da;
  margin-bottom: 0.75rem;
}
.gallery-image-upload-section .upload-label {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gallery-image-upload-section .upload-label i {
  color: #1E90FF;
}
.gallery-image-upload-section .upload-hint {
  font-size: 0.875rem;
  color: #adb5bd;
  margin-bottom: 0.75rem;
}
.gallery-image-upload-section .form-control {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 0.75rem;
}
.gallery-image-upload-section .form-control:focus {
  border-color: #1E90FF;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.gallery-additional-images {
  margin-top: 1.5rem;
}
.gallery-additional-images .section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #212529;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gallery-additional-images .section-title i {
  color: #1E90FF;
}
.gallery-additional-images .image-row-item {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  transition: all 0.2s ease;
}
.gallery-additional-images .image-row-item:hover {
  border-color: #1E90FF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.gallery-additional-images .image-row-item .form-control {
  flex-grow: 1;
  border-radius: 0.5rem;
}
.gallery-additional-images .image-row-item .btn-outline-danger {
  min-width: 42px;
  border-radius: 0.5rem;
}
.gallery-additional-images .image-row-item .btn-outline-danger:hover {
  background: #EF4444;
  color: #ffffff;
  transform: scale(1.05);
}
.gallery-additional-images .add-more-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 2px dashed #dee2e6;
  background: #ffffff;
  color: #1E90FF;
  font-weight: 600;
  transition: all 0.3s ease;
}
.gallery-additional-images .add-more-btn:hover {
  border-color: #1E90FF;
  background: rgba(30, 144, 255, 0.05);
  transform: translateY(-2px);
}

.gallery-form-actions {
  display: flex;
  gap: 0.75rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-top: 1px solid #e9ecef;
  margin: 2rem -2rem -2rem;
}
.gallery-form-actions .btn {
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.gallery-form-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.gallery-form-actions .btn-secondary {
  background: #ffffff;
  border: 1px solid #dee2e6;
  color: #495057;
}
.gallery-form-actions .btn-secondary:hover {
  background: #f8f9fa;
}
.gallery-form-actions .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}
.gallery-form-actions .btn-primary:hover {
  opacity: 0.9;
}

.gallery-old-images-section {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  overflow: hidden;
  margin-top: 1.5rem;
}
.gallery-old-images-section .section-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 1rem 1.5rem;
}
.gallery-old-images-section .section-header h4 {
  color: #ffffff;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gallery-old-images-section .gallery-images-grid {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.gallery-old-images-section .gallery-image-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  aspect-ratio: 1;
}
.gallery-old-images-section .gallery-image-item:hover {
  border-color: #1E90FF;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.gallery-old-images-section .gallery-image-item:hover .image-delete-overlay {
  opacity: 1;
}
.gallery-old-images-section .gallery-image-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.gallery-old-images-section .gallery-image-item .image-delete-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-old-images-section .gallery-image-item .image-delete-overlay .btn-danger {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
}
.gallery-old-images-section .gallery-image-item .image-delete-overlay .btn-danger:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .gallery-card-img-wrapper {
    height: 180px;
  }

  .gallery-form-container .gallery-form-header {
    padding: 1rem 1rem;
  }
  .gallery-form-container .gallery-form-header h3 {
    font-size: 1.125rem;
  }
  .gallery-form-container .gallery-form-body {
    padding: 1rem;
  }

  .gallery-form-actions {
    flex-direction: column;
  }
  .gallery-form-actions .btn {
    width: 100%;
  }

  .gallery-old-images-section .gallery-images-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }
}
@media (max-width: 576px) {
  .gallery-card-img-wrapper {
    height: 160px;
  }

  .gallery-count-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }

  .empty-state-gallery {
    padding: 2rem 0.75rem;
  }
  .empty-state-gallery .empty-state-icon {
    font-size: 48px;
  }
  .empty-state-gallery .empty-state-icon i {
    font-size: 48px;
  }
}
.skin-blue a,
.skin-blue a:hover,
.skin-blue a:focus,
.skin-blue a:active {
  text-decoration: none !important;
}

.skin-blue .navbar {
  position: fixed;
  top: 15px;
  left: 250px;
  right: 20px;
  z-index: 1020;
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 0;
  height: 60px;
  min-height: 60px;
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .skin-blue .navbar {
    left: 20px;
  }
}

.skin-blue .sidebar-logo {
  background-color: #0A1F44;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}
.skin-blue .sidebar-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.skin-blue .sidebar-logo .sidebar-logo-img {
  max-width: 150px;
  max-height: 40px;
  width: auto;
  height: auto;
}

.skin-purple-light .wrapper,
.skin-blue .main-sidebar,
.skin-blue .left-side {
  background-color: #0A1F44;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
  padding-top: 0 !important;
}

.skin-blue .sidebar-menu > li.header {
  color: #bdc3c7;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 12px 15px;
}

.skin-blue .sidebar a {
  color: #ecf0f1;
  text-decoration: none;
}
.skin-blue .sidebar a:hover, .skin-blue .sidebar a:focus, .skin-blue .sidebar a:active {
  text-decoration: none;
}

.skin-blue .sidebar-menu > li > a {
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}
.skin-blue .sidebar-menu > li > a:hover {
  background-color: rgba(30, 144, 255, 0.1);
  border-left-color: #1E90FF;
  text-decoration: none;
}

.skin-blue .sidebar-menu > li:hover > a,
.skin-blue .sidebar-menu > li.active > a,
.skin-blue .sidebar-menu > li.menu-open > a {
  color: #1E90FF;
  background: rgba(30, 144, 255, 0.1);
  border-left-color: #1E90FF;
  font-weight: 500;
}

.skin-blue .sidebar-menu > li > .treeview-menu {
  margin: 0;
  background: rgba(0, 0, 0, 0.2);
}

.skin-purple-light .sidebar-menu > li > .treeview-menu {
  margin: 0px;
  background: rgba(0, 0, 0, 0.2);
  padding-left: 0px;
  border-left: 3px solid rgba(255, 255, 255, 0.1);
}

.skin-purple-light .sidebar-menu .treeview-menu > li > a {
  color: #ecf0f1;
  padding-left: 40px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.skin-purple-light .sidebar-menu .treeview-menu > li > a:hover {
  color: #1E90FF;
  background-color: rgba(30, 144, 255, 0.05);
  padding-left: 45px;
  text-decoration: none;
}

.skin-purple-light .sidebar-menu .treeview-menu > li:hover {
  border-left: 3px solid #1E90FF;
}

.skin-blue .treeview-menu > li > a {
  color: #ecf0f1;
  text-decoration: none;
}

.skin-blue .treeview-menu > li.active > a,
.skin-blue .treeview-menu > li > a:hover {
  color: #1E90FF;
  font-weight: 500;
  text-decoration: none;
}

.skin-blue .treeview-menu > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-left: 36px;
}

.skin-blue .sidebar-menu > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.skin-blue .sidebar-toggle {
  color: #ecf0f1;
}

.skin-blue .sidebar-toggle:hover {
  background: rgba(30, 144, 255, 0.1) !important;
  color: #1E90FF;
}

.skin-blue .user-panel {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
}

.skin-blue .user-panel > .info,
.skin-blue .user-panel > .info > a {
  color: #ecf0f1;
  font-weight: 500;
}

.skin-blue .user-panel > .info > p {
  font-size: 12px;
  color: #bdc3c7;
}

.skin-blue .sidebar {
  height: calc(100vh - 60px);
  overflow-y: auto;
  overflow-x: hidden;
}

.skin-blue .sidebar::-webkit-scrollbar {
  width: 2px;
}

.skin-blue .sidebar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.skin-blue .sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}
.skin-blue .sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.skin-blue .sidebar-form {
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 10px 10px;
  background-color: rgba(0, 0, 0, 0.2);
}

.skin-blue .sidebar-form input[type=text],
.skin-blue .sidebar-form .btn {
  box-shadow: none;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 35px;
  color: #ecf0f1;
}

.skin-blue .sidebar-form input[type=text] {
  border-top-left-radius: 3px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 3px;
}
.skin-blue .sidebar-form input[type=text]::-moz-placeholder {
  color: #bdc3c7;
}
.skin-blue .sidebar-form input[type=text]::placeholder {
  color: #bdc3c7;
}
.skin-blue .sidebar-form input[type=text]:focus {
  border-color: #1E90FF;
  outline: none;
  background-color: rgba(0, 0, 0, 0.3);
}

.skin-blue .sidebar-form input[type=text]:focus,
.skin-blue .sidebar-form input[type=text]:focus + .input-group-btn .btn {
  background-color: #1E90FF;
  color: #ffffff;
  border-color: #1E90FF;
}

.skin-blue .sidebar-form .btn {
  color: #bdc3c7;
  border-top-left-radius: 0;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 0;
}
.skin-blue .sidebar-form .btn:hover {
  background-color: rgba(30, 144, 255, 0.1);
  color: #1E90FF;
}

.skin-blue .sidebar-menu > li > a > .fa,
.skin-blue .sidebar-menu > li > a > .glyphicon,
.skin-blue .sidebar-menu > li > a > .ion {
  color: #bdc3c7;
  transition: color 0.3s ease;
}

.skin-blue .sidebar-menu > li:hover > a > .fa,
.skin-blue .sidebar-menu > li:hover > a > .glyphicon,
.skin-blue .sidebar-menu > li:hover > a > .ion {
  color: #ffffff;
}

.skin-blue .sidebar-menu > li.active > a > .fa,
.skin-blue .sidebar-menu > li.active > a > .glyphicon,
.skin-blue .sidebar-menu > li.active > a > .ion {
  color: #1E90FF;
}

.skin-blue .sidebar-menu .label,
.skin-blue .sidebar-menu .badge {
  background-color: #1E90FF;
  color: #ffffff;
  font-weight: 600;
}

.skin-blue .sidebar-menu .badge-primary {
  background-color: #1E90FF;
}

.skin-blue .sidebar-menu .badge-success {
  background-color: #28a745;
}

.skin-blue .sidebar-menu .badge-warning {
  background-color: #ffc107;
  color: #212529;
}

.skin-blue .sidebar-menu .badge-danger {
  background-color: #dc3545;
}

.skin-blue .content-wrapper {
  background-color: #F5F7FA;
  min-height: 100vh;
  margin-left: 230px;
  padding-top: 80px;
}
@media (max-width: 767px) {
  .skin-blue .content-wrapper {
    margin-left: 0;
  }
}

.skin-blue .main-footer {
  background-color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bdc3c7;
  margin-left: 230px;
}
@media (max-width: 767px) {
  .skin-blue .main-footer {
    margin-left: 0;
  }
}

.skin-blue .navbar-nav > li > a,
.skin-blue .navbar .nav-link {
  color: #ecf0f1;
  transition: all 0.2s ease;
}
.skin-blue .navbar-nav > li > a:hover, .skin-blue .navbar-nav > li > a:active, .skin-blue .navbar-nav > li > a:focus,
.skin-blue .navbar .nav-link:hover,
.skin-blue .navbar .nav-link:active,
.skin-blue .navbar .nav-link:focus {
  background-color: rgba(255, 255, 255, 0.05);
  color: #1E90FF;
}

.skin-blue .nav-counter-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.skin-blue .nav-counter-badge i {
  color: rgba(30, 144, 255, 0.7);
  font-size: 1.04rem;
  transition: all 0.3s ease;
}
.skin-blue .nav-counter-badge .count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #1E90FF;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  animation: pulse 2s infinite;
}

.skin-blue .nav-link:hover .nav-counter-badge {
  background-color: rgba(30, 144, 255, 0.15);
  transform: translateY(-2px);
}
.skin-blue .nav-link:hover .nav-counter-badge i {
  color: #1E90FF;
  transform: scale(1.1);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.skin-blue .nav-lang-flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skin-blue .nav-link:hover .nav-lang-flag {
  border-color: #1E90FF;
  transform: scale(1.1);
}

.skin-blue .nav-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(30, 144, 255, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  overflow: hidden;
}
.skin-blue .nav-avatar .user-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.skin-blue .nav-link:hover .nav-avatar {
  border-color: #1E90FF;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(30, 144, 255, 0.3);
}

.skin-blue .navbar-item .nav-link {
  padding: 4px 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.skin-blue .navbar-item .nav-link:hover {
  background-color: rgba(30, 144, 255, 0.08);
}

.skin-blue .navbar .nav-link small {
  color: #ecf0f1;
  font-weight: 500;
  transition: color 0.3s ease;
}

.skin-blue .nav-link:hover small {
  color: #1E90FF;
}

.skin-blue .navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-top: 8px;
}

.skin-blue .navbar-nav .nav-item {
  margin: 0 4px;
}

.skin-blue .sidebar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: rgba(30, 144, 255, 0.08);
  color: #1E90FF;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.skin-blue .sidebar-toggle:hover {
  background-color: rgba(30, 144, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(30, 144, 255, 0.2);
}
.skin-blue .sidebar-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
}

@media (max-width: 767px) {
  .skin-blue .main-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .skin-blue.sidebar-open .main-sidebar {
    transform: translateX(0);
  }
}
