.ml-auto {
  margin-left: auto;
}


.post-review-choices {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  grid-template-columns: 1fr;
}

.choice-card {
  border: 1px solid #E6E8EE;
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20,30,55,0.04);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.choice-card--primary { border-color: #2F6FEB1A; }
.choice-card--secondary {
  background: #F9FAFF;
  border: 1px solid #CBD5E1;
}


.choice-title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 8px;
  text-align: left;
  color: #000;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.choice-title .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}


.choice-subtitle {
  margin: 0 0 8px;
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}


.choice-list {
  margin: 0 0 8px;
  padding-left: 0;
  list-style: none;
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

.choice-list li {
  margin-bottom: 4px;
}
.choice-list li:last-child { margin-bottom: 0; }

.choice-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1.2;
  color: #444;
  background: #F3F4F6;
  border-radius: 6px;
}

.choice-price {
  font-weight: 700;
  font-size: 16px;
  color: #000;
  margin: 0 0 12px;
}


.btn-full { width: 100%; }



.btn-primary {
  background: #2F6FEB;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(47,111,235,0.3);
  transition: background 0.2s;
}

.btn-accent {
  background: #F97316;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(249,115,22,0.3);
  transition: background 0.2s;
}

.btn-outline {
  background: #fff;
  color: #2F6FEB;
  border: 2px solid #2F6FEB;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
}


.choice-card .btn-primary {
  margin-top: auto;
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover { background: #2557C4; }
.btn-accent:hover { background: #EA580C; }
.btn-outline:hover { background: rgba(47,111,235,0.06); }

/* Desktop */
@media (min-width: 900px) {
  .post-review-choices {
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }
  .choice-title { font-size: 20px; }
  .choice-card { padding: 24px; }
}

/* Loading diamond animation */
.loader-diamond {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loading {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}


.loader-diamond .diamond-bars {
  display: flex;
  gap: 4px;
  align-items: center;
}

.loader-diamond .voice-bar {
  width: 4px;
  background: linear-gradient(180deg, #3b82f6, #6366f1);
  border-radius: 10px;
  animation: voiceWave 1s infinite ease-in-out;
  transform-origin: center;
}

.loader-diamond .bar1 { height: 12px; animation-delay: 0s; }
.loader-diamond .bar2 { height: 20px; animation-delay: 0.1s; }
.loader-diamond .bar3 { height: 28px; animation-delay: 0.2s; }
.loader-diamond .bar4 { height: 20px; animation-delay: 0.3s; }
.loader-diamond .bar5 { height: 12px; animation-delay: 0.4s; }

@keyframes voiceWave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.8); }
}

#loading-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

/* Контейнер карточек */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
}

/* Карточка */
.plan-card{
  display:flex;
  flex-direction:column;
  height:100%;
  width:100%;
  min-width:0;
  padding:24px;
  border-radius:16px;
  background:#fff;
  box-shadow:0 2px 12px rgba(17,24,39,.06);
  border:1px solid #eef1f5;
}

/* Заголовок с иконкой */
.plan-head{
  display:flex; align-items:center; gap:12px; margin-bottom:12px;
}
.plan-icon{ width:22px; height:22px; flex:0 0 22px; opacity:.8; }
.plan-title{ font-weight:700; font-size:18px; color:#111; line-height:1.25; }

/* Бейдж (вторая карточка) */
.plan-badge{
  display:inline-block;
  font-size:12px; line-height:1;
  color:#6b7280; background:#f3f4f6;
  padding:6px 10px; border-radius:10px;
  margin:4px 0 10px;
}

/* Текстовые пункты */
.plan-body{ flex:1; }
.plan-list{ margin:0; padding:0; list-style:none; }
.plan-list li{
  font-size:15px; line-height:1.55; color:#444;
  margin:8px 0;
}

/* Цена перед кнопкой (опция) */
.plan-price{ margin-top:12px; font-weight:700; color:#111; }

/* Кнопка — одинаковая высота и ширина, прижата вниз */
.plan-cta{
  margin-top:16px;
  width:100%; height:48px;
  border-radius:12px; border:0;
  background:#2f68ff; color:#fff; font-weight:700; font-size:15px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 16px rgba(47,104,255,.25);
  cursor:pointer;
}
.plan-cta:hover{ filter:brightness(.97); }

/* Адаптивная сетка */
@media (max-width: 860px){
  .plans{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:16px;
  }
  .plan-card{ padding:16px; }
}

@media (max-width: 560px){
  .plans{ grid-template-columns:1fr; }
}

