/* ============================================================
   Tools — flight widget · insurance · currency converter · weather · schengen calendar
============================================================ */

/* ============================================================
   FLIGHT WIDGET
============================================================ */
    #flight-widget {
      background: #fff
    }

.fw-wrap {
      background: var(--gray-50);
      border: 1.5px solid var(--gray-150);
      border-radius: var(--r-xl);
      padding: 48px;
      position: relative;
      overflow: hidden;
    }

.fw-wrap::before {
      content: '';
      position: absolute;
      top: -60px;
      right: -60px;
      width: 280px;
      height: 280px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
    }

.fw-title {
      margin-bottom: 6px;
      color: var(--gray-900)
    }

.fw-sub {
      color: var(--gray-500);
      font-size: 15px;
      margin-bottom: 36px
    }

.fw-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 148px 148px 156px;
      gap: 14px;
      align-items: end
    }

.fg2 label {
      font-size: 11px;
      font-weight: 700;
      color: var(--blue);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 6px;
      display: block;
      font-family: 'Sora', sans-serif
    }

.fi2 {
      background: #fff;
      border: 1.5px solid var(--gray-200);
      border-radius: var(--r-sm);
      padding: 13px 16px;
      font-family: 'Instrument Sans', sans-serif;
      font-size: 15px;
      color: var(--gray-900);
      outline: none;
      transition: border-color var(--t);
      width: 100%;
    }

.fi2:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08)
    }

.fi2::placeholder {
      color: var(--gray-400)
    }

.fw-go {
      background: var(--blue);
      color: #fff;
      border: none;
      border-radius: var(--r-sm);
      padding: 14px 20px;
      font-family: 'Sora', sans-serif;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: var(--t);
      display: flex;
      align-items: center;
      gap: 8px;
    }

.fw-go:hover {
      background: var(--blue-deep);
      transform: translateY(-2px);
      box-shadow: var(--shadow-blue)
    }

/* ============================================================
   INSURANCE
============================================================ */
    #insurance {
      background: var(--gray-50)
    }

.ins-hero {
      background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
      border-radius: var(--r-xl);
      padding: 56px;
      display: grid;
      grid-template-columns: 1fr 400px;
      gap: 80px;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

.ins-hero::after {
      content: '';
      position: absolute;
      right: -80px;
      top: 50%;
      transform: translateY(-50%);
      width: 320px;
      height: 320px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    }

.ins-title {
      font-size: clamp(28px, 3.5vw, 42px);
      margin-bottom: 12px;
      color: #fff
    }

.ins-desc {
      color: rgba(255, 255, 255, 0.65);
      font-size: 16px;
      line-height: 1.75;
      margin-bottom: 28px
    }

.ins-feats {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 28px
    }

.ifeat {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      color: rgba(255, 255, 255, 0.7)
    }

.ifeat-check {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(5, 150, 105, 0.2);
      border: 1px solid rgba(5, 150, 105, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #10B981;
      font-size: 11px;
      flex-shrink: 0;
    }

.ins-form {
      background: #fff;
      border-radius: var(--r-lg);
      padding: 30px;
      position: relative;
      z-index: 1
    }

.ins-form h3 {
      font-size: 19px;
      margin-bottom: 20px;
      font-family: 'Sora', sans-serif
    }

.ins-price-box {
      margin-top: 16px;
      padding: 16px;
      background: var(--blue-pale);
      border: 1.5px solid var(--blue-pale2);
      border-radius: var(--r-sm);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

.ipb-label {
      font-size: 13px;
      color: var(--gray-500)
    }

.ipb-price {
      font-family: 'Sora', sans-serif;
      font-size: 24px;
      font-weight: 800;
      color: var(--blue)
    }

/* ============================================================
   TOOLS
============================================================ */
    #tools {
      background: #fff
    }

.tool-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px
    }

.tool-card {
      background: var(--gray-50);
      border: 1.5px solid var(--gray-150);
      border-radius: var(--r-xl);
      padding: 36px;
    }

.tool-head {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      margin-bottom: 28px
    }

.tool-icon-box {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: var(--blue-pale);
      border: 1px solid var(--blue-pale2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--blue);
      font-size: 20px;
      flex-shrink: 0;
    }

.tool-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 3px;
      font-family: 'Sora', sans-serif
    }

.tool-sub {
      font-size: 13px;
      color: var(--gray-500)
    }

/* ============================================================
       CURRENCY CONVERTER — Premium dual-card design
    ============================================================ */
    .cur-row {
      display: grid;
      grid-template-columns: 1fr 50px 1fr;
      align-items: center;
      gap: 12px;
      padding: 18px;
      background: #fff;
      border: 1.5px solid var(--blue-pale2);
      border-radius: 18px;
      margin-bottom: 16px;
      box-shadow: 0 4px 16px rgba(15, 26, 46, 0.06);
    }

.cur-side {
      position: relative;
      padding: 14px 16px;
      background: var(--blue-pale);
      border: 1.5px solid transparent;
      border-radius: 14px;
      transition: border-color var(--t), background var(--t);
    }

.cur-side:focus-within {
      border-color: var(--blue);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
    }

.cur-flag {
      font-size: 24px;
      line-height: 1;
      margin-bottom: 6px;
    }

.cur-code {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      color: var(--blue);
      font-weight: 800;
      letter-spacing: 0.08em;
      font-family: 'Sora', sans-serif;
      text-transform: uppercase;
      margin-bottom: 6px;
    }

.cur-input {
      width: 100%;
      background: transparent;
      border: none;
      padding: 0;
      font-family: 'Sora', sans-serif;
      font-size: 22px;
      font-weight: 800;
      color: var(--gray-900);
      outline: none;
      letter-spacing: -0.02em;
      line-height: 1;
    }

.cur-input::-webkit-outer-spin-button,
    .cur-input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

.cur-input[type=number] {
      -moz-appearance: textfield;
    }

.cur-swap {
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, var(--blue), var(--cyan));
      border: 4px solid #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      cursor: pointer;
      flex-shrink: 0;
      font-size: 16px;
      box-shadow: 0 6px 16px rgba(37, 99, 235, 0.30);
      transition: transform 0.5s var(--ease-spring), box-shadow var(--t);
    }

.cur-swap:hover {
      transform: rotate(180deg) scale(1.05);
      box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45);
    }

.cur-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 14px;
      background: var(--gray-50);
      border-radius: 10px;
      margin-bottom: 16px;
      font-family: 'Sora', sans-serif;
      font-size: 11px;
      color: var(--gray-500);
      font-weight: 600;
    }

.cur-meta-rate {
      color: var(--blue);
      font-weight: 800;
    }

.cur-meta-date {
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

.cur-meta-live {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--emerald);
      box-shadow: 0 0 8px rgba(5, 150, 105, 0.6);
      animation: live-pulse 2s ease-in-out infinite;
    }

@keyframes live-pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.4; }
    }

.rate-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }

.rate-box {
      position: relative;
      background: #fff;
      border: 1.5px solid var(--gray-150);
      border-radius: 14px;
      padding: 14px 10px;
      text-align: center;
      cursor: pointer;
      transition: border-color var(--t), transform var(--t), box-shadow var(--t), background var(--t);
    }

.rate-box:hover {
      border-color: var(--blue);
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
      background: var(--blue-pale);
    }

.rate-flag2 {
      font-size: 22px;
      line-height: 1;
      margin-bottom: 6px;
    }

.rate-val {
      font-family: 'Sora', sans-serif;
      font-size: 16px;
      font-weight: 800;
      color: var(--blue);
      letter-spacing: -0.01em;
      line-height: 1.05;
    }

.rate-code2 {
      font-size: 10px;
      color: var(--gray-500);
      letter-spacing: 0.04em;
      margin-top: 4px;
      font-weight: 700;
      font-family: 'Sora', sans-serif;
    }

.rate-trend {
      position: absolute;
      top: 8px;
      right: 8px;
      font-size: 9px;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 6px;
      font-family: 'Sora', sans-serif;
    }

.rate-trend-up {
      background: rgba(5, 150, 105, 0.12);
      color: var(--emerald);
    }

.rate-trend-dn {
      background: rgba(225, 29, 72, 0.12);
      color: var(--rose);
    }

.wx-row {
      display: flex;
      gap: 8px;
      margin-bottom: 22px
    }

.wx-input {
      flex: 1;
      background: #fff;
      border: 1.5px solid var(--gray-200);
      border-radius: var(--r-sm);
      padding: 12px 15px;
      font-family: 'Instrument Sans', sans-serif;
      font-size: 14px;
      color: var(--gray-900);
      outline: none;
      transition: border-color var(--t);
    }

.wx-input:focus {
      border-color: var(--blue)
    }

.wx-btn {
      background: var(--blue);
      color: #fff;
      border: none;
      border-radius: var(--r-sm);
      padding: 12px 18px;
      font-family: 'Sora', sans-serif;
      font-weight: 700;
      cursor: pointer;
      transition: var(--t);
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
    }

.wx-btn:hover {
      background: var(--blue-deep)
    }

.wx-main {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 22px
    }

.wx-city {
      font-size: 22px;
      font-weight: 700;
      color: var(--gray-900);
      font-family: 'Sora', sans-serif
    }

.wx-temp {
      font-family: 'Sora', sans-serif;
      font-size: 40px;
      font-weight: 800;
      color: var(--blue);
      line-height: 1
    }

.wx-desc {
      font-size: 13px;
      color: var(--gray-500);
      margin-top: 2px;
      display: flex;
      align-items: center;
      gap: 6px
    }

.wx-days {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 8px
    }

.wx-day {
      background: #fff;
      border: 1px solid var(--gray-150);
      border-radius: var(--r-sm);
      padding: 12px 8px;
      text-align: center;
    }

.wd-name {
      font-size: 10px;
      color: var(--gray-400);
      letter-spacing: 0.05em;
      margin-bottom: 5px;
      font-weight: 600
    }

.wd-icon {
      font-size: 19px;
      margin-bottom: 5px
    }

.wd-temp2 {
      font-size: 14px;
      font-weight: 700;
      color: var(--blue);
      font-family: 'Sora', sans-serif
    }

/* ============================================================
   SCHENGEN
============================================================ */
    #schengen {
      background: var(--gray-50)
    }

.sch-layout {
      display: grid;
      grid-template-columns: 1fr 400px;
      gap: 80px;
      align-items: start
    }

.sch-widget {
      background: #fff;
      border: 1.5px solid var(--gray-150);
      border-radius: var(--r-xl);
      padding: 30px;
      box-shadow: var(--shadow);
    }

.cal-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px
    }

.cal-month {
      font-size: 17px;
      font-weight: 700;
      font-family: 'Sora', sans-serif;
      color: var(--gray-900)
    }

.cal-navs {
      display: flex;
      gap: 6px
    }

.cal-nb {
      width: 32px;
      height: 32px;
      background: var(--gray-50);
      border: 1.5px solid var(--gray-200);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--gray-500);
      transition: var(--t);
    }

.cal-nb:hover {
      border-color: var(--blue);
      color: var(--blue)
    }

.cal-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 3px;
      margin-bottom: 16px
    }

.cdn {
      font-size: 10px;
      color: var(--gray-400);
      text-align: center;
      padding: 4px;
      font-weight: 600;
      letter-spacing: 0.04em
    }

.cd {
      aspect-ratio: 1;
      border-radius: 7px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      cursor: pointer;
      transition: var(--t);
      font-weight: 500;
    }

.cd:hover:not(.empty) {
      background: var(--gray-100)
    }

.cd.used {
      background: rgba(37, 99, 235, 0.12);
      color: var(--blue);
      font-weight: 700
    }

.cd.today {
      background: var(--blue);
      color: #fff;
      font-weight: 700
    }

.cd.empty {
      cursor: default
    }

.sch-counts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px
    }

.sch-cnt {
      background: var(--gray-50);
      border: 1.5px solid var(--gray-150);
      border-radius: var(--r-sm);
      padding: 16px;
      text-align: center;
    }

.sch-num {
      font-family: 'Sora', sans-serif;
      font-size: 26px;
      font-weight: 800;
      line-height: 1
    }

.sch-num.used {
      color: var(--blue)
    }

.sch-num.rem {
      color: var(--emerald)
    }

.sch-lbl {
      font-size: 10px;
      color: var(--gray-400);
      letter-spacing: 0.06em;
      margin-top: 4px;
      font-weight: 600
    }
