/* ============================================================
   LANDMAIN.CSS — GetAround Assets Platform
   Utilities, Components & Animations
   Light Theme | Refined & Premium
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Spin‑button hide ─────────────────────────────────────── */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number]               { -moz-appearance: textfield; }

/* ── Animated Success Checkmark ───────────────────────────── */
.checkmark-green {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #2e7d32;
  stroke-miterlimit: 10;
  margin: 5% auto;
  box-shadow: inset 0 0 0 #2e7d32;
  animation: ck-fill .4s ease-in-out .4s forwards,
             ck-scale .3s ease-in-out .9s both;
}
.checkmark-green__circle {
  stroke-dasharray: 166; stroke-dashoffset: 166;
  stroke-width: 2; stroke-miterlimit: 10;
  stroke: #2e7d32; fill: none;
  animation: stroke .6s cubic-bezier(.65,0,.45,1) forwards;
}
.checkmark-green__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: stroke .3s cubic-bezier(.65,0,.45,1) .8s forwards;
}
@keyframes stroke  { 100% { stroke-dashoffset: 0; } }
@keyframes ck-scale { 0%,100%{ transform: none } 50%{ transform: scale3d(1.1,1.1,1) } }
@keyframes ck-fill  { 100% { box-shadow: inset 0 0 0 30px transparent } }

/* ── Vertical Step Progress ───────────────────────────────── */
.stepProgressWrapper { font-family: 'DM Sans', sans-serif; font-size: 14px; }

.StepProgress {
  position: relative;
  padding-left: 48px;
  list-style: none;
}
.StepProgress::before {
  content: '';
  position: absolute;
  top: 0; left: 16px;
  width: 2px; height: 100%;
  background: #d4c9a8;
}
.StepProgress-item { position: relative; }
.StepProgress-item:not(:last-child) { padding-bottom: 22px; }
.StepProgress-item::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 2px; left: -38px;
  width: 16px; height: 16px;
  border: 2px solid #c9973a;
  border-radius: 50%;
  background: #c9973a;
}
.StepProgress strong { display: block; font-weight: 500; color: #2d2d2d; }

/* ── Horizontal Step Progress Bar ─────────────────────────── */
.stepper-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}
.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  font-size: 13px;
  color: #888;
  font-family: 'DM Sans', sans-serif;
}
.stepper-item::before,
.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #e0d8c8;
  width: 100%; top: 13px; z-index: 2;
}
.stepper-item::before { left: -50%; }
.stepper-item::after  { left: 50%;  }
.stepper-item:first-child::before,
.stepper-item:last-child::after { content: none; }

.stepper-item .step-counter {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #e0d8c8;
  font-size: 12px; font-weight: 600;
  margin-bottom: 8px;
  color: #777;
  transition: all .3s;
}
.stepper-item.active .step-counter {
  background: #c9973a; color: #fff;
  box-shadow: 0 0 0 4px rgba(201,151,58,.18);
}
.stepper-item.completed .step-counter {
  background: #2e7d32; color: #fff;
}
.stepper-item.completed::after {
  border-bottom: 2px solid #2e7d32; z-index: 3;
}

/* ── Scroll Menu ──────────────────────────────────────────── */
.scrollmenu {
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.scrollmenu::-webkit-scrollbar { display: none; }
.scrollmenu .s-m-item {
  display: inline-block;
  margin-left: 6px;
}

/* ── Rotation Animations ──────────────────────────────────── */
@keyframes spin-fast { to { transform: rotate(360deg); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.fast-rotate { animation: spin-fast 1.5s linear infinite; }
.slow-rotate { animation: spin-slow 60s  linear infinite; }

/* ── Float Animation ──────────────────────────────────────── */
@keyframes floating {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(18px); }
  100% { transform: translateY(0); }
}
.floating-object {
  animation: floating 7s ease-in-out infinite;
}

/* ── Flip Animations ──────────────────────────────────────── */
@keyframes flipX { from { transform: rotateX(180deg); } to { transform: rotateX(-180deg); } }
@keyframes flipY { from { transform: rotateY(180deg); } to { transform: rotateY(-180deg); } }
.flipper-objectX { animation: flipX 5s linear infinite; }
.flipper-objectY { animation: flipY 5s linear infinite; }

/* ── Cool Underline Link ──────────────────────────────────── */
.cool-link::after {
  content: '';
  display: block;
  width: 0; height: 2px;
  background: #c9973a;
  transition: width .3s;
}
.cool-link:hover::after { width: 100%; }

/* ── Scroll‑to‑Top Button ─────────────────────────────────── */
.scroll-top-btn {
  position: fixed;
  bottom: 18px; left: 18px;
  z-index: 999;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #c9973a;
  border: 2px solid #fff;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(201,151,58,.4);
  cursor: pointer;
  transition: transform .2s;
}
.scroll-top-btn:hover { transform: translateY(-3px); }

/* ── Selection & Focus Utilities ──────────────────────────── */
.selected {
  border: 2px solid #c9973a;
  border-radius: 10px;
}
.active-package {
  border: 2px solid #c9973a !important;
  box-shadow: 0 0 0 4px rgba(201,151,58,.15);
}
.border-none { border: none !important; }

/* ── Site Loader Icon ─────────────────────────────────────── */
.site-loader-icon {
  background: linear-gradient(135deg, #c9973a, #e8b84b);
  text-align: center;
  width: fit-content;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(201,151,58,.35);
}
.site-loader-icon-inner { height: 30px; width: 30px; margin: auto; }

/* ── Round Progress ───────────────────────────────────────── */
.round-progress {
  width: 54px; height: 54px;
  font-size: 12px; font-weight: 600;
  color: #2d2d2d;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: #f5f0e8;
  text-align: center;
  line-height: 54px;
  margin: 10px;
}
.round-progress::after { content: "%"; }
.round-progress .title  { position: relative; z-index: 100; }
.round-progress .overlay {
  width: 50%; height: 100%;
  position: absolute; top: 0; left: 0;
  z-index: 1; background: #f5f0e8;
}
.round-progress .left,
.round-progress .right {
  width: 50%; height: 100%;
  position: absolute; top: 0; left: 0;
  border: 3px solid #c9973a;
  border-radius: 100px 0 0 100px;
  border-right: 0;
  transform-origin: right;
}
.round-progress .left { animation: load1 1s linear forwards; }
.round-progress:nth-of-type(2) .right,
.round-progress:nth-of-type(3) .right { animation: load2 .5s linear forwards 1s; }
.round-progress:last-of-type  .right,
.round-progress:first-of-type .right  { animation: load3 .8s linear forwards 1s; }
@keyframes load1 { 0%{ transform: rotate(0deg) } 100%{ transform: rotate(180deg) } }
@keyframes load2 { 0%{ z-index:100; transform: rotate(180deg) } 100%{ z-index:100; transform: rotate(270deg) } }
@keyframes load3 { 0%{ z-index:100; transform: rotate(180deg) } 100%{ z-index:100; transform: rotate(315deg) } }

/* ── Verification Code Input ──────────────────────────────── */
.number-code > div { display: flex; }
.number-code > div > input:not(:last-child) { margin-right: 8px; }

input.code-input {
  font-size: 20px; font-weight: 600;
  width: 1px;
  text-align: center;
  flex: 1 0 1em;
  border-radius: 8px;
  background: #fff;
  border: 1.5px solid #d4c9a8;
  color: #2d2d2d;
  box-shadow: none;
  transition: border-color .2s;
}
input.code-input:focus {
  border-color: #c9973a !important;
  box-shadow: 0 0 0 3px rgba(201,151,58,.15) !important;
  outline: none !important;
}

/* ── Language Selector ────────────────────────────────────── */
#langMobile {
  background: #fff;
  position: fixed;
  right: 14px; top: 60px;
  border-radius: 8px;
  border: 1px solid #e8e0d0;
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  display: none;
  z-index: 8;
  padding: 6px 0;
  min-width: 130px;
}

/* ── Ripple Loader ────────────────────────────────────────── */
.lds-ripple { display: inline-block; position: relative; width: 80px; height: 80px; }
.lds-ripple div {
  position: absolute;
  border: 4px solid #c9973a;
  opacity: 1; border-radius: 50%;
  animation: lds-ripple 1.2s cubic-bezier(0,.2,.8,1) infinite;
}
.lds-ripple div:nth-child(2) { animation-delay: -.6s; }
@keyframes lds-ripple {
  0%   { top:36px; left:36px; width:0;    height:0;    opacity:0; }
  4.9% { top:36px; left:36px; width:0;    height:0;    opacity:0; }
  5%   { top:36px; left:36px; width:0;    height:0;    opacity:1; }
  100% { top:0;    left:0;    width:72px; height:72px; opacity:0; }
}

/* ── Double Icon Decorative ───────────────────────────────── */
.double-icon   { position:relative; z-index:1; font-size:20px; color:#c9973a; opacity:.18; }
.double-icon-2 { position:relative; z-index:1; font-size:20px; color:#c9973a; opacity:.18; top:12px; right:10px; }
.set-top       { z-index:2; position:relative; }

/* ── Border Radius Helpers ────────────────────────────────── */
.add-radius   { border-radius: 6px; }
.add-radius-2 { border-radius: 12px; }
.curve-top    { border-radius: 12px 12px 0 0; }
.round-icon   { border-radius: 50%; }
.fit-content  { width: fit-content; }

/* ── Card Utilities ───────────────────────────────────────── */
.post-box-alt {
  border: none;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .25s;
}
.post-box-alt:hover { box-shadow: 0 6px 24px rgba(0,0,0,.10); }

/* ── Vertical Carousel ────────────────────────────────────── */
.vert .carousel-item-next.carousel-item-left,
.vert .carousel-item-prev.carousel-item-right { transform: translate3d(0,0,0); }
.vert .carousel-item-next,
.vert .active.carousel-item-right             { transform: translate3d(0,100%,0); }
.vert .carousel-item-prev,
.vert .active.carousel-item-left              { transform: translate3d(0,-100%,0); }

/* ── User Guide Panel ─────────────────────────────────────── */
@media (min-width: 769px) {
  .active-package { border: 3px solid #c9973a !important; }
  .user-guide-div-lg {
    position: fixed;
    height: 100%; width: 480px;
    right: 0; z-index: 99;
    overflow-y: auto; overflow-x: hidden;
    display: none;
    background: #fff;
    box-shadow: -8px 0 32px rgba(0,0,0,.08);
  }
}
@media (max-width: 768px) {
  .user-guide-div {
    position: fixed;
    height: 80%; width: 100%;
    bottom: 0; left: 0;
    z-index: 9;
    overflow-y: auto; overflow-x: hidden;
    display: none;
    border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow: 0 -8px 32px rgba(0,0,0,.10);
  }
}

/* ── Pulse Animation (for live earnings dots) ─────────────── */
@keyframes pulse-ring {
  0%   { transform: scale(.9); box-shadow: 0 0 0 0 rgba(201,151,58,.5); }
  70%  { transform: scale(1);  box-shadow: 0 0 0 10px rgba(201,151,58,0); }
  100% { transform: scale(.9); box-shadow: 0 0 0 0 rgba(201,151,58,0); }
}
.pulse { animation: pulse-ring 2s ease-out infinite; }

/* ── Shimmer Skeleton Loader ──────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -800px 0; }
  100% { background-position:  800px 0; }
}
.skeleton {
  border-radius: 8px;
  background: linear-gradient(90deg, #f0ebe0 25%, #e8e0cc 50%, #f0ebe0 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
}

/* ── Earnings Badge ───────────────────────────────────────── */
.earnings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #2e7d32;
  border-radius: 30px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #a5d6a7;
}
.earnings-badge.negative {
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
  color: #c62828;
  border-color: #ef9a9a;
}

/* ── Tooltip ──────────────────────────────────────────────── */
[data-tooltip] { position: relative; cursor: help; }
[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(.9);
  background: #2d2d2d;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 999;
}
[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* ── Content Area (verification flow) ────────────────────── */
.content-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fdfaf4;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e8e0d0;
  max-width: 100%;
}
.content-area p { color: #888; font-size: .85em; }