.idrive-consent {
  position: fixed;
  z-index: 2147483000;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(7, 26, 29, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  color: #f6fbf8;
  font: 500 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: blur(18px);
}

.idrive-consent__copy {
  display: grid;
  gap: 3px;
}

.idrive-consent__copy strong {
  color: #fff;
  font-size: 15px;
}

.idrive-consent__copy span {
  color: #c7d8d2;
}

.idrive-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.idrive-consent button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.idrive-consent__essential {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}

.idrive-consent__analytics {
  border: 1px solid rgba(142, 224, 0, 0.55);
  background: rgba(142, 224, 0, 0.12);
  color: #f6fbf8;
}

.idrive-consent__accept {
  border: 1px solid #8ee000;
  background: #8ee000;
  color: #092023;
}

.idrive-consent button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .idrive-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
  }

  .idrive-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .idrive-consent__accept {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .idrive-consent__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idrive-consent {
    backdrop-filter: none;
  }
}


/* PTPK-BRAND-CTA 16 Oct 2026: Pakistan Taxi navy/amber, equal-prominence choices, compact bottom bar on phones
 * (was 27-44% of the first screen). Both choices share one style so neither is nudged. */
.idrive-consent {
  background: rgba(16, 44, 60, 0.98);
  border-color: rgba(255, 255, 255, 0.18);
}
.idrive-consent__copy span { color: #d4dde2; }
.idrive-consent__essential,
.idrive-consent__analytics {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.idrive-consent__accept {
  border: 1px solid #ffbd42;
  background: #ffbd42;
  color: #071e2c;
}
.idrive-consent__more {
  color: #fff;
  text-decoration: underline;
  white-space: nowrap;
}
.idrive-consent button:focus-visible,
.idrive-consent__more:focus-visible {
  outline: 3px solid #ffbd42;
  outline-offset: 2px;
}
@media (max-width: 700px) {
  .idrive-consent {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.45;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
  }
  .idrive-consent__copy { display: block; }
  .idrive-consent__copy strong { display: inline; font-size: 13px; margin-right: 0.3em; }
  .idrive-consent__copy strong::after { content: "."; }
  .idrive-consent__copy span { display: inline; }
  .idrive-consent__actions,
  .idrive-consent__actions:has(> button[hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .idrive-consent__accept { grid-column: auto; }
  .idrive-consent__actions:not(:has(> button[hidden])) .idrive-consent__accept { grid-column: 1 / -1; }
  .idrive-consent button { min-height: 44px; padding: 0 10px; font-size: 13px; }
}
