.cf-card{
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
    padding: 20px 28px 14px;
    width: 100%;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    transition: all .4s ease;
}

/* Верхняя строка: два слоя поверх друг друга, кросс-фейд */
.cf-toprow{
    position: relative;
    min-height: 56px;
}
.cf-toprow-layer{
    transition: opacity .35s ease;
}
.cf-toprow .cf-checkbox-row{
    position: relative;
    z-index: 2;
}
.cf-toprow .cf-modal-top{
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1;
}
.cf-layer-hidden{
    opacity: 0;
    pointer-events: none;
}

/* Раскрывающееся тело Steps */
.cf-expand{
    display: none;
    overflow: hidden;
    max-height: 0;
    transition: max-height .45s ease;
}
.cf-header{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.cf-cloud-icon{
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.cf-domain{
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
}
.cf-subtitle{
    font-size: 16px;
    color: #444;
    margin: 4px 0 16px;
    line-height: 1.4;
}
.cf-checkbox-row{
    display: flex;
    align-items: center;
    background: #fafafa;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    padding: 12px 16px;
    gap: 14px;
}
.circle{
    width: 28px;
    height: 28px;
    min-width: 28px;
    border: 2px solid #c0c0c0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .15s;
}
.circle:hover{
    border-color: #999;
}
.cf-robot-text{
    font-size: 15px;
    font-weight: 400;
    color: #333;
    flex: 1;
}
.cf-turnstile-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.cf-turnstile-img{
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.cf-turnstile-links{
    display: flex;
    gap: 3px;
    font-size: 9px;
}
.cf-turnstile-links a{
    color: #888;
    text-decoration: none;
}
.cf-turnstile-links span{
    color: #bbb;
}
.cf-footer{
    text-align: center;
    margin-top: 16px;
    padding-top: 10px;
    border-top: 1px solid #e8e8e8;
}
.cf-ray{
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}
.cf-perf{
    font-size: 12px;
    color: #999;
}
.cf-perf a{
    color: #999;
    text-decoration: underline;
}

.text{
    margin-top: 150px;
    margin-left: 50px;
}

.logo{
    width:30%;
}

.verify-text{
    font-size: 15px;
    font-weight: 500;
    color: rgb(78, 77, 77);
}

.text h3{
    color: rgb(78, 77, 77);
}
.text h1{
    color: rgb(78, 77, 77);
}

hr{
    margin-top: 100px;
}


  .cf-modal-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .cf-modal-top-left{
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .cf-spinner-icon{
    animation: cf-spin 1.2s linear infinite;
    flex-shrink: 0;
  }
  @keyframes cf-spin{
    to{ transform: rotate(360deg); }
  }
  .cf-modal-title{
    font-size: 18px;
    font-weight: 500;
    color: #333;
  }
  .cf-modal-top-right{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
  }
  .cf-modal-logo{
    width: 38px;
    height: 38px;
    object-fit: contain;
  }
  .cf-modal-links{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .cf-modal-links a{
    font-size: 10px;
    color: #5a8fc2;
    text-decoration: underline;
  }

  .cf-divider{
    border: none;
    border-top: 1px solid #ddd;
    margin: 16px 0;
  }

  .cf-modal-body{
    padding: 0;
  }
  .cf-modal-instruction{
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
  }
  .cf-steps{
    margin-bottom: 16px;
  }
  .cf-steps p{
    font-size: 14px;
    color: #444;
    margin: 6px 0;
    line-height: 1.5;
  }
  .cf-step-num{
    font-weight: 600;
    color: #333;
  }

  .cf-verification-id{
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
    font-family: monospace;
  }

  .cf-modal-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .cf-modal-bottom-text{
    font-size: 13px;
    color: #555;
    line-height: 1.4;
  }
  .cf-verify-btn{
    background: #555;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
  }
  .cf-verify-btn:hover{
    background: #444;
  }


  a{
    text-decoration: none;
    color: inherit;
  }


  .modal-window {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: transparent;
    padding: 20px;
    width: 620px;
    max-width: 90vw;
  }

 
  .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
  
  }

  :root{
    --bg-blur: 2px;          /* сделай 0–6px по вкусу */
    --bg-dim: 0.25;          /* затемнение фона 0–0.6 */
    --card-w: 360px;
    --brand-blue: #2a71c5;   /* оттенок синего шапки */
    --btn-blue: #3c7de0;
    --text: #1f2937;
  }

  /* ===== ФОН (меняемый) ===== */
  body{
    margin:0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    color: var(--text);
    background:#f3f4f6;
    min-height:100svh;
    overflow:hidden; /* нельзя скроллить под модалкой */
  }
#background{
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70%; height: 70%;
  filter: blur(var(--bg-blur));
  z-index: 0;
  pointer-events: none;
}
.bg-img{
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
}
  /* Лёгкое затемнение, чтобы окно «читалось» */
  #scrim{
    position:fixed; inset:0;
    background: rgba(0,0,0,var(--bg-dim));
    pointer-events:none;
  }

  /* ===== ПЕРЕДНИЙ ПЛАН (неизменяемый) ===== */
  .overlay{
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 10;
  }

  .card{
    position: relative;
    width: min(92vw, var(--card-w));
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.12);
    overflow: hidden;
  }

  .card__header{
    background: var(--brand-blue);
    color: #fff;
    padding: 18px 20px;
    line-height: 1.1;
  }
  .card__eyebrow{
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .08em;
    opacity: .95;
    margin-bottom: 6px;
  }
  .card__title{
    font-size: 22px;
    font-weight: 700;
  }

  .card__body{
    
    font-size: 14px;
  }
  ol.steps{
    list-style: none;
    margin: 10px 0 12px 0;
    padding: 0 0 0 24px;
    counter-reset: step;
  }
  .steps li{
    counter-increment: step;
    margin: 8px 0;
    position: relative;
  }
  .steps li::before{
    content: counter(step) ".";
    position: absolute; left: -24px; top: 0;
    color: #1b4f95;
    font-weight: 700;
  }

  .agree{
    display:flex; align-items:center; gap:8px;
    font-size: 12px; color:#4b5563;
    background:#f8fafc; border:1px solid #e5e7eb; border-radius:4px;
    padding:8px 10px; margin-top: 6px;
  }
  .agree svg{ flex: 0 0 auto }

  .card__footer{
    padding: 14px 20px 18px 20px;
    display:flex; justify-content:flex-end;
    border-top: 1px solid #eef2f7;
  }
  .btn{
    font-weight: 700;
    padding: 10px 18px;
    border: 0; border-radius: 4px;
    background: var(--btn-blue);
    color:#fff;
    cursor: pointer;
    box-shadow: 0 2px 0 rgba(0,0,0,.12) inset;
  }
  .btn:disabled{ opacity:.55; cursor:not-allowed }

  /* ===== Боковой «ползунок загрузки» ===== */
  .slider-rail{
    position:absolute;
    left:-34px;              /* «сбоку» от карточки */
    top: 48px;
    width: 22px;
    height: 260px;
    border-radius: 12px;
    background: linear-gradient(#e6eefc, #d3def4);
    border: 1px solid #b9c9ea;
    box-shadow: inset 0 2px 6px rgba(0,0,0,.06);
    overflow:hidden;
  }
  .slider-fill{
    position:absolute; left:0; bottom:0;
    width:100%; height:0%;
    background: linear-gradient(#98c1ff, #5b90ee);
    opacity:.35;
    transition: height .25s ease-out;
  }
  .slider-thumb{
    position:absolute;
    left:50%; transform: translateX(-50%);
    width: 18px; height:18px; border-radius:50%;
    background:#fff;
    border:1px solid #b9c9ea;
    box-shadow: 0 1px 2px rgba(0,0,0,.14), inset 0 -1px 0 rgba(0,0,0,.06);
    top: 6px;
    animation: yo-yo 2.1s ease-in-out infinite;
  }
  @keyframes yo-yo{
    0%   { top: 6px }
    50%  { top: calc(100% - 24px) } /* вниз */
    100% { top: 6px }
  }

  /* Успех (для красоты) */
  .card.success .card__header{ background:#159a41 }
  .card.success .btn{ background:#16a34a }
  .success-badge{
    display:none;
    position:absolute; right:10px; top:10px;
    background:#16a34a; color:#fff; font-size:12px; font-weight:700;
    padding:4px 8px; border-radius:999px;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
  }
  .card.success .success-badge{ display:block }
  .muted-foot{
    font-size:12px; color:#6b7280; margin-top:8px;
  }

  /* Небольшая адаптация под телефон */
  @media (max-width:420px){
    .slider-rail{ display:none } /* можно скрыть на очень узких экранах */
    .card__title{ font-size:20px }
    .card__body{ font-size:13.5px }
  }

 

  

