:root{
  --blue:#1e5eff;
  --blue2:#153fb8;
  --mint:#5eead4;
  --mint2:#c7f9ee;
  --ink:#0b1220;
  --muted:#6b7280;
  --card:#ffffff;
  --bg1:#f6fbff;
  --bs-body-font-size:0.95rem;
  --bs-border-radius:0.6rem;
  --bs-border-radius-lg:0.8rem;
}

html{
  font-size: 15px;
}

body{
  background: radial-gradient(1200px 500px at 20% 0%, var(--mint2), transparent 60%),
              radial-gradient(1000px 600px at 80% 10%, rgba(30,94,255,.18), transparent 60%),
              var(--bg1);
  color: var(--ink);
}

.card{
  --bs-card-spacer-y: .9rem;
  --bs-card-spacer-x: 1rem;
}

.btn{
  --bs-btn-padding-y: .4rem;
  --bs-btn-padding-x: .8rem;
  --bs-btn-font-size: .92rem;
}

.btn-lg{
  --bs-btn-padding-y: .55rem;
  --bs-btn-padding-x: 1rem;
  --bs-btn-font-size: .98rem;
}

.form-control,
.form-select{
  font-size: .95rem;
  padding: .45rem .7rem;
}

.topbar{
  /*background: linear-gradient(90deg, var(--blue), var(--blue2));*/
  background: linear-gradient(90deg, var(--white), var(--blue2));
/*   color: white; */
color:var(--blue2);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.topbar .btn{
  font-weight: 600;
  border-radius: 999px;
  padding-inline: 14px;
}

.topbar .btn-outline-light{
  color: var(--blue2);
  border-color: rgba(21,63,184,.7);
  background: rgba(255,255,255,.9);
  box-shadow: 0 6px 14px rgba(15,23,42,.15);
}

.topbar .btn-outline-light:hover,
.topbar .btn-outline-light:focus-visible{
  color: #fff;
  background: var(--blue2);
  border-color: var(--blue2);
}

.topbar .btn-light{
  color: var(--blue2);
  border: 1px solid rgba(21,63,184,.2);
  box-shadow: 0 6px 14px rgba(15,23,42,.12);
}

.topbar .btn-light:hover,
.topbar .btn-light:focus-visible{
  color: #fff;
  background: var(--blue2);
  border-color: var(--blue2);
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
}

.brand-logo{
/*   background: linear-gradient(90deg, var(--bg1), var(--bg1)); */
  width:236px;
  height:82px;
  object-fit:contain;
}

.brand-dot{
  width:14px;
  height:14px;
  border-radius:50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(94,234,212,.25);
}

.brand-title{
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.05;
}

.brand-sub{
  font-size: .85rem;
  opacity: .9;
}

@media (max-width: 576px){
  .brand{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .brand-dot{
    display: none;
  }
}

.soft-card{
  border: 0;
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 40px rgba(2,6,23,.10);
  backdrop-filter: blur(6px);
}

.tab-shell{
  overflow: hidden;
}

.tab-shell__tabs{
  border-bottom: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.5);
}

.tab-shell__tabs .nav-link{
  border: 1px solid transparent;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.tab-shell__tabs .nav-link.active{
  background: rgba(255,255,255,.92);
  border-color: rgba(15,23,42,.12) rgba(15,23,42,.12) rgba(255,255,255,.92);
}

.tab-shell__content{
  background: rgba(255,255,255,.92);
}

.btn-primary{
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(30,94,255,.25);
}

.btn-outline-primary{
  border-radius: 10px;
}

.form-control, .form-control-lg{
  border-radius: 12px;
  border: 1px solid rgba(2,6,23,.08);
}

.pill{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius: 12px;
  background: rgba(94,234,212,.14);
  border: 1px solid rgba(94,234,212,.35);
}

.pill-label{
  font-size:.8rem;
  color: var(--muted);
  margin-right:8px;
}

.pill-value{
  font-weight:700;
}

.stat-label{
  color: var(--muted);
  font-size:.85rem;
}
.stat-value{
  font-size:1.6rem;
  font-weight:800;
}

.footer-card{
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(2,6,23,.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.flash-stack{
  overflow: hidden;
}

.flash-auto-dismiss{
  overflow: hidden;
  transition:
    opacity .35s ease,
    transform .35s ease,
    height .35s ease,
    margin .35s ease,
    padding .35s ease;
  will-change: opacity, transform, height, margin, padding;
}

.flash-auto-dismiss.is-dismissing{
  opacity: 0;
  transform: translateY(-6px);
}

.page-blur{
  transition: filter .2s ease;
}

body.modal-open .page-blur{
  filter: blur(4px);
}

.account-card{
  border-radius: 16px;
  background: rgba(255,255,255,.95);
}

.account-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 24px;
}

.account-modal.is-open{
  display: flex;
}

.account-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(6,15,36,.45);
  backdrop-filter: blur(6px);
}

.account-modal__dialog{
  position: relative;
  z-index: 1;
  width: min(900px, 96vw);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15,23,42,.35);
  padding: 24px;
  outline: none;
}

.account-modal__header{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.account-panel{
  padding: 16px;
  border-radius: 14px;
  background: rgba(94,234,212,.12);
  border: 1px solid rgba(94,234,212,.35);
}

.account-timeline{
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  border-left: 2px solid rgba(148,163,184,.5);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 12px;
}

.account-timeline li{
  position: relative;
  display: flex;
  gap: 12px;
}

.account-timeline .timeline-marker{
  position: absolute;
  left: -11px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(30,94,255,.15);
}

.account-timeline .timeline-content{
  padding-left: 8px;
}

.account-tabs{
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148,163,184,.28);
}

.account-tab{
  border: 1px solid rgba(30,94,255,.18);
  background: #fff;
  color: var(--blue);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .92rem;
  font-weight: 600;
  transition: all .18s ease;
}

.account-tab.is-active{
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(30,94,255,.18);
}

.account-tab-panel{
  display: none;
}

.account-tab-panel.is-active{
  display: block;
}

.delivery-history-table th,
.delivery-history-table td{
  vertical-align: middle;
}
