/* ============================================================
   Vara subscription order flow
   ============================================================ */

.oli-subscribe{
  padding: 130px 0 90px;
  min-height: 60vh;
  background: var(--color-4);
}
.oli-subscribe__inner{
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}
.oli-subscribe__head{
  margin-bottom: 36px;
  text-align: center;
}
.oli-subscribe__head h1{
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--color-1);
}
.oli-subscribe__head p{
  margin: 0;
  color: #5b6b7c;
  font-size: 15px;
  line-height: 1.8;
}
.oli-subscribe__steps{
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.oli-subscribe__step{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #5b6b7c;
  background: #fff;
  border: 1px solid rgba(0,53,102,0.08);
}
.oli-subscribe__step--active{
  color: var(--color-1);
  border-color: rgba(255,195,0,0.45);
  background: rgba(255,195,0,0.12);
}
.oli-subscribe__step--done{
  color: var(--color-success);
  border-color: rgba(40,167,69,0.2);
  background: rgba(40,167,69,0.08);
}

/* ---------- Buttons (light background) ---------- */
.oli-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease, border-color 260ms ease;
}
.oli-btn--primary{
  color: var(--color-3);
  background: linear-gradient(135deg, var(--color-2), var(--color-accent-light));
  box-shadow: 0 12px 30px rgba(255, 195, 0, 0.28);
}
.oli-btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 195, 0, 0.38);
}
.oli-btn--secondary{
  color: var(--color-1);
  background: #fff;
  border-color: rgba(0, 53, 102, 0.14);
}
.oli-btn--secondary:hover{
  background: rgba(0, 53, 102, 0.04);
  transform: translateY(-2px);
}
.oli-btn--block{
  width: 100%;
}
.oli-form-card--gateway{
  margin-bottom: 20px;
}
.oli-divider{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: rgba(0, 53, 102, 0.45);
  font-size: 14px;
}
.oli-divider::before,
.oli-divider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0, 53, 102, 0.12);
}

.oli-plans-section{
  margin-bottom: 28px;
}
.oli-plans-section__head{
  text-align: center;
  margin-bottom: 20px;
}
.oli-plans-section__head h2{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-1);
}
.oli-plans-section__head p{
  margin: 0;
  font-size: 14px;
  color: #5b6b7c;
}

.oli-plans{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.oli-plan{
  position: relative;
  min-width: 0;
}
.oli-plan__input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.oli-plan__card{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 190px;
  height: 100%;
  padding: 28px 18px 22px;
  border-radius: 20px;
  background: #fff;
  border: 2px solid rgba(0,53,102,0.1);
  box-shadow: 0 4px 18px rgba(0,53,102,0.05);
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.oli-plan__card:hover{
  border-color: rgba(255,195,0,0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,53,102,0.1);
}
.oli-plan__input:checked + .oli-plan__card,
.oli-plan__input:focus-visible + .oli-plan__card{
  border-color: var(--color-2);
  background: linear-gradient(180deg, rgba(255,195,0,0.12), #fff 50%);
  box-shadow: 0 16px 40px rgba(255,195,0,0.18);
}
.oli-plan__input:checked + .oli-plan__card .oli-plan__check{
  opacity: 1;
  transform: scale(1);
}
.oli-plan__badge{
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-3);
  background: linear-gradient(135deg, var(--color-2), var(--color-accent-light));
}
.oli-plan__check{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-3);
  background: linear-gradient(135deg, var(--color-2), var(--color-accent-light));
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 180ms ease, transform 180ms ease;
}
.oli-plan__title{
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--color-1);
  margin-top: 8px;
}
.oli-plan__price{
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: var(--color-1);
  line-height: 1.3;
  margin: 4px 0;
}
.oli-plan__price span[dir="ltr"]{
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  unicode-bidi: isolate;
}
.oli-plan__price small{
  font-size: 13px;
  font-weight: 700;
  color: #5b6b7c;
}
.oli-plan__meta{
  display: block;
  font-size: 13px;
  color: #5b6b7c;
  line-height: 1.75;
  max-width: 220px;
  margin-top: auto;
  padding-top: 6px;
}
.oli-plan--featured .oli-plan__card{
  border-color: rgba(255,195,0,0.35);
}

.oli-form-card{
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0,53,102,0.08);
  box-shadow: 0 4px 18px rgba(0,53,102,0.05);
  margin-bottom: 22px;
}
.oli-form-card h2{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-1);
}
.oli-form-card p{
  margin: 0 0 18px;
  font-size: 13.5px;
  color: #5b6b7c;
  line-height: 1.75;
}
.oli-form-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.oli-form-group{
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.oli-form-group--full{
  grid-column: 1 / -1;
}
.oli-form-label{
  font-size: 13px;
  font-weight: 600;
  color: var(--color-1);
}
.oli-form-control{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,53,102,0.12);
  font: inherit;
  color: var(--color-text);
  background: #fff;
  box-sizing: border-box;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.oli-form-control:focus{
  outline: none;
  border-color: rgba(255,195,0,0.75);
  box-shadow: 0 0 0 3px rgba(255,195,0,0.18);
}
.oli-form-tip{
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0,53,102,0.04);
  border: 1px solid rgba(0,53,102,0.08);
  font-size: 13px;
  line-height: 1.7;
  color: #5b6b7c;
  margin-bottom: 16px;
}

.oli-summary{
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0,53,102,0.08);
  box-shadow: 0 4px 18px rgba(0,53,102,0.05);
  margin-bottom: 22px;
}
.oli-summary__row{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0,53,102,0.1);
  font-size: 14px;
}
.oli-summary__row:last-child{
  border-bottom: none;
  font-weight: 800;
  font-size: 16px;
  padding-top: 14px;
}
.oli-summary__label{
  color: #5b6b7c;
  flex-shrink: 0;
}
.oli-summary__value{
  color: var(--color-1);
  text-align: left;
  word-break: break-word;
}

.oli-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.oli-actions form{
  margin: 0;
}
.oli-actions--center{
  justify-content: center;
}
.oli-alert{
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 14px;
}
.oli-alert--danger{
  background: rgba(220,53,69,0.08);
  color: var(--color-error);
  border: 1px solid rgba(220,53,69,0.15);
}
.oli-alert--danger ul{
  margin: 0;
  padding-right: 1.2rem;
}
.oli-alert--success{
  background: rgba(40,167,69,0.08);
  color: var(--color-success);
  border: 1px solid rgba(40,167,69,0.15);
}

.oli-success{
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0,53,102,0.08);
  box-shadow: 0 16px 40px rgba(0,53,102,0.08);
}
.oli-success__icon{
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40,167,69,0.12);
  color: var(--color-success);
  font-size: 28px;
}
.oli-success h1{
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--color-1);
}
.oli-success p{
  margin: 0 0 20px;
  color: #5b6b7c;
  line-height: 1.8;
}

.oli-bank-card{
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--color-1), #002244);
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 18px 44px rgba(0, 29, 61, 0.22);
}
.oli-bank-card__head{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.oli-bank-card__icon{
  font-size: 28px;
  line-height: 1;
}
.oli-bank-card__head strong{
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.oli-bank-card__head p{
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}
.oli-bank-card__rows{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.oli-bank-card__row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}
.oli-bank-card__row span{
  color: rgba(255,255,255,0.65);
  flex-shrink: 0;
}
.oli-bank-card__row strong{
  text-align: left;
  word-break: break-word;
}
.oli-bank-card__row--card{
  align-items: flex-start;
}
.oli-bank-card__card-num{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.oli-bank-card__card-num strong{
  font-size: 18px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.oli-bank-card__copy{
  border: 1px solid rgba(255,195,0,0.45);
  background: rgba(255,195,0,0.12);
  color: var(--color-2);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.oli-bank-card__copy:hover{
  background: rgba(255,195,0,0.22);
}
.oli-pay-form{
  margin-top: 4px;
}
.oli-receipt{
  margin-top: 4px;
}
.oli-receipt__label{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-1);
  margin-bottom: 8px;
}
.oli-receipt__dropzone{
  display: block;
  padding: 28px 20px;
  border-radius: 16px;
  border: 2px dashed rgba(0,53,102,0.16);
  background: rgba(0,53,102,0.02);
  text-align: center;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}
.oli-receipt__dropzone:hover,
.oli-receipt__dropzone.is-dragover{
  border-color: rgba(255,195,0,0.55);
  background: rgba(255,195,0,0.06);
}
.oli-receipt__icon{
  font-size: 28px;
  margin-bottom: 8px;
}
.oli-receipt__text{
  font-size: 14px;
  font-weight: 700;
  color: var(--color-1);
}
.oli-receipt__hint{
  font-size: 12px;
  color: #5b6b7c;
  margin-top: 6px;
}
.oli-receipt__input{
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}
.oli-receipt__error{
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--color-error);
}
.oli-receipt__preview{
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0,53,102,0.04);
  text-align: center;
}
.oli-receipt__preview img{
  max-width: 100%;
  max-height: 220px;
  border-radius: 10px;
  object-fit: contain;
}
.oli-receipt__preview span{
  font-size: 13px;
  color: var(--color-1);
}

.oli-credentials{
  margin-top: 24px;
  text-align: right;
}
.oli-credentials__title{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-1);
}
.oli-credentials__note{
  margin: 0 0 16px;
  font-size: 13px;
  color: #5b6b7c;
  line-height: 1.7;
}
.oli-credentials__box{
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(0,53,102,0.04);
  border: 1px solid rgba(0,53,102,0.1);
  margin-bottom: 12px;
}
.oli-credentials__box h3{
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-1);
}
.oli-credentials__row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0,53,102,0.1);
  font-size: 14px;
}
.oli-credentials__row:last-of-type{
  border-bottom: none;
  margin-bottom: 8px;
}
.oli-credentials__row span{
  color: #5b6b7c;
  flex-shrink: 0;
}
.oli-credentials__row strong{
  color: var(--color-1);
  text-align: left;
  word-break: break-all;
}
.oli-credentials__link{
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-1);
  text-decoration: none;
}
.oli-credentials__link:hover{
  color: var(--color-2);
}

@media screen and (max-width: 900px) {
  .oli-plans{ grid-template-columns: 1fr; }
  .oli-plan__card{ min-height: 0; padding: 22px 18px; }
  .oli-plan__meta{ max-width: none; }
  .oli-form-grid{ grid-template-columns: 1fr; }
}
@media screen and (max-width: 768px) {
  .oli-subscribe{ padding-top: 110px; padding-bottom: 70px; }
  .oli-form-card{ padding: 22px 18px; }
  .oli-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .oli-actions .oli-btn,
  .oli-actions form .oli-btn{
    width: 100%;
  }
  .oli-summary__row{
    flex-direction: column;
    gap: 4px;
  }
  .oli-summary__value{
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oli-btn, .oli-plan__card{ transition: none; }
}

.varnest-footer__copyright .wfp-footer__back{
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: color 200ms ease;
}
.varnest-footer__copyright .wfp-footer__back:hover{
  color: var(--color-2);
}
