

/* Form fields and elements */

.auth-block {
    width: 480px;
    max-width: 100%;
    padding: 20px;
    margin: 0 auto;
    border: 2px solid #8fb1fd;
    background: rgba(231, 243, 251, 0.38);
    border-radius: 10px;
}

.s-form-account {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px 50px;
    flex-wrap: wrap;
    margin: 0 0 30px 0;
    border: 2px dashed rgb(149 156 161);
    background-color: rgb(231, 243, 251);
    border-radius: 20px;
}

.s-form-account_setting {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
}
@media all and (max-width: 772px){
    .s-form-account_setting {
        grid-template-columns: 1fr;
    }
}

.s-form-border {
    display: flex;
    flex-direction: column;
    gap: 15px 0;
}
.s-form-header {
    margin: 0 0 5px 0;
    font-weight: bold;
    font-size: 18px;
}
.s-form-header_space {
    margin-bottom: 15px;
}
.s-form-row {display: flex; flex-direction: column; gap: 8px 0;}
.s-form-row span[role="alert"] {width: 100%; padding: 5px; margin:8px 0 0 0; border:1px solid #ffc9c9; color: darkred; font-size: 12px; border-radius: 6px;}
.s-form-inputbox {flex:1; position: relative;}
.s-form-label {
    display:block;
    padding: 0;
    font-weight: bold;
    font-size:14px;
    color: #00345b;
    text-align: left;
}
.s-form-label::after {content: ':';}
.s-form-label .req {font-weight:bold; color: red;}
.s-form-inputs-group {display: flex; align-items: center;}
.s-form-inputs-group .s-form-input:first-child {flex: 1;}
.s-form-input {flex:1; position: relative;}

.emutation__select-icon {
    width: 20px; height: 20px; content: ' '; display: block; color: #000;
    position: absolute; right: 10px; top: 50%;
    pointer-events: none; transform:translateY(-52%) rotate(90deg);
}

.s-form-input-remove {
    width:20px; height:20px;
    position: absolute; left: 8px; top: 50%; margin: -10px 0 0 0;
    cursor: pointer;
}
.s-form-input-remove .ics {
    width: auto; height: auto;
    position: absolute; left: 2px; right: 2px; top: 2px; bottom: 2px;
    color: #ff661e;
}
.s-form-input-remove .ics:hover {
    color: #53b2cb;
}
.s-form-input .s-form-input-remove + input {padding-left: 34px;}
.s-form-info {margin:-6px 0 6px 2px; font-size:11px; opacity: 0.8;}
.s-form-links {margin:5px 0 0 0; color:#a4a4a4; text-align:center;}
.s-form-links:last-child {margin-bottom: 0;}
.s-form-other {font-size:16px; text-align:center;}
.s-form-scl-auth {margin:13px 0 0 0; text-align:center;}
.s-form-scl-auth .s-button {
    height:36px; line-height:36px;
    border-radius:8px;
}
.s-form-checkeds > li + li {margin-top: 6px;}

.s-form-block + .s-form-button {
    margin-top: 20px;
}
.s-form-button {
    text-align:center;
}
.s-form-button .button {
    min-width: 138px;
}

.s-form-telegram {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 10px 0 0 0;
}

.s-form-captcha {display:flex; align-items:center; justify-content: center; margin:15px 0; text-align: center;}


.s-form-inputbox .invalid-feedback {display:block; margin: 5px 0 0 5px; font-size: 12px; color: red;}

.account-balance {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}


.account-tabs {
    display:flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 34px 0;
    text-align: center;
}
.account-tabs .button {
    flex:1 0;
    min-width: 100px;
}
.account-tabs .button.current {
    color: #008fff;
}
.account-tabs .button.current::after {
    background: #e7f3fb;
}


.badge {
    padding: 5px 12px;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #eee;
    border-radius: 8px;
}
.badge-sm {
    padding: 3px 8px;
    font-size: 12px;
}
.badge-success {
    background: #e7fbe7;
}
.badge-danger {
    background: #fbe7e8;
}
.badge-warning {
    background: #f9fbe7;
}


.account-deposits {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.account-deposits-form {
    flex:none;
}
.account-deposits-form .auth-block {
    width: 100%;
}
.account-deposits-history {
    flex:none;
}




.partners-block {
    padding: 22px;
    display: flex;
    gap: 25px;
    margin: 0 0 35px 0;
}
@media all and (max-width: 1072px) {
    .partners-block {
        flex-direction: column;
    }
}
.partners-block::after {
    order: 2;
    flex: none;
    width: 1px;
    content: " ";
    background: repeating-linear-gradient(to bottom, transparent, transparent 3px, #aab2ba 8px, #fff 3px);
}
@media all and (max-width: 1072px) {
    .partners-block::after {
        width: 100%;
        height: 1px;
        background: repeating-linear-gradient(to right, transparent, transparent 3px, #aab2ba 8px, #fff 3px);
    }
}
.partners-block__desc {
    order: 1;
    flex: 1 0;
    font-size: 15px;
}
.partners-block__form {
    order: 3;
    flex: none;
    width: 588px;
}
@media all and (max-width: 1072px) {
    .partners-block__form {
        width: 100%;
    }
}
.partners-block-stats {
    display: flex;
    margin: 28px 0 40px 0;
}
@media all and (max-width: 672px) {
    .partners-block-stats {
        flex-direction: column;
        gap: 20px;
    }
    .partners-block-stats .form-label_start {
        margin-bottom: 6px;
    }
}
.partners-block-stats-item {
    flex: 1 0;
}
.partners-block-stats-value {
    font-weight: bold;
    font-size: 18px;
}
.partners-block-withdraw {
    gap: 20px 11px;
}
@media all and (max-width: 672px) {
    .partners-block-withdraw {
        flex-direction: column;
        gap: 20px;
    }
}
.partners-block-checkout {
    display: flex;
    align-items: flex-end;
    margin: 30px 0 0 0;
}
@media all and (max-width: 672px) {
    .partners-block-checkout {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
.partners-block-balance {
    flex: 1 0;
}
.partners-block-balance-value {
    margin: -4px 0 0 0;
    font-weight: bold;
    font-size: 24px;
}
.partners-block-control {
    flex: none;
}
.partners-block-button {
    min-height: 42px;
    font-size: 16px;
}


/* ===================================== */

  .offer-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
  }

  /* ===== MODAL CARD ===== */
  .offer-card {
    background: linear-gradient(135deg, #fff5f0, #fff0e6);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    padding: 35px 25px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
    animation: scaleUp 0.3s ease;
  }

  /* ===== CLOSE BUTTON ===== */
  .offer-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #444;
    cursor: pointer;
    transition: color 0.3s;
  }
  .offer-close:hover { color: #ff6600; }

  /* ===== POPUP CONTENT ===== */
  .offer-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
  }

  .offer-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.5;
  }

  .offer-btn {
    background: linear-gradient(135deg, #ff6600, #ff884d);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
  }
  .offer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(255,102,0,0.4);
  }

  /* ===== OPTIONAL DECORATIVE ELEMENT ===== */
  .offer-badge {
    display: inline-block;
    background: #ff6600;
    color: #fff;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
    font-size: 0.9rem;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 500px) {
    .offer-card {
      padding: 25px 15px;
    }
  }

  /* ===== ANIMATIONS ===== */
  @keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
  @keyframes scaleUp { from {transform: scale(0.9); opacity: 0;} to {transform: scale(1); opacity: 1;} }




  /* ===================================== */

    .team-section {
      text-align: center;
      padding: 30px 20px;
    }

    .team-section h2 {
      font-size: 2.8rem;
      margin-bottom: 10px;
      color: #fff;
      letter-spacing: 1px;
    }

    .team-section p {
      color: #d0d7ff;
      font-size: 1rem;
      margin-bottom: 50px;
    }

    /* FLEXBOX CONTAINER */
    .team-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: flex-start;
      gap: 40px;
      max-width: 1100px;
      margin: 0 auto;
    }

    .team-card {
      background: #243b55;
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.3);
      padding: 20px;
      transition: all 0.4s ease;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.1);
      width: 260px; /* fixed width for consistent shape */
      text-align: center;
    }

    .team-card:hover {
      transform: translateY(-12px);
      box-shadow: 0 20px 35px rgba(0,0,0,0.4);
      border-color: rgba(255,255,255,0.3);
    }

    .team-card img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 12px;
      margin-bottom: 20px;
      transition: all 0.4s ease;
      border: 3px solid #4b6cb7;
    }

    .team-card:hover img {
      filter: brightness(1.1);
      border-color: #8ab4f8;
    }

    .team-card h3 {
      font-size: 1.3rem;
      color: #fff;
      margin-bottom: 5px;
    }

    .team-card span {
      display: block;
      color: #a8b5e0;
      font-size: 0.95rem;
    }
    
  /* ===================================== */

  .client-section {
      text-align: center;
      padding: 80px 20px;
      background: #fff;
    }

    .client-section h2 {
      font-size: 2.5rem;
      margin-bottom: 15px;
      color: #222;
    }

    .client-section p {
      color: #777;
      margin-bottom: 40px;
      font-size: 1rem;
    }

    /* Slider container */
    .client-slider {
      position: relative;
      max-width: 900px;
      margin: 0 auto;
      overflow: hidden;
    }

    .client-wrapper {
      display: flex;
      transition: transform 0.6s ease;
    }

    .client-card {
      min-width: 100%;
      box-sizing: border-box;
      padding: 40px 20px;
      text-align: center;
      background: #f9f9f9;
      border-radius: 20px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }

    .client-card img {
      width: 100px;
      height: 100px;
      object-fit: cover;
      border-radius: 50%;
      margin-bottom: 15px;
      border: 3px solid #4b6cb7;
    }

    .client-card h3 {
      font-size: 1.2rem;
      color: #222;
      margin-bottom: 8px;
    }

    .client-card span {
      color: #666;
      font-size: 0.95rem;
      display: block;
      margin-bottom: 15px;
    }

    .client-card p {
      color: #444;
      font-size: 1rem;
      line-height: 1.6;
      font-style: italic;
    }

    /* Navigation dots */
    .dots {
      display: flex;
      justify-content: center;
      margin-top: 25px;
      gap: 10px;
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #ccc;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .dot.active {
      background: #4b6cb7;
    }


      /* ===================================== */

 .client-logo-section {
  text-align: center;
  padding: 40px 0;
  background: #fff;
}

.client-logo-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.client-logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.client-logo-track {
  display: flex;
  align-items: center;
  gap: 60px; /* space between logos */
  animation: clientLogoScroll 25s linear infinite;
  width: max-content;
}

.client-logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
}

.client-logo-item img {
  max-width: 200px;     /* increased from 160px */
  max-height: 100px;    /* increased from 80px */
  width: auto;
  height: auto;
  object-fit: contain;
  /* filter: grayscale(100%); */
  transition: 0.3s;
}

.client-logo-item img:hover {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* Smooth infinite scroll */
@keyframes clientLogoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .client-logo-item img {
    max-width: 150px;
    max-height: 75px;
  }
}

@media (max-width: 480px) {
  .client-logo-item img {
    max-width: 110px;
    max-height: 55px;
  }
}

