/* ============================================================
   DESIGN TOKENS
   All colors, sizes, and shared values live here as variables.
   Theme files only override the --color-* variables.
   ============================================================ */
:root {
  /* Brand / accent */
  --color-accent: #f09b4b;
  --color-accent-bright: #f68c1e;
  --color-accent-hover: #ffab40;
  --color-accent-alt: #f88c03;
  /* used in light theme for stops */

  /* Status */
  --color-success: #51ae46;
  --color-success-dark: #33b379;
  --color-danger: #de3a3b;
  --color-danger-bright: #f60000;
  --color-warning: #cf981d;
  --color-info: #1299da;
  --color-teal: #26dad1;

  /* Semantic card / label colors (always the same regardless of theme) */
  --color-card-pending: #3771f4;
  --color-card-completed: #0bbb48;
  --color-card-attempted: #cf981d;
  --color-badge-orange: #f68c1e;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 5px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  /* Input / button sizing */
  --input-height: 46px;
  --input-padding: 10px 14px;
  --input-font-size: 15px;
  --input-radius: var(--radius-lg);
  --input-weight: 500;
  --transition-input: border-color 0.15s ease, box-shadow 0.15s ease;
  --transition-btn: background-color 0.1s ease, transform 0.1s ease;
}


/* ============================================================
   RESET / BASE
   ============================================================ */
* {
  font-family: Lusitana;
}

p {
  margin-bottom: 5px !important;
}

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

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

.hide {
  display: none;
}


/* ============================================================
   GLOBAL FORM & INPUT STRUCTURE
   Colors come from theme files — only layout/sizing here.
   ============================================================ */

/* Text inputs, selects, textareas */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
select,
textarea {
  width: 100%;
  min-height: var(--input-height);
  padding: var(--input-padding);
  font-size: var(--input-font-size);
  font-family: inherit;
  font-weight: var(--input-weight);
  border-width: 1px;
  border-style: solid;
  border-radius: var(--input-radius);
  box-sizing: border-box;
  transition: var(--transition-input);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input[type="file"] {
  width: auto !important;
}

/* Checkbox & radio — shared structure */
input[type="checkbox"],
input[type="radio"] {
  display: inline-block;
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin: 0;
  padding: 0 !important;
  outline: 0;
  line-height: 0;
  border: 1px solid #b4b9be;
  background-color: #fff;
  cursor: pointer;
  text-align: center;
  vertical-align: text-top;
  flex-shrink: 0;
  accent-color: var(--color-accent-bright);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 10%);
  transition: all 0.2s ease-in-out;
  clear: none;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked {
  background-color: #0073aa;
  border: 1px solid #0073aa;
}

input[type="radio"]:before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 10px;
  opacity: 0;
  display: block;
  background-color: rgba(255, 255, 255, .8);
  border-radius: 50%;
  transition: all 0.2s ease-in-out;
}

input[type="radio"]:checked:before {
  opacity: 1;
  width: 8px;
  height: 8px;
  margin: 8px;
  display: block;
}

/* Checkbox in .field context */
.field input[type=checkbox] {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-left: 5px;
  border-radius: var(--radius-sm);
}

/* Labels */
form label,
.field label,
.field-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  user-select: none;
}

/* Buttons — shared structure only */
input[type="button"],
input[type="submit"],
input[type="reset"],
button {
  min-height: var(--input-height);
  padding: 10px 20px;
  font-size: var(--input-font-size);
  font-weight: 700;
  border-radius: var(--input-radius);
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: var(--transition-btn);
}

input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active,
button:active {
  transform: scale(0.98);
}

/* Checkbox wrapper layout */
.checkbox-wrapper,
.delivered-form .delivery-spot-div,
.field.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

.checkbox-wrapper label,
.delivered-form .delivery-spot-div label,
.checkbox-wrapper span {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

/* Focus ring — theme files control the border-color */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent-bright);
  box-shadow: 0 0 0 1px var(--color-accent-bright);
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
  outline: 2px solid var(--color-accent-bright);
}

/* Exception-form radio (always on white bg) */
.exception-form div input[type=radio]:checked {
  background-color: #008000;
  color: #fff;
}


/* ============================================================
   FORM CONTAINERS
   ============================================================ */

/* Login / Register */
.form-container .remember-me {
  text-align: center;
}

.form-container .field {
  margin: 0;
  padding: 0 0 20px 0;
}

.form-container input.input {
  border-radius: var(--radius-md) !important;
}

.form-container .aione-button-container {
  display: flex;
  justify-content: center;
}

.form-container .aione-button.fullwidth {
  width: 70%;
  font-size: 15px;
  font-weight: 600;
  background-color: var(--color-accent);
}

.form-container .aione-button.fullwidth:hover {
  background-color: #fff;
}

/* Login form inputs override — always dark panel regardless of theme */
.form-container .field input[type=text],
.form-container .field input[type=password] {
  font-size: inherit;
  font-weight: 600;
  color: #000;
  background: #1d2532;
  width: 100%;
  border: 1px solid #1d2532;
}

/* Scan camera form */
.pickup-detail-page .scan-camera form label {
  display: block;
  margin-bottom: 3px;
}

.pickup-detail-page .scan-camera form input {
  width: 100%;
}

.pickup-detail-page .scan-camera form button {
  margin-top: 10px;
  margin-right: 0;
}

.pickup-detail-page .scan-camera form button:hover {
  background-color: var(--color-accent);
}

/* Currency input */
.input-currency-div {
  border: 1px solid #fff;
  border-radius: var(--radius-sm);
}

.input-currency-div>span {
  padding: 8px 15px;
  color: #fff;
  border-right: 1px solid #424e61;
}

.input-currency-div>input[type=text] {
  border: none;
  width: 85%;
}

/* Aione form border utility */
.aione-form-border {
  border: 1px solid transparent !important;
  margin-bottom: 15px;
}

/* Verification form buttons */
.verification-form #agent_save,
.verification-form #agent_submit {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 4px 15px;
  min-height: unset;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.verification-form #agent_submit:disabled {
  color: #fff;
  background-color: #ae8550;
  cursor: not-allowed;
}

.verification-form #agent_submit:disabled:hover {
  background-color: #ae8550;
  color: #fff;
}

.verification-form #agent_submit {
  color: #fff;
  background-color: var(--color-accent-hover);
}

.verification-form #agent_submit:hover {
  color: #fff;
  background-color: #fca533;
}

/* Exception form */
.exception-form {
  position: fixed;
  background-color: #fff;
  left: 10%;
  right: 10%;
  z-index: 3;
  top: 10%;
  bottom: 10%;
  padding: 20px;
  border-radius: var(--radius-md);
}

.exception-form div {
  margin-bottom: 10px;
  color: #000;
}

.exception-form div input {
  margin-right: 10px;
  border: 2px solid var(--color-accent);
}

.exception-form textarea {
  background: #fff;
  color: #000;
  font-size: 14px;
  line-height: 19px;
  border-radius: var(--radius-md);
  min-height: 100px;
  padding: 5px;
}

.deliveries-detail-page .exception-form .exception-done,
.pickup-detail-page .exception-form .exception-done {
  padding: 5px 20px;
  background-color: #1f9bdd;
  border: 2px solid #1f9bdd;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 3px;
  color: #fff;
}

/* #input_save */
#input_save {
  margin-bottom: 10px;
  background-color: var(--color-accent);
}


/* ============================================================
   LAYOUT
   ============================================================ */

.aione-layout-wide .aione-main .wrapper {
  max-width: 1600px !important;
}

.aione-pagetitle {
  padding: 0 !important;
  background-color: #0f1624 !important;
}

.layout-header-left .aione-header {
  padding: 0 !important;
  float: left !important;
}

.aione-page-content {
  margin-bottom: 42px;
}

.aione-footer {
  margin: 0 !important;
  border-top: none !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

div#aione_footer {
  background-color: #0e1522;
}

.aione-wrapper.layout-header-left .aione-header>.wrapper {
  border-right: 1px solid #e8e8e8;
}

.aione-page-title {
  font-size: 15px;
  line-height: 23px;
  margin: 0;
  padding: 30px 30px 30px 70px;
  font-weight: 600;
  color: #fff;
  position: relative;
}

@media only screen and (min-width: 993px) {
  .layout-header-left>.wrapper {
    display: block !important;
  }
}


/* ============================================================
   NAVIGATION / HAMBURGER MENU
   ============================================================ */

.toggle-wrap .toggle-bar::before {
  background: #fff;
}

.toggle-wrap .toggle-bar::after {
  background-color: #fff;
}

.new-menu nav {
  padding: 0;
  position: relative;
  z-index: 3;
}

.new-menu nav::after {
  content: "";
  display: block;
  clear: both;
}

.new-menu aside {
  position: absolute;
  width: 25%;
  height: 100%;
  left: -100%;
  top: 0;
  bottom: 0;
  box-sizing: border-box;
  padding-top: 83px;
  transition: all 0.4s ease;
  z-index: 2;
}

.new-menu aside.active {
  left: 0;
}

.new-menu aside a {
  display: block;
  padding: 1.2rem;
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
  border-bottom: 1px solid #414141;
}

.new-menu aside a:first-child {
  padding: 0;
  position: absolute;
  top: 0;
  border-bottom: 0;
  right: 25px;
}

.new-menu .toggle-wrap {
  padding: 30px;
  position: relative;
  cursor: pointer;
  float: right;
  user-select: none;
}

.toggle-bar,
.toggle-bar::before,
.toggle-bar::after,
.toggle-wrap.active .toggle-bar,
.toggle-wrap.active .toggle-bar::before,
.toggle-wrap.active .toggle-bar::after {
  transition: all 0.2s ease-in-out;
}

.toggle-bar {
  width: 30px;
  margin: 10px 0;
  position: relative;
  border-top: 3px solid #ffffff;
  display: block;
}

.toggle-bar::before,
.toggle-bar::after {
  content: "";
  display: block;
  background: #303030;
  height: 3px;
  width: 30px;
  position: absolute;
  top: -10px;
  transform: rotate(0deg);
  transform-origin: 17%;
}

.toggle-bar::after {
  top: 4px;
}

.toggle-wrap.active .toggle-bar {
  border-top: 4px solid transparent;
}

.toggle-wrap.active .toggle-bar::before {
  transform: rotate(45deg);
}

.toggle-wrap.active .toggle-bar::after {
  transform: rotate(-45deg);
}

aside a img {
  height: 60px;
  padding-top: 12px;
}


/* ============================================================
   HEADER & PAGE TITLE
   ============================================================ */

.profile-aside {
  display: grid;
  grid-template-columns: 20% 80%;
  padding: 10px 10px 0 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.profile-aside .image-pofile img {
  border-radius: 15px;
  width: 75px;
  border: 4px solid #ae8b69;
}

.profile-aside .name {
  font-size: 25px;
  color: #fff;
  padding-top: 15px;
}


/* ============================================================
   DASHBOARD
   ============================================================ */

.dashboard {
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.dashboard .no-stop,
.itinerary-page .no-stop {
  width: 80%;
  margin: 0 auto;
  text-align: center;
}

.itinerary-page .no-stop {
  margin-top: 80px;
}

.dashboard-main {
  display: flex;
  justify-content: center;
  padding-top: 3%;
}

.main-dashboard {
  display: flex;
  justify-content: center;
}

.date-dashboard {
  display: flex;
  justify-content: center;
  padding-top: 0;
  font-size: 16px;
  font-weight: 500;
}

.dashboard .itineryary {
  display: grid;
  grid-template-columns: 31% 31% 31%;
  grid-gap: 10px;
}

.dashboard .itineryary p {
  font-size: 11px;
  font-weight: 600;
  line-height: 15px;
  color: #fff;
  text-align: center;
}

.dashboard .itineryary .no-stop {
  background-color: #1d2532;
  padding: 15px;
  border: 1px solid #1d2532;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: #fff;
  text-align: center;
}

.dashboard-box,
.support-title {
  display: inline-block;
  padding: 15px 50px;
  border-radius: var(--radius-md);
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  position: relative;
}

.support-title {
  padding: unset;
}

.dashboard-box span {
  text-transform: uppercase;
}

.dashboard-box span:after {
  content: "\f2c0";
  font-family: 'FontAwesome';
  position: absolute;
  right: 5px;
  top: 5px;
  opacity: .1;
}

.dashboard h4,
.balance-main-dashboard h4,
.wallet-page .balance h4 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 3px;
}

/* Cards */
.dashboard .card {
  font-size: 12px;
  line-height: 20px;
  font-weight: 600;
  padding: 5px 10px;
  display: inline-block;
  border-radius: var(--radius-md);
  position: relative;
  min-width: 80px;
}

.dashboard .card .count {
  line-height: 22px;
  font-size: 16px;
}

.dashboard .card.pending {
  color: var(--color-card-pending);
}

.dashboard .card.completed {
  color: var(--color-card-completed);
}

.dashboard .card.attempted {
  color: var(--color-card-warning);
}

/* Stats panel */
#stats {
  background-color: #1d2532;
  padding: 15px;
  border-radius: var(--radius-md);
}

#stats .today-delivery {
  font-size: 16px;
  line-height: 21px;
  color: #fff;
  margin-bottom: 15px;
}

#stats .delivery-week-month {
  display: grid;
  grid-template-columns: 50% 49%;
  grid-gap: 10px;
}

#stats .delivery-week-month div {
  padding: 15px 10px;
  margin-bottom: 10px;
  background-color: #27303e;
  border-radius: var(--radius-sm);
  color: #fff;
}

#stats span {
  color: var(--color-accent);
  line-height: 25px;
  font-weight: 600;
  padding-left: 5px;
}


/* ============================================================
   WALLET / BALANCE
   ============================================================ */

.wallet-page .no-balance {
  padding: 15px;
  border-radius: var(--radius-md);
}

.no-balance .balance-cleared {
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  text-transform: uppercase;
  color: #ffbf30;
}

h1.section-title {
  font-size: 18px;
  line-height: 30px;
}

h4.section-title {
  font-size: 14px;
  line-height: 20px;
}

.no-balance .payment {
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
}

.balance-main-dashboard .pending,
.wallet-page .balance .pending,
.wallet-details-section .wallet-fees {
  padding: 15px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.balance-main-dashboard .balance,
.wallet-page .balance,
.wallet-details-section .content {
  font-size: 24px;
  font-weight: 800;
}

.amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.currency {
  font-size: 12px;
}

.value.muted {
  color: #9ca3af;
}

.shipment-number,
.date {
  margin-top: 6px;
  font-size: 12px;
  text-align: left;
  letter-spacing: 0.2px;
}

.status.warning {
  font-size: 11px;
  font-weight: 600;
  color: #b45309;
  background: #fef3c7;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

/* Wallet tabs */
.wallet-details-section .aione-tabs.horizontal>.nav>* {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
}

.wallet-details-section .aione-tabs.horizontal.theme-bold>.nav> :hover {
  background: #ffffff1c;
}

.wallet-details-section .aione-tabs.horizontal.theme-bold>.nav>.active {
  border-bottom: none;
  background: #168dc5;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wallet-cad-date .cad-date {
  /* bg set by theme */
}


/* ============================================================
   PROFILE
   ============================================================ */

.wrapper-profile .image-pofile {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-section img {
  border-radius: 50px;
  width: 100px;
  border: 4px solid #ae8b69;
}

.profile-section .profile-detail {
  padding-top: 20px;
}

.profile-section .profile-detail div {
  font-weight: 600;
  margin-bottom: 10px;
  margin-left: 10px;
  font-size: 16px;
  line-height: 21px;
  text-align: center;
}

.profile-section .profile-detail div .svg-inline--fa {
  color: var(--color-accent);
  margin-right: 5px;
}

.profile-section div label {
  color: var(--color-accent);
  font-weight: 600;
}

/* Profile FontAwesome icons */
.profile-section div.name:before {
  content: "\f2c0";
  font-family: 'FontAwesome';
  padding-right: 10px;
  color: var(--color-accent);
}

.profile-section div.phone:before {
  content: "\f095";
  font-family: 'FontAwesome';
  padding-right: 10px;
  color: var(--color-accent);
}

.profile-section div.email:before {
  content: "\f0e0";
  font-family: 'FontAwesome';
  padding-right: 10px;
  color: var(--color-accent);
}

/* Edit profile file input */
.edit-profile-page .field.field-type-file {
  display: flex;
  justify-content: center;
  align-items: center;
}

.edit-profile-page .field.field-type-file input {
  width: 20px !important;
  overflow: hidden;
  height: 0;
  border-radius: 50%;
  background: #fff !important;
  position: relative;
}

.edit-profile-page input::file-selector-button {
  display: none;
}

.edit-profile-page .field.field-type-file input:before {
  content: "\f030";
  font-family: 'FontAwesome';
  font-size: 25px;
  position: absolute;
  left: 6px;
  top: 8px;
  color: #111828;
}

.edit-profile-page .main-profile {
  position: relative;
}

.edit-profile-page .field.field-type-file span {
  position: absolute;
  top: -20px;
  right: -30px;
}

.edit-profile-page .field.field-type-file img {
  border-radius: 20px 0 20px 0;
}


/* ============================================================
   LOGIN / REGISTER
   ============================================================ */

.login-page .logo img,
.register-page .logo img {
  height: 100px;
}

.login-page h2,
.register-page h2 {
  color: #04a1e4;
}

.forgot-password-page .message {
  position: fixed;
  background-color: #fff;
  padding: 30px 20px;
  left: 20%;
  right: 20%;
  top: 10%;
  bottom: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  text-align: center;
  color: #000;
  line-height: 31px;
}


/* ============================================================
   AVAILABILITY TOGGLE SWITCH
   ============================================================ */

.availability {
  display: flex;
  justify-content: center;
  padding: 15px 0;
}

.availability div.btn-container {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  position: relative;
}

.availability label {
  font-size: 13px;
  color: #424242;
  font-weight: 500;
}

.availability .btn-color-mode-switch {
  display: inline-block;
  margin: 0;
  position: relative;
}

.availability .btn-color-mode-switch>label.btn-color-mode-switch-inner:before {
  content: attr(data-on);
  position: absolute;
  font-size: 12px;
  font-weight: 600;
  top: 15px;
  right: 40px;
}

.availability .btn-color-mode-switch>label.btn-color-mode-switch-inner:after {
  content: attr(data-off);
  width: 125px;
  height: 27px;
  background: #e93446;
  color: #fff;
  border-radius: var(--radius-md);
  position: absolute;
  left: 2px;
  top: 2px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px -2px #111;
  padding: 5px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.availability .btn-color-mode-switch>.alert {
  display: none;
  background: #FF9800;
  border: none;
  color: #fff;
}

.availability .btn-color-mode-switch input[type="checkbox"] {
  cursor: pointer;
  width: 50px;
  height: 25px;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: 1;
  margin: 0;
}

.availability .btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:after {
  content: attr(data-on);
  left: 125px;
  background-color: #1bc487;
  color: #fff;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
}

.availability .btn-color-mode-switch input[type="checkbox"]:checked+label.btn-color-mode-switch-inner:before {
  content: attr(data-off);
  right: auto;
  left: 41px;
  top: 14px;
  font-weight: 600;
}

.availability .btn-color-mode-switch input[type="checkbox"]:checked~.alert {
  display: block;
}


/* ============================================================
   ITINERARY PAGE
   ============================================================ */

.itinerary-page button.map-btn {
  position: absolute;
  top: 34px;
  right: 5px;
  color: #000;
  background-color: #b3d1ff;
  border: 0;
  font-weight: 600;
  padding: 4px 10px 7px 10px;
  border-radius: 2px;
}

.itinerary-page .aione-tabs.horizontal.align-center>.nav {
  width: 100%;
  text-align: center;
  display: grid;
  grid-template-columns: 33% 33% 33%;
  padding: 10px 0;
  margin-bottom: 10px;
}

.itinerary-page .aione-tabs.horizontal.inner-tabs.align-center>.nav {
  background-color: transparent;
  padding: 0;
}

.itinerary-page .aione-tabs.horizontal.margin>.nav>* {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  margin: 0;
}

.itinerary-page #stops_tab div p.stop-deliveries {
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

.itinerary-page .stop-summary {
  text-align: left;
  margin: 0 5px;
  padding: 0 5px;
  gap: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.itinerary-page .stop-summary svg {
  width: 20px;
}

.itinerary-page .stop-summary button {
  padding: 6px 15px 4px;
  line-height: 1;
  margin-bottom: 10px;
}


/* ============================================================
   STOPS TAB
   ============================================================ */

#stops_tab .pickups,
#stops_tab .drop-offs {
  text-align: left;
  margin: 5px;
  padding: 5px;
}

#stops_tab .pickups button {
  padding: 5px 20px;
  font-size: 16px;
  line-height: 25px;
  color: #fff;
  background-color: var(--color-info);
  border: 0;
  border-radius: var(--radius-sm);
}

#stops_tab .pickups .inner-wrapper,
#stops_tab .drop-offs .inner-wrapper {
  margin: 10px 0;
}

#stops_tab .pickups .pickup-item,
#stops_tab .drop-offs .drop-off-item {
  padding: 10px;
  margin-bottom: 5px;
}

#stops_tab .pickups .pickup-item .location-title,
#stops_tab .drop-offs .drop-off-item .location-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 30px;
}

#stops_tab .pickups .pickup-item .location-address,
#stops_tab .drop-offs .drop-off-item .location-address {
  line-height: 1.4;
}

#stops_tab .drop-offs .drop-off-item .deliver-before {
  color: var(--color-info);
  font-size: 14px;
  font-weight: 600;
}

#stops_tab .drop-offs .drop-off-item .cash-pickup {
  color: var(--color-info);
  font-size: 14px;
  font-weight: 600;
}

#stops_tab .drop-offs .drop-off-item .ar.cards {
  align-items: center;
}

#stops_tab .drop-offs .drop-off-item .ar.cards>.ac {
  margin-left: 0;
}

#stops_tab .pickups .pickup-item .merchant-name,
#stops_tab .drop-offs .drop-off-item .merchant-name {
  color: var(--color-accent-alt);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.5px;
  font-weight: 600;
}

#stops_tab .pickups .pickup-item .package-count,
#stops_tab .drop-offs .drop-off-item .package-count {
  color: var(--color-accent-alt);
  font-size: 12px;
  line-height: 20px;
}

/* Drop-off button opacity states */
#stops_tab .drop-off button {
  padding: 6px 20px;
  font-size: 16px;
  line-height: 25px;
  color: #000;
  border: 0;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  opacity: .3;
}

#stops_tab .drop-off:has(.active) button {
  opacity: 1;
}

#stops_tab .drop-offs .drop-off-item {
  opacity: .3;
}

#stops_tab .drop-offs .drop-off-item.active {
  opacity: 1;
}


/* ============================================================
   DELIVERY PAGE
   ============================================================ */

.delivery-page .main {
  background-color: #1d2532;
  padding: 15px;
  border: 1px solid #1d2532;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  text-align: left;
  position: relative;
}

.delivery-page .location {
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 0;
  color: #fff;
}

.delivery-page .location:before {
  content: "\f041";
  font-family: 'FontAwesome';
  padding-right: 5px;
  color: var(--color-accent);
}

.delivery-page .iteams {
  font-size: 11px;
  line-height: 13px;
  font-weight: 600;
  color: #fff;
  position: relative;
  list-style: none;
}

.delivery-page .reference-id {
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 2px;
  color: #fff;
  font-weight: 400;
  margin-top: 5px;
}

.delivery-page .reference-id::before,
.pickup-detail-page .refrence-id::before,
.deliveries-detail-page p.refrence-id::before {
  content: "\f2b9";
  font-family: 'FontAwesome';
  padding-right: 5px;
  color: var(--color-accent);
}

.delivery-page a .fa-arrow-left {
  color: #fff;
  font-size: 20px;
  line-height: 25px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Delivery pickup badge & time */
.delivery-page .main strong.pickup,
.pickup-page .main strong.pickup {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 9px;
  line-height: 10px;
  margin: 0;
  color: #fff;
  font-weight: 600;
  background: var(--color-success-dark);
  padding: 3px 5px 4px;
  border-radius: 10px;
}

.delivery-page .main strong.pickup .fa-circle,
.pickup-page .main strong.pickup .fa-circle {
  color: var(--color-teal);
  padding-right: 3px;
}

.delivery-page .main strong.time,
.pickup-page .main strong.time {
  position: absolute;
  right: 10px;
  bottom: 5px;
  font-size: 9px;
  line-height: 10px;
  margin: 0;
  color: #fff;
  font-weight: 600;
  padding: 3px 5px 4px;
  border-radius: 10px;
}

.delivery-page .main strong.time .fa-clock-o,
.pickup-page .main strong.time .fa-clock-o {
  color: var(--color-teal);
  padding-right: 3px;
}


/* ============================================================
   DELIVERIES DETAIL PAGE
   ============================================================ */

.deliveries-detail-page .back-next {
  display: flex;
  justify-content: space-between;
  background-color: #1d2532;
  padding: 15px;
  border: 1px solid #1d2532;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.deliveries-detail-page .back-next span {
  color: #fff;
  font-size: 15px;
  line-height: 18px;
  font-weight: 600;
}

.deliveries-detail-page .back-next span i.fa-arrow-left {
  padding-right: 3px;
}

.deliveries-detail-page .back-next span i.fa-arrow-right {
  padding-left: 3px;
}

.deliveries-detail-page .address,
.contact_detail,
.items {
  background-color: #1d2532;
  padding: 15px;
  border: 1px solid #1d2532;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.deliveries-detail-page .address address a {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: #fff;
}

.deliveries-detail-page .items ul {
  list-style-type: disc;
}

.deliveries-detail-page .address label,
.deliveries-detail-page .contact_detail label,
.deliveries-detail-page .items label {
  color: #9f9898;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.deliveries-detail-page .contact_detail p {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: #fff;
  position: relative;
  margin-bottom: 2px;
  margin-top: 3px;
}

.deliveries-detail-page .items ul li {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: #fff;
  position: relative;
  list-style: none;
}

/* FontAwesome icons for detail page */
.deliveries-detail-page .contact_detail p.name:before {
  content: "\f183";
  font-family: 'FontAwesome';
  padding-right: 5px;
  color: var(--color-accent);
}

.deliveries-detail-page .contact_detail p.phone:before {
  content: "\f095";
  font-family: 'FontAwesome';
  padding-right: 5px;
  color: var(--color-accent);
}

.deliveries-detail-page .items ul li:before {
  content: "\f187";
  font-family: 'FontAwesome';
  padding-right: 5px;
  color: var(--color-accent);
}

.deliveries-detail-page .address address a:before {
  content: "\f041";
  font-family: 'FontAwesome';
  padding-right: 5px;
  color: var(--color-accent);
}

.deliveries-detail-page p.refrence-id {
  font-size: 13px;
  line-height: 20px;
  margin-bottom: 5px;
  color: #fff;
  font-weight: 400;
}

/* Buttons on detail page */
.deliveries-detail-page button.signature_clear {
  padding: 5px 20px;
  background-color: var(--color-danger-bright);
  border: 2px solid var(--color-danger-bright);
  margin-right: 10px;
  font-weight: 600;
  border-radius: 3px;
  color: #fff;
}

.deliveries-detail-page button.signature_save {
  padding: 5px 20px;
  background-color: #4b4b4b;
  border: 2px solid #4b4b4b;
  margin-right: 10px;
  border-radius: 3px;
  color: #fff;
  font-weight: 600;
}

.deliveries-detail-page button.delivery {
  padding: 4px 10px;
  background-color: #6dbf1e;
  border: 2px solid #6dbf1e;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 3px;
  color: #fff;
}

.deliveries-detail-page button.exception {
  padding: 4px 10px;
  background-color: #8388a4;
  border: 2px solid #8388a4;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 3px;
  color: #fff;
}

/* Camera capture */
.deliveries-detail-page .select-btn-capture {
  display: flex;
  justify-content: center;
  position: relative;
}

.deliveries-detail-page .capture-picture-button {
  padding: 0 0 0 5px;
  background-color: #7a7575;
  border: 2px solid #afa6a6;
  margin-right: 10px;
  margin-bottom: 10px;
  height: 80px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10%;
}

.deliveries-detail-page .capture-picture-button span,
.deliveries-detail-page .camera-switch-button span {
  color: #fff;
  font-weight: 600;
  background-color: transparent;
  padding: 0;
  margin-bottom: 0;
}

.deliveries-detail-page .capture-picture-button span {
  font-size: 50px;
}

.deliveries-detail-page .camera-switch-button {
  padding: 0 0 0 5px;
  background-color: #7a7575;
  border: 2px solid #afa6a6;
  margin-right: 10px;
  margin-bottom: 10px;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10%;
  margin-left: -20px;
  margin-top: -15px;
}

.deliveries-detail-page .camera-switch-button span {
  font-size: 25px;
}

.deliveries-detail-page .fa-camera:before,
.deliveries-detail-page .fa-upload {
  padding-right: 5px;
}

.deliveries-detail-page .delivery_image_done {
  padding: 4px 10px;
  background-color: #504a4a;
  border: 2px solid #8f7f7f;
  margin-right: 10px;
  margin-bottom: 0;
  border-radius: 3px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.deliveries-detail-page .delivery_image {
  background-color: #1d2532;
  padding: 25px 10px 10px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
}


/* ============================================================
   PICKUP PAGE
   ============================================================ */

.pickup-page .main {
  padding: 15px;
  background-color: #1d2532;
  margin-bottom: 15px;
  text-align: left;
  border-radius: var(--radius-md);
  position: relative;
}

.pickup-page .main p {
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 0;
  color: #fff;
}

.pickup-page .main p:before {
  content: "\f041";
  font-family: 'FontAwesome';
  padding-right: 5px;
  color: var(--color-accent);
}

.pickup-page .main span {
  font-size: 11px;
  line-height: 13px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.pickup-page .main .shop-name {
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 2px;
  color: #fff;
  font-weight: 600;
  margin-top: 5px;
}

.pickup-page .main .shop-name:before {
  content: "\f015";
  font-family: 'FontAwesome';
  padding-right: 5px;
  color: var(--color-accent);
}


/* ============================================================
   PICKUP DETAIL PAGE
   ============================================================ */

.pickup-detail-page .content {
  margin: 20px 0;
}

.pickup-detail-page .main {
  margin-bottom: 20px;
}

.pickup-detail-page .nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding-bottom: 12px;
}

/* Shared button base for nav/stop-summary/delivery-proof */
.pickup-detail-page .nav button,
.itinerary-page .stop-summary button,
.delivery-proof-outer input[type=button],
.delivery-proof-outer input[type=submit] {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 4px 15px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  min-height: unset;
}

.delivery-proof-outer input[type=button],
.delivery-proof-outer input[type=submit] {
  width: 100%;
}

.pickup-detail-page .nav a:hover button,
.itinerary-page .stop-summary a:hover button {
  color: #fff;
  background-color: var(--color-accent-hover);
}

.pickup-detail-page h3 {
  font-size: 16px;
  line-height: 22px;
  margin-bottom: 10px;
}

.pickup-detail-page .location-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
  color: #fff;
}

.pickup-detail-page .package-count {
  font-size: 12px;
  line-height: 20px;
}

.pickup-detail-page .contact-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  margin-bottom: 3px;
}

.pickup-detail-page .contact-number {
  line-height: 18px;
}

.pickup-detail-page .item-detail p.item-note {
  color: var(--color-info);
  font-size: 14px;
  letter-spacing: 0.5px;
}

.pickup-detail-page .item-detail .checkbox {
  pointer-events: none;
}

.pickup-detail-page.scan-page .item-detail .checkbox {
  pointer-events: initial;
}

.pickup-detail-page.scan-page .item-detail .accepted .checkbox {
  pointer-events: none;
}

.pickup-detail-page .item-detail .item-number .thumbnail {
  width: 52px;
  display: inline-block;
  vertical-align: middle;
}

.pickup-detail-page .scan-remaning {
  display: flex;
  justify-content: space-around;
}

.pickup-detail-page .scan-remaning p span {
  display: block;
  text-align: center;
  font-size: 15px;
  line-height: 18px;
  font-weight: 600;
}

.pickup-detail-page .scan-remaning p button {
  margin-top: 10px;
  padding: 5px 10px;
  border-radius: var(--radius-md);
  border: 2px solid #1d2532;
  background: #1d2532;
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 15px;
  min-height: unset;
}

.pickup-detail-page .outer-div {
  margin-bottom: 15px;
  padding: 10px 15px;
  border-radius: var(--radius-sm);
}

.pickup-detail-page .outer-div h3.shipping,
.pickup-detail-page .outer-div h3.cod {
  margin-bottom: 0;
}

.pickup-detail-page .outer-div .aione-list {
  margin-bottom: 0;
}

.pickup-detail-page .pickup-order-main {
  background-color: #27303e;
  padding: 10px;
  margin-bottom: 10px;
}

.pickup-detail-page .pickup-order-main .pickup-order-location {
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 5px;
  color: #fff;
}

.pickup-detail-page .pickup-order-main .pickup-order-location:before {
  content: "\f041";
  font-family: 'FontAwesome';
  padding-right: 5px;
  color: var(--color-accent);
}

.pickup-detail-page .pickup-order-main .shop-name {
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 2px;
  color: #fff;
  font-weight: 600;
}

.pickup-detail-page .pickup-order-main .shop-name:before {
  content: "\f015";
  font-family: 'FontAwesome';
  padding-right: 5px;
  color: var(--color-accent);
}

.pickup-detail-page .pickup-order-main .pickup-order-total-items {
  font-size: 13px;
  line-height: 16px;
  margin-bottom: 2px;
  color: #fff;
  font-weight: 600;
}

.pickup-detail-page .pickup-order-main .pickup-order-total-items span {
  color: var(--color-accent);
}

.pickup-detail-page .main-new-div .address {
  background-color: #1d2532;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: var(--radius-md);
}

.pickup-detail-page .main-new-div .address .shop-name {
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 2px;
  color: #fff;
  font-weight: 600;
}

.pickup-detail-page .main-new-div .address .pickup-order-location {
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 0;
  color: #fff;
}

.pickup-detail-page .main-new-div .address span {
  color: #9f9898;
  font-size: 13px;
  line-height: 19px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 3px;
}

.pickup-detail-page .order-detail {
  background-color: #202834;
  padding: 10px;
  margin-bottom: 15px;
  position: relative;
}

.pickup-detail-page .order-detail p {
  font-size: 13px;
  line-height: 20px;
  margin-bottom: 3px;
  color: #fff;
  font-weight: 400;
}

.pickup-detail-page .order-detail p.accepted {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
  color: #fff;
  background-color: var(--color-success);
  padding: 2px 4px;
  border-radius: 3px;
  opacity: .7;
}

.pickup-detail-page .order-detail p.refrence-id {
  width: 95%;
}

.pickup-detail-page .order-detail p span {
  color: var(--color-accent);
  font-weight: 600;
}

.pickup-detail-page .order-detail p#scanMessage {
  color: #000;
  text-align: center;
  margin-bottom: 10px;
}

.pickup-detail-page .order-detail .type[parcel] {
  color: red !important;
}

.pickup-detail-page .order-detail button {
  color: #fff;
  padding: 5px 15px;
  border: none;
  border-radius: 3px;
  margin-right: 5px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 5px;
  min-height: unset;
}

.pickup-detail-page .order-detail button.accept {
  background: var(--color-success);
}

.pickup-detail-page .order-detail button.reject {
  background: var(--color-danger);
}

.pickup-detail-page .order-detail button.accept:before {
  content: "\f00c";
  font-family: 'FontAwesome';
  padding-right: 5px;
  color: #fff;
  font-weight: 100;
}

.pickup-detail-page .package-detail p {
  font-size: 13px;
  line-height: 16px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.pickup-detail-page .complete-delete {
  text-align: center;
  margin-bottom: 10px;
}

.pickup-detail-page .complete-delete form {
  text-align: left;
}

.pickup-detail-page .complete-delete button {
  color: #fff;
  border: none;
  border-radius: 3px;
  margin-right: 5px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 5px;
  min-height: unset;
}

.pickup-detail-page .complete-delete button.accept {
  background: var(--color-success);
  padding: 10px 50px;
}

.pickup-detail-page .complete-delete button.reject {
  background: var(--color-danger);
  padding: 10px 20px;
}

.pickup-detail-page .scan-reject {
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.pickup-detail-page .button-scan {
  display: flex;
  justify-content: center;
}

.pickup-detail-page button.exception {
  padding: 0;
  font-size: 40px;
  line-height: 40px;
  background-color: transparent;
  border: 0;
  color: red;
  min-height: unset;
}

.pickup-detail-page .pickup-image .exception-outer {
  display: flex;
  justify-content: end;
}

.pickup-detail-page .scan-camera {
  margin-top: 10px;
  margin-bottom: 10px;
  background: #fff;
  padding: 40px;
  position: fixed;
  bottom: 5%;
  left: 5%;
  z-index: 3;
  right: 5%;
  top: 2%;
}

.pickup-detail-page .scan-camera .camera-div {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}


/* ============================================================
   UPLOAD & IMAGE
   ============================================================ */

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

#pickup-img-upload,
#id_proof_upload,
#delivery_image_upload {
  opacity: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  position: absolute;
  z-index: 10;
}

.delivery_image_wrapper svg {
  pointer-events: none;
}

.thumb-item .thumb-delete {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: red;
  border: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  padding: 0 1px 2px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: unset;
}

.exception-outer {
  display: flex;
  justify-content: end;
}


/* ============================================================
   DELIVERY PROOF / SIGNATURE
   ============================================================ */

.card.delivery-proof {
  display: flex;
  align-items: center;
}

.card.delivery-proof svg {
  color: var(--color-accent-hover);
  font-size: 35px;
  line-height: 35px;
  padding-left: 7px;
  vertical-align: middle;
}

.card .delivery-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  line-height: 20px;
  color: #fff;
  margin-bottom: 20px;
}

.card .delivery-proof h4 {
  padding-right: 10px;
  font-size: 20px;
  line-height: 20px;
  color: var(--color-accent-hover);
  margin-bottom: 0;
}

.card .signature_proof {
  padding: 0 0 15px;
}

.signature_proof h4 {
  margin-top: -30px;
}

.signature_proof h4,
.id_proof h4,
.delivery_image h4 {
  color: #fff;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 25px;
  font-weight: 500;
  padding: 0;
}

.signature_wrapper {
  position: relative;
  height: 70vh;
  width: 100%;
  user-select: none;
  border: 1px solid #e8e8e8;
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
}

.signature_pad {
  position: absolute;
  left: 0;
  top: 0;
  background-color: white;
  border-radius: var(--radius-lg);
}

.signature_wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.signature_preview {
  border-radius: 10px;
}

.signature_preview img {
  border-radius: var(--radius-sm);
}

.signature_wrapper_write:fullscreen,
.signature_wrapper_write:-webkit-full-screen {
  width: 100%;
  height: 100%;
}

.picture-wrapper-main {
  background-color: #27303e;
  padding: 10px;
  border: 1px solid #27303e;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
}

.capture-picture-wrapper {
  margin-bottom: 10px;
}

.capture-picture-output {
  margin-top: 15px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 30% 30% 30%;
  grid-gap: 10px;
}

.capture-picture-output img {
  border: 2px solid #fff;
}

.capture-picture-output span {
  font-size: 15px;
  line-height: 19px;
  font-weight: 600;
  color: #fff;
}

.delivery_image_thumbnail img {
  padding-top: 5px;
  max-width: 100%;
  margin-left: 10px;
  border: 3px solid #fff;
}

/* Cross / close icons */
.exception-form .cross-icon,
.scan-camera .cross-icon,
#my_photo_booth .cross-icon,
.signature_wrapper_write .cross-icon {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 30px;
  font-weight: 500;
  border-radius: 0 0 0 20px;
  padding: 0 15px 5px;
  background-color: var(--color-accent);
  color: #fff;
  z-index: 3;
  cursor: pointer;
}

.shipment-number,
.date {
  margin-top: 6px;
  font-size: 12px;
  text-align: left;
  letter-spacing: 0.2px;
}


/* ============================================================
   PHOTO BOOTH
   ============================================================ */

#my_photo_booth {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #000;
  z-index: 999999999999;
  padding-top: 120px;
}

#my_photo_booth .my-photo-inner {
  min-width: 340px;
  max-width: 350px;
  margin: auto;
  background-color: #FFF;
}

#my_photo_booth .camera-switch-button {
  position: absolute;
  right: -3px;
  top: -40px;
  z-index: 1;
}

#my_photo_booth input[type="button"] {
  border-radius: 25px;
  font-size: 20px;
  line-height: 50px;
  width: 100%;
  min-height: unset;
}

#my_photo_booth .camera-switch-button span {
  padding: 20px;
  border-radius: 10%;
  box-shadow: rgba(0, 0, 0, .25) 0 54px 55px, rgba(0, 0, 0, .12) 0 -12px 30px, rgba(0, 0, 0, .12) 0 4px 6px, rgba(0, 0, 0, .17) 0 12px 13px, rgba(0, 0, 0, .09) 0 -3px 5px;
  border: 1px solid #fff;
  height: 8px;
  width: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#my_photo_booth .camera-switch-button span svg {
  font-size: 20px;
}

#pre_take_buttons,
#post_take_buttons {
  background-color: #525a5fcc;
  padding: 20px 60px;
}

#post_take_buttons input {
  margin-bottom: 12px;
}

.reader video {
  width: 250px !important;
}


/* ============================================================
   SHIPMENT DETAIL
   ============================================================ */

.shipment-detail-div {
  display: grid;
  grid-template-columns: 50% 15% 15% 15%;
  padding: 5px 0;
  grid-gap: 10px;
}

.shipment-detail-div strong {
  display: block;
  font-size: 13px;
  line-height: 17px;
  font-weight: 700;
  margin-bottom: 5px;
}

.shipment-detail-div i {
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.shipment-detail-div p {
  background: #27303e;
  padding: 10px;
}


/* ============================================================
   TIMELINE
   ============================================================ */

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin-left: 20%;
  padding-top: 0;
  background: #fff;
}

.timeline ul li::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: inherit;
  transition: background .5s ease-in-out;
}

.timeline ul li.in-view::after {
  background: var(--color-accent);
}

.timeline ul li div {
  position: relative;
  bottom: 0;
  width: 400px;
  padding: 5px 15px;
  border-bottom: 1px solid #4e4b4b;
  visibility: hidden;
  opacity: 0;
  transition: all .5s ease-in-out;
}

.timeline ul li div:after {
  content: attr(data-item-status);
  position: absolute;
  top: 8px;
  right: 15px;
  display: block;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
}

.timeline ul li div::before {
  content: '';
  position: absolute;
  bottom: 7px;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ul li:nth-child(odd) div {
  left: 15px;
  transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(odd) div::before {
  left: -15px;
  border-width: 8px 16px 8px 0;
  border-color: transparent var(--color-accent) transparent transparent;
  display: none;
}

.timeline ul li:nth-child(even) div {
  left: -439px;
  transform: translate3d(-200px, 0, 0);
}

.timeline ul li:nth-child(even) div::before {
  right: -15px;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #F45B69;
}

.timeline ul li.in-view div {
  transform: none;
  visibility: visible;
  opacity: 1;
  background-color: transparent !important;
}

.timeline ul li.in-view div:hover {
  background-color: #1d2532 !important;
}

.timeline ul li.in-view div time:nth-child(1) {
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: #fff;
  text-align: left;
  width: 80%;
}

.timeline ul li.in-view div time:nth-child(2) {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  text-transform: capitalize;
  color: #8d8d8d;
  margin-bottom: 5px;
  text-align: left;
}

.timeline ul li.in-view div time:nth-child(3) {
  text-align: left;
}

time {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

/* Status data-attribute colors */
[data-item-status="completed"]::after {
  color: #4d9d4d;
}

[data-item-status="completed"] {
  background-color: #4d9d4d !important;
}

.timeline ul li[data-item-status="completed"]::after {
  background-color: green !important;
  display: none;
}

[data-item-status="dispatched"] {
  background-color: #ff5900 !important;
}

[data-item-status="dispatched"]:after {
  color: #ff5900;
}

.timeline ul li[data-item-status="dispatched"]::after {
  background-color: #ff5900 !important;
  display: none;
}


/* ============================================================
   LABELS & TAGS
   ============================================================ */

.agent-label {
  color: #3771f4;
}

.pickup-label {
  color: var(--color-badge-orange);
}

.dropoff-label {
  color: #0b730f;
}

.title {
  background: #ffe8d4;
  border: 1px solid var(--color-badge-orange);
  border-radius: 30px;
  color: var(--color-badge-orange);
  padding: 3px 9px;
}

.title.agent {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 3px 0;
}


/* ============================================================
   GOOGLE MAPS
   ============================================================ */

.gm-style .gm-style-iw-c {
  width: 80vw;
  margin-inline: auto;
  position: fixed;
  min-height: 140px;
  bottom: 30px;
  background: rgb(15, 22, 36);
  border: 1px solid rgb(246, 140, 30);
  border-radius: var(--radius-md);
  max-height: 339px;
}

.gm-style .gm-style-iw-c .gm-style-iw-d {
  max-height: unset;
  overflow: auto;
  background: rgb(15, 22, 36);
}

.gm-style .gm-style-iw-tc::after {
  content: unset;
}

.gm-ui-hover-effect>span {
  background-color: rgb(246, 140, 30);
}

button.gm-ui-hover-effect {
  z-index: 1;
  outline: none;
}

.loc-info {
  min-height: 136px;
  background: rgb(15, 22, 36);
  overflow: auto;
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  padding: 10px 0;
  text-align: left;
}


/* ============================================================
   POD SLOT BADGES (shared structure)
   ============================================================ */

.pod-slot__badge.required,
.delivered-form div.signature-badge {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: #ff8f8f;
}

.pod-slot__badge.optional {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #b8c0cc;
}


/* ============================================================
   ANIMATIONS
   ============================================================ */

.blink {
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* ============================================================
   MEDIA QUERIES
   ============================================================ */

@media screen and (max-width: 900px) {
  .profile-aside {
    grid-template-columns: 41% 50%;
  }

  .timeline ul li div {
    width: 350px;
  }

  .timeline ul li:nth-child(even) div {
    left: -289px;
  }

  .new-menu aside {
    width: 75%;
  }

  #stats .delivery-week-month {
    grid-template-columns: 100%;
    grid-gap: 0;
  }

  .itinerary-page button.map-btn {
    position: initial;
    margin-top: 10px;
  }
}

@media only screen and (max-width: 768px) {
  .shipment-detail-div {
    grid-template-columns: 72% 25%;
  }

  .forgot-password-page .message {
    padding: 25px 15px;
    left: 10%;
    right: 10%;
    bottom: auto;
    font-size: 20px;
    line-height: 25px;
  }

  .exception-form.display-none {
    left: 3%;
    right: 3%;
    top: 8%;
    bottom: 5%;
  }

  dashboard-main {
    display: block;
    padding-top: 10%;
    margin-bottom: 5px;
  }

  .dashboard-box {
    padding: 0 20px;
  }

  .date-dashboard {
    display: block;
    padding: 0 20px;
  }
}

@media screen and (max-width: 600px) {
  .timeline ul li {
    margin-left: 10px;
  }

  .timeline ul li div {
    width: calc(90vw - 30px);
  }

  .timeline ul li:nth-child(even) div {
    left: 45px;
  }

  .timeline ul li:nth-child(even) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #F45B69 transparent transparent;
  }
}