/* Улучшенный контейнер */
.feature-area {
  background: transparent !important;
  padding: 2rem 0;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Специфичные стили для заголовков страницы доната */
.names h3 {
  margin-bottom: 0.5rem;
}

.names p {
  text-align: center;
  margin-bottom: 2rem;
}

/* Улучшенная карточка формы */
.bg-toll-kit {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  position: relative;
  padding: 2rem;
}

.bg-toll-kit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

/* Современные группы форм */
.form-group {
  margin-bottom: 2rem;
}

/* Информационный текст формы */
.form-info-text {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0.7;
}

.form-info-text .info-item {
  line-height: 1rem;
  max-height: 25px;
}

.form-info-text small {
  color: var(--gray-500);
  font-size: 0.8rem;
  font-weight: 400;
}

.form-info-text a {
  color: var(--primary-red);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  font-weight: 400;
  border-bottom: 1px dotted var(--primary-red);
}

.form-info-text a:hover {
  color: var(--primary-red);
  text-decoration: none;
  border-bottom: 1px solid var(--primary-red);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
  }
  
  .feature-area {
    padding: 0;
  }
  
  .bg-toll-kit {
    border-radius: 0;
    padding: 1rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-label {
    font-size: 1.2rem;
  }
  
  .donate-form {
    padding: 1rem !important;
  }
  
  .form-info-text {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    opacity: 0.7;
  }
  
  .form-info-text .info-item {
    line-height: 1.2;
  }
  
  .form-info-text small {
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 400;
  }
  
  .form-info-text a {
    color: var(--primary-red);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    border-bottom: 1px dotted var(--primary-red);
  }
  
  .form-info-text a:hover {
    text-decoration: none;
    border-bottom: 1px solid var(--primary-red);
  }
  
  .hr-bottom {
    display: none !important;
  }
}

.form-label {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: 0.025em;
}

.form-label small {
  font-weight: 400;
  color: var(--gray-500);
}

/* Иконки для лейблов */
.col-form-label::before {
  content: '';
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.col-form-label[for="server"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h14M5 12a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v4a2 2 0 01-2 2M5 12a2 2 0 00-2 2v4a2 2 0 002 2h14a2 2 0 002-2v-4a2 2 0 00-2-2m-2-4h.01M17 16h.01'/%3E%3C/svg%3E");
}

.col-form-label[for="type_pay_select"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z'/%3E%3C/svg%3E");
}

.col-form-label[for="account"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z'/%3E%3C/svg%3E");
}

.col-form-label[for="sum"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1'/%3E%3C/svg%3E");
}

/* Современные input поля */
.form-control {
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  font-size: 1.2rem;
  transition: all 0.2s ease;
  background: var(--white);
  color: var(--gray-900);
  text-align: center;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  display: block;
  min-height: 60px;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgb(220 38 38 / 0.1);
  transform: translateY(-1px);
}

/* Анимация подсветки поля ввода суммы */
.form-control.amount-highlight {
  animation: amountHighlight 0.6s ease-out;
}

@keyframes amountHighlight {
  0% {
    transform: scale(1);
    border-color: var(--gray-200);
    box-shadow: 0 0 0 3px transparent;
  }
  20% {
    transform: scale(1.02);
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgb(220 38 38 / 0.2);
  }
  40% {
    transform: scale(1.05);
    border-color: var(--primary-red);
    box-shadow: 0 0 0 6px rgb(220 38 38 / 0.15);
  }
  100% {
    transform: scale(1);
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgb(220 38 38 / 0.1);
  }
}

.form-control::placeholder {
  color: var(--gray-400);
}

/* Карточки выбора серверов и провайдеров */
.server-card,
.provider-card {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--gray-200);
  background: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 45px;
}

.server-card {
  max-height: 50px;
}

.provider-card {
  min-height: 45px;
  /* max-width: 90%; */
  min-width: 55%;
}

.provider-card .card-body {
  padding: 0.5rem 1rem;
}

.server-card:hover,
.provider-card:hover {
  border-color: var(--primary-red);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.server-card.active,
.provider-card.active {
  border-color: var(--primary-red);
  /* background: linear-gradient(135deg, var(--primary-red) 0%, #dc2626 100%); */
  background: linear-gradient(360deg, #fff6f6 0%, #dc262600 100%);
  color: var(--gray-900);
  box-shadow: var(--shadow-lg);
}

.server-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--gray-100);
}

.server-card.disabled:hover {
  transform: none;
  border-color: var(--gray-200);
  box-shadow: none;
}

/* Отключение всех анимаций для server-card */
.server-card {
  transition: all 0.3s ease !important;
}

.server-icon,
.provider-icon {
  color: var(--gray-600);
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.server-card.active .server-icon,
.provider-card.active .provider-icon {
  color: var(--primary-red);
}

.server-card .card-title,
.provider-card .card-title {
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  margin-top: 0;
}

.server-card.active .card-title,
.provider-card.active .card-title {
  color: var(--gray-900);
}

.server-card .text-muted,
.provider-card .text-muted {
  transition: color 0.3s ease;
  font-size: 0.8rem;
}

.server-card.active .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Индикатор выбора */
.selection-indicator {
  position: absolute;
  right: 0.5rem;
  background: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--primary-red);
  animation: fadeInScale 0.3s ease;
  flex-shrink: 0;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Быстрые суммы */
.quick-amounts {
  margin-top: 1rem;
}

.quick-amounts-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.quick-amounts-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.quick-amount-btn {
  background: var(--gray-100);
  border: 1px dashed rgba(220, 38, 38, 0.3);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
  text-align: center;
  transform: translateZ(0);
}

.quick-amount-btn:hover,
.quick-amount-btn.active {
  background: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
  transform: translateY(-2px);
}

.quick-amount-btn:active {
  transform: translateY(-1px);
}

/* Современная кнопка submit */
.btn-submit {
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 50%, #fecaca 100%);
  border: 1.5px solid var(--primary-red);
  border-radius: 20px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-red);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Деактивированное состояние кнопки */
.btn-submit:disabled {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 50%, #d1d5db 100%);
  border-color: var(--gray-300);
  color: var(--gray-500);
  cursor: not-allowed;
  box-shadow: var(--shadow-sm);
  opacity: 0.7;
  transform: none;
}

.btn-submit:disabled:hover {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 50%, #d1d5db 100%);
  transform: none;
  box-shadow: var(--shadow-sm);
}

.btn-submit:disabled:active {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.btn-submit:disabled::before {
  display: none;
}

.btn-submit:disabled .btn-icon {
  transform: none;
  opacity: 0.6;
}

.btn-submit:disabled .btn-text {
  opacity: 0.8;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-submit:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit .btn-icon {
  font-size: 1.2rem;
  transition: all 0.3s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-submit:hover .btn-icon {
  transform: scale(1.1) rotate(5deg);
}

.btn-submit .btn-text {
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1;
}

/* Анимация появления кнопки */
.btn-submit {
  animation: buttonAppear 0.6s ease-out;
}

@keyframes buttonAppear {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Улучшенные модальные окна */
.payments-off {
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 5;
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  /*
  backdrop-filter: brightness(0.8) blur(1px);
  box-shadow: inset 1px 1px 8px 5px rgb(0 0 0 / 30%);
  border: 1px solid #FFF;
  */
}

.modal-card {
  color: black;
  background: #FFF;
  border-radius: 15px;
  box-shadow: 1px 1px 15px 0px rgb(0 0 0 / 35%);
  max-width: 80%;
  padding: 20px !important;
  justify-self: center;
}

.payments-off .text {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  max-width: 90%;
  padding: 2rem !important;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.payments-off .text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.payments-off .maintenance-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.payments-off .maintenance-icon svg {
  color: var(--primary-red);
  animation: wrench 2.5s ease infinite;
  filter: drop-shadow(0 4px 8px rgba(220, 38, 38, 0.3));
}

@keyframes wrench {
  0% { transform: rotate(-12deg); }
  8% { transform: rotate(12deg); }
  10% { transform: rotate(24deg); }
  18% { transform: rotate(-24deg); }
  20% { transform: rotate(-24deg); }
  28% { transform: rotate(24deg); }
  30% { transform: rotate(24deg); }
  38% { transform: rotate(-24deg); }
  40% { transform: rotate(-24deg); }
  48% { transform: rotate(24deg); }
  50% { transform: rotate(24deg); }
  58% { transform: rotate(-24deg); }
  60% { transform: rotate(-24deg); }
  68% { transform: rotate(24deg); }
  75%, 100% { transform: rotate(0deg); }
}

.payments-off .social-icons a {
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.payments-off .social-icons a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-red);
    background: var(--white);
}

.loading-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 5;
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 24px;
  backdrop-filter: blur(8px);
}

.loading-overlay .text {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  max-width: 90%;
  padding: 2rem !important;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.loading-overlay .text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--gray-200);
  border-top: 4px solid var(--primary-red);
  border-radius: 50%;
  transform: rotate(0deg);
  transition: transform 1s linear;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.spinner.animate {
  transform: rotate(360deg);
}

.status-notification {
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 24px;
  backdrop-filter: blur(8px);
}

.status-notification .notification-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  max-width: 90%;
  padding: 2rem !important;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.status-notification .notification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.status-notification .notification-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.status-notification .notification-icon.success {
  color: #10b981;
}

.status-notification .notification-icon.error {
  color: var(--primary-red);
}

.status-notification .notification-icon svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.status-notification .notification-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--gray-900);
}

.status-notification .notification-message {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  white-space: pre-line;
  color: var(--gray-600);
}

.status-notification .close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding-bottom: 10px;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  font-size: 1.25rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-weight: 600;
}

.status-notification .close-button:hover {
  background: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
  transform: scale(1.1);
}

/* Дополнительные улучшения UX */
.form-control:disabled {
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: not-allowed;
}

option:disabled {
  color: var(--gray-400);
  font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
  .names h3 {
    font-size: 2rem;
  }
  
  .bg-toll-kit {
    border-radius: 16px;
    margin: 0 0.5rem;
    padding: 1rem;
  }
  
  .form-control {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    min-height: 55px;
  }
  
  .btn-submit {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    min-width: 200px;
    border-width: 1.5px;
  }
  
  .btn-submit .btn-icon {
    font-size: 1.1rem;
  }
  
  .btn-submit:hover {
    transform: translateY(-2px);
  }
  
  .form-label {
    font-size: 1.2rem;
  }
  
  .form-control {
    font-size: 1rem;
  }
  
  .quick-amounts-buttons {
    gap: 0.25rem;
  }
  
  .quick-amount-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
    min-width: 70px;
  }
  
  .quick-amount-btn:hover,
  .quick-amount-btn.active {
    transform: translateY(-1px);
  }
  
  .quick-amount-btn:active {
    transform: translateY(0);
  }
  
  .form-control {
    max-width: none;
  }
  
  .server-card,
  .provider-card {
    margin-bottom: 0.25rem;
    min-height: 45px;
  }
  
  .server-card .card-body {
    padding: 0.75rem;
  }
  
  .provider-card .card-body {
    padding: 0.375rem 0.75rem;
  }
  
  .provider-card {
    min-width: 100%;
  }
  
  .server-icon svg,
  .provider-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .server-card .card-title,
  .provider-card .card-title {
    font-size: 0.875rem;
  }
  
  .selection-indicator {
    width: 18px;
    height: 18px;
    top: 0.25rem;
    right: 0.25rem;
  }
}

/* Микроанимации для улучшения восприятия */
.form-group:not(:first-child) {
  animation: fadeInUp 0.6s ease-out;
}

.form-group:nth-child(2) { animation-delay: 0.1s; }
.form-group:nth-child(3) { animation-delay: 0.2s; }
.form-group:nth-child(4) { animation-delay: 0.3s; }
.form-group:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[v-cloak] {
  display: none;
} 