* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

.tariff-card--large > div {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Для нижних текстов увеличим */
#selected-info {
  font-size: 1.5rem;
  font-weight: 700;
}

#selected-price {
  font-size: 2rem;
  font-weight: 900;
  color: #2563eb;
}

.btn-selected .tariff-icon {
  color: white !important;
  stroke: white !important; /* для stroke цвет иконок */
}

.tariff-card > svg.tariff-icon {
  color: #2563eb;
  stroke: #2563eb;
  transition: color 0.3s, stroke 0.3s;
}

#tariff-select,
#duration-select {
  width: 100%;
  border: 2px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #0000009e;
  background-color: white;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%232563eb" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>'); /* стрелочка вниз синяя */
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  box-shadow: none;
}

#tariff-select:focus,
#duration-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 5px #93c5fd;
  outline: none;
}

body {
  background-size: 80px 80px;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  /* overflow: hidden; */
}

main {
  display: block;
  margin-top: 40px;
  transform: scale(0.8);
  transform-origin: top center;
  width: 100%;
}

.scale-90 {
  transform: scale(0.8);
  transform-origin: top center;
}

.btn-selected {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
  color: white !important;
  transform: scale(1.05);
  transition: all 0.3s ease;
}
button,
.tariff-card {
  transition: all 0.25s ease;
  cursor: pointer;
  user-select: none;
  font-size: 1.15rem;
  font-weight: 600;
  border: 2px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.8rem 1.25rem;
  color: #1e293b;
  background-color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: none !important;
  outline: none !important;
}
button:hover:not(.btn-selected),
.tariff-card:hover:not(.btn-selected) {
  background-color: #dbeafe;
  color: #1e40af;
  border-color: #93c5fd;
  transform: scale(1.03);
  box-shadow: none !important;
}
button:active:not(.btn-selected),
.tariff-card:active:not(.btn-selected) {
  transform: scale(0.97);
  box-shadow: none !important;
}

.tariff-card > svg.tariff-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #2563eb;
}

#summary {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.buy-btn {
  position: relative;
  background-color: #2563eb;
  border: none;
  color: white;
  padding: 0.9rem 2.5rem;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: none !important;
  transition: transform 0.3s ease, background-color 0.3s ease;
  width: px;
}
.buy-btn:hover {
  background-color: #1e40af;
  transform: scale(1.05);
  box-shadow: none !important;
}
.buy-btn:disabled {
  background-color: #a5b4fc;
  cursor: default;
  box-shadow: none !important;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.3rem;
  color: #1e293b;
  margin-bottom: 0;
  user-select: none;
  box-shadow: none !important;
}

.header {
  position: fixed;
}

.feature-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #2563eb;
}
.price-animate {
  transition: color 0.3s ease;
}
.selected-info {
  font-weight: 600;
  font-size: 1.2rem;
  color: #1e40af;
  white-space: nowrap;
  min-width: 160px;
  margin: 0;
  user-select: none;
}

#choising {
  margin-bottom: -60px;
}

.right-bottom {
  margin-top: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  width: 100%;
}
.price-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  min-width: 120px;
  text-align: right;
  user-select: none;
}
#tariff-container > div:not(.col-span-2) {
  margin-bottom: 0 !important;
}
.col-span-2.border-t {
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
  border-color: #cbd5e1;
}
#tariff-container > .col-span-2.flex {
  margin-top: 0.25rem !important;
}
/* Инпут и кнопка промокода */
#promo-code-input {
  height: 35px;
  border: 2px solid #cbd5e1;
  border-radius: 0.75rem;
  font-size: 20px;
  outline: none;
  transition: border-color 0.3s ease;
  margin-top: auto;
  margin-bottom: 3%
}
#promo-code-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 5px #93c5fd;
}

#tad {
  width: 400px;
}

/* Мобильные кнопки тарифа и срока */
.tariff-btn-mobile,
.duration-btn-mobile {
  text-align: center;
  padding: 0.6rem 0.8rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  background-color: white;
  color: #1e293b;
  transition: all 0.2s ease;
  user-select: none;
}


.tariff-btn-mobile:hover,
.duration-btn-mobile:hover {
  background-color: #dbeafe;
  border-color: #93c5fd;
  color: #1e40af;
}

.tariff-btn-mobile.btn-selected,
.duration-btn-mobile.btn-selected {
  background-color: #2563eb;
  color: white;
  border-color: #2563eb;
  transform: scale(1.05);
}


@media (max-width: 768px) {
  #right_panel {
    margin-top: 30px;
  }

  #wrapper {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  #line {
    margin-top: 30px;
  }

  #tad {
    width: 100%;
    margin-bottom: -80px;
  }

  #tariff_and_srok {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  #features-list .feature-item .feature-icon {
    width: 16px; /* размер по ширине */
    height: 16px; /* размер по высоте */
    stroke-width: 1.5; /* чуть тоньше линии */
  }
  #features-list .feature-item span {
    font-size: 1rem; /* уменьшенный шрифт */
    line-height: 1.2; /* уменьшенный межстрочный интервал */
  }
  .buy-btn {
    font-size: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center; /* по вертикали */
    width: 100px; /* фиксированная ширина, как у тебя было */
    height: 40px; /* можно оставить авто, или задать фиксированную, если нужно */
    padding: 0.9rem 2.5rem;
    margin-left: 100px;
  }

  #duration-select {
    margin-bottom: -40px;
  }

  main {
    margin-top: 20px;
  }

  #selected-info {
    margin-left: -15px;
  }

  #summary {
    padding-left: 30px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  #promo-code-input {
    height: 35px;
  }

  #choising {
    margin-bottom: 0;
  }
}

