/* ====== MODERN CART CSS ====== */

/* Сброс и базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #115710;
  --primary-light: #1a7a1a;
  --primary-dark: #0f4a0f;
  --secondary-color: #2d9f42;
  --accent-color: #ff6b35;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --background: #f8f9fa;
  --surface: #ffffff;
  --border: #e1e5e9;
  --border-light: #f0f2f5;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  background: url('../swg/fon.svg') no-repeat center center/cover;
  position: relative;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: white;
  opacity: 0.65;
  z-index: -1;
}

/* Шапка в стиле главного экрана */
header {
  background: linear-gradient(135deg, #115710 0%, #1a7a1a 50%, #0f4a0f 100%);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(17, 87, 16, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  margin: 15px 80px;
  padding: 15px;
  text-align: center;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}
.header-row h1 {
  font-size: 32px;
  color: white;
  font-weight: bold;
  flex: 1;
  text-align: center;
  margin: 0 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.phone-mobile {
  display: none;
}

.back-btn {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.back-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}
.phone-info {
  text-align: right;
}
.phone-info p:first-child {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}
.phone-info p:nth-child(2) {
  font-size: 20px;
  color: white;
  margin-top: 5px;
  font-weight: 600;
}

/* Основной контент */
.cart-main {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
}

/* Пустая корзина */
.empty-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.empty-cart-content {
  text-align: center;
  max-width: 400px;
  padding: 40px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.empty-cart-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.6;
}

.empty-cart h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.empty-cart p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

/* Контент корзины */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

/* Секция товаров */
.cart-items-section {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.items-count-badge {
  background: var(--primary-color);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.cart-items-list {
  padding: 0;
}

/* Карточка товара */
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

.cart-item:hover {
  background: #f8f9fa;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  flex-shrink: 0;
}

.cart-item:hover img {
  transform: scale(1.02);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.cart-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

.cart-item-price {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.weight-input {
  width: 80px;
  padding: 8px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  background: var(--surface);
  flex-shrink: 0;
}

.weight-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(17, 87, 16, 0.1);
}

.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.qty-btn:hover {
  background: var(--primary-light);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.qty-btn:active {
  transform: scale(0.95);
}

.remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ff4757;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.remove-btn:hover {
  background: #ff3742;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Информация о заказе */
.order-info {
  position: sticky;
  top: 100px;
}

.order-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  border: 1px solid var(--border-light);
}

.order-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

/* Информация о доставке */
.delivery-info-card {
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.info-item:last-child {
  border-bottom: none;
}

.info-icon {
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 50%;
}

.info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.info-value {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 600;
}

/* Правила доставки */
.delivery-rules {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
  border-left: 4px solid var(--primary-color);
}

.rules-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

.rules-icon {
  font-size: 16px;
}

.delivery-rules p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Комментарий */
.comment-section {
  margin-top: 24px;
}

.comment-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}

.label-text {
  font-size: 14px;
}

.label-optional {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

#comment {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  transition: var(--transition);
  background: var(--surface);
}

#comment:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(17, 87, 16, 0.1);
}

/* Кнопки действий */
.cart-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 16px;
  z-index: 50;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  min-width: 160px;
  justify-content: center;
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
}

.action-btn.secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.action-btn.secondary:hover {
  background: #f8f9fa;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.shop-btn {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #34d058 100%);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.shop-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Уведомления */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: linear-gradient(135deg, var(--secondary-color) 0%, #34d058 100%);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  box-shadow: var(--shadow-hover);
  z-index: 1000;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.cart-item {
  animation: fadeInUp 0.3s ease-out;
}

.order-card {
  animation: slideInRight 0.4s ease-out;
}

/* Улучшенная адаптивность */
@media (max-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .order-info {
    position: static;
  }
  
  header {
    margin: 12px 20px;
    padding: 15px 20px;
  }
  
  .header-row h1 {
    font-size: 28px;
  }
}

/* Планшеты - показываем кнопку телефона */
@media (max-width: 1024px) {
  .phone-info {
    display: none;
  }
  
  .phone-mobile {
    display: block;
  }
  
  .phone-mobile a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }
  
  .phone-mobile a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
  }
  
  .phone-mobile a:active {
    transform: scale(0.95);
  }
  
  .phone-mobile img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 768px) {
  .cart-main {
    padding: 16px;
  }
  
  .cart-layout {
    gap: 20px;
  }
  
  /* Улучшенная шапка */
  header {
    margin: 10px 15px;
    padding: 12px 15px;
    border-radius: 15px;
  }
  
  .header-row {
    flex-wrap: nowrap;
    align-items: center;
  }
  
  .header-row h1 {
    font-size: 22px;
    margin: 0 8px;
  }
  
  .back-btn {
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 15px;
  }
  
  .phone-info p:first-child {
    font-size: 12px;
  }
  
  .phone-info p:nth-child(2) {
    font-size: 16px;
  }
  
  /* Улучшенные карточки товаров */
  .cart-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
  }
  
  .cart-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
  }
  
  .cart-item-info {
    flex: 1;
    justify-content: center;
    align-items: flex-start;
  }
  
  .cart-item-name {
    font-size: 15px;
    line-height: 1.3;
  }
  
  .cart-item-price {
    font-size: 13px;
  }
  
  .cart-item-qty {
    flex-shrink: 0;
    gap: 8px;
    margin-left: auto;
  }
  
  .weight-input {
    width: 65px;
    padding: 8px 10px;
    font-size: 14px;
  }
  
  .qty-btn, .remove-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  /* Улучшенные кнопки действий */
  .cart-actions {
    position: static;
    flex-direction: column;
    margin-top: 24px;
    padding: 0 16px 24px;
    gap: 12px;
  }
  
  .action-btn {
    width: 100%;
    min-width: auto;
    padding: 14px 20px;
    font-size: 15px;
    min-height: 48px;
  }
  
  .section-header {
    padding: 16px;
  }
  
  .section-header h2 {
    font-size: 18px;
  }
  
  .order-card {
    padding: 16px;
    border-radius: 12px;
  }
  
  .order-card h3 {
    font-size: 16px;
  }
  
  .delivery-info-card {
    margin-bottom: 20px;
  }
  
  .info-item {
    padding: 10px 0;
  }
  
  .info-icon {
    font-size: 18px;
    width: 28px;
    height: 28px;
  }
  
  .info-label {
    font-size: 13px;
  }
  
  .info-value {
    font-size: 14px;
  }
  
  .delivery-rules {
    padding: 12px;
    margin-bottom: 20px;
  }
  
  .delivery-rules p {
    font-size: 13px;
  }
  
  .comment-section {
    margin-top: 20px;
  }
  
  .comment-label {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  #comment {
    padding: 12px 14px;
    font-size: 14px;
    min-height: 70px;
  }
}

@media (max-width: 480px) {
  /* Скрываем текстовую информацию телефона и показываем иконку */
  .phone-info {
    display: none;
  }
  
  .phone-mobile {
    display: block;
  }
  
  .phone-mobile a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }
  
  .phone-mobile a:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
  }
  
  .phone-mobile a:active {
    transform: scale(0.95);
  }
  
  .phone-mobile img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
  }
  
  /* Улучшенная шапка для маленьких экранов */
  header {
    margin: 8px 10px;
    padding: 10px 12px;
    border-radius: 12px;
  }
  
  .header-row h1 {
    font-size: 18px;
    margin: 0 6px;
  }
  
  .back-btn {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 12px;
  }
  
  .cart-main {
    padding: 12px;
  }
  
  .cart-layout {
    gap: 16px;
  }
  
  /* Компактные карточки товаров */
  .cart-item {
    padding: 12px;
    gap: 8px;
    border-radius: 10px;
  }
  
  .cart-item img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
  }
  
  .cart-item-name {
    font-size: 14px;
    line-height: 1.2;
  }
  
  .cart-item-price {
    font-size: 12px;
  }
  
  .cart-item-qty {
    gap: 6px;
    margin-left: auto;
  }
  
  .weight-input {
    width: 55px;
    font-size: 12px;
    padding: 6px 8px;
  }
  
  .qty-btn, .remove-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  /* Улучшенные кнопки действий */
  .cart-actions {
    margin-top: 20px;
    padding: 0 12px 20px;
    gap: 10px;
  }
  
  .action-btn {
    padding: 12px 16px;
    font-size: 14px;
    min-height: 44px;
  }
  
  .section-header {
    padding: 12px;
  }
  
  .section-header h2 {
    font-size: 16px;
  }
  
  .order-card {
    padding: 12px;
    border-radius: 10px;
  }
  
  .order-card h3 {
    font-size: 15px;
    margin-bottom: 15px;
  }
  
  .delivery-info-card {
    margin-bottom: 15px;
  }
  
  .info-item {
    padding: 8px 0;
  }
  
  .info-icon {
    font-size: 16px;
    width: 24px;
    height: 24px;
  }
  
  .info-label {
    font-size: 12px;
  }
  
  .info-value {
    font-size: 13px;
  }
  
  .delivery-rules {
    padding: 10px;
    margin-bottom: 15px;
  }
  
  .delivery-rules p {
    font-size: 12px;
  }
  
  .comment-section {
    margin-top: 15px;
  }
  
  .comment-label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  #comment {
    padding: 10px 12px;
    font-size: 13px;
    min-height: 60px;
  }
  
  /* Улучшенные уведомления */
  .toast {
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 20px;
  }
}

/* Дополнительные улучшения для очень маленьких экранов */
@media (max-width: 360px) {
  .cart-item {
    padding: 10px;
    gap: 6px;
  }
  
  .cart-item img {
    width: 45px;
    height: 45px;
  }
  
  .cart-item-name {
    font-size: 13px;
  }
  
  .weight-input {
    width: 50px;
    font-size: 11px;
    padding: 5px 6px;
  }
  
  .qty-btn, .remove-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .action-btn {
    padding: 10px 14px;
    font-size: 13px;
    min-height: 40px;
  }
  
  .header-row h1 {
    font-size: 16px;
  }
}

/* Дополнительные улучшения */
.cart-item:last-child {
  border-bottom: none;
}

.empty-cart {
  animation: fadeInUp 0.6s ease-out;
}

.cart-content {
  animation: fadeInUp 0.4s ease-out;
}

/* Улучшенная прокрутка */
.cart-items-list {
  max-height: 60vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--border-light);
}

.cart-items-list::-webkit-scrollbar {
  width: 6px;
}

.cart-items-list::-webkit-scrollbar-track {
  background: var(--border-light);
  border-radius: 3px;
}

.cart-items-list::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.cart-items-list::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ====== МОДАЛЬНОЕ ОКНО ПОДТВЕРЖДЕНИЯ ====== */
.confirm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.confirm-modal-overlay.show {
  opacity: 1;
}

.confirm-modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  width: 100%;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
}

.confirm-modal-overlay.show .confirm-modal {
  transform: scale(1) translateY(0);
}

.confirm-modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.confirm-modal-icon {
  font-size: 48px;
  margin-bottom: 12px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.confirm-modal-header h3 {
  color: white;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.confirm-modal-body {
  padding: 24px;
  text-align: center;
}

.confirm-modal-body p {
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.confirm-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--background);
}

.confirm-btn-secondary,
.confirm-btn-primary {
  flex: 1;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirm-btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border);
}

.confirm-btn-secondary:hover {
  background: var(--background);
  border-color: var(--text-secondary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.confirm-btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(17, 87, 16, 0.3);
}

.confirm-btn-primary:hover {
  box-shadow: 0 4px 16px rgba(17, 87, 16, 0.4);
  transform: translateY(-1px);
}

.confirm-btn-primary:active,
.confirm-btn-secondary:active {
  transform: translateY(0);
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
  .confirm-modal {
    max-width: 90%;
    margin: 20px;
  }
  
  .confirm-modal-header {
    padding: 16px 20px;
  }
  
  .confirm-modal-header h3 {
    font-size: 18px;
  }
  
  .confirm-modal-body {
    padding: 20px;
  }
  
  .confirm-modal-body p {
    font-size: 15px;
  }
  
  .confirm-modal-footer {
    flex-direction: column;
    padding: 16px 20px;
  }
  
  .confirm-btn-secondary,
  .confirm-btn-primary {
    width: 100%;
  }
}