/* 🔥 BROJACK AGENT #2: Seed Commitment Error/Cancellation Modals */
/* Styling for timeout, cancellation, and error modals */

.seed-cancellation-modal,
.seed-timeout-modal,
.seed-error-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seed-cancellation-modal .modal-backdrop,
.seed-timeout-modal .modal-backdrop,
.seed-error-modal .modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.seed-cancellation-modal .modal-content,
.seed-timeout-modal .modal-content,
.seed-error-modal .modal-content {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #1C2338 0%, #2A3550 100%);
  border: 1px solid rgba(85, 93, 255, 0.3);
  border-radius: 24px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(85, 93, 255, 0.2);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.seed-cancellation-modal .modal-content h3,
.seed-timeout-modal .modal-content h3,
.seed-error-modal .modal-content h3 {
  margin: 0 0 16px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
}

.seed-cancellation-modal .modal-content p,
.seed-timeout-modal .modal-content p,
.seed-error-modal .modal-content p {
  margin: 0 0 16px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #B8C2D9;
  text-align: center;
  line-height: 1.6;
}

.seed-cancellation-modal .modal-content p strong,
.seed-timeout-modal .modal-content p strong,
.seed-error-modal .modal-content p strong {
  color: #FFFFFF;
  font-weight: 600;
}

.seed-cancellation-modal .modal-actions,
.seed-timeout-modal .modal-actions,
.seed-error-modal .modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.seed-cancellation-modal .btn-retry,
.seed-timeout-modal .btn-retry,
.seed-error-modal .btn-retry {
  flex: 1;
  max-width: 200px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #555DFF 0%, #7B83FF 100%);
  border: none;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.3s ease;
}

.seed-cancellation-modal .btn-retry:hover,
.seed-timeout-modal .btn-retry:hover,
.seed-error-modal .btn-retry:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(85, 93, 255, 0.4);
}

.seed-cancellation-modal .btn-cancel,
.seed-timeout-modal .btn-cancel,
.seed-error-modal .btn-cancel {
  flex: 1;
  max-width: 200px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.3s ease;
}

.seed-cancellation-modal .btn-cancel:hover,
.seed-timeout-modal .btn-cancel:hover,
.seed-error-modal .btn-cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .seed-cancellation-modal .modal-content,
  .seed-timeout-modal .modal-content,
  .seed-error-modal .modal-content {
    padding: 24px;
    max-width: 95%;
  }
  
  .seed-cancellation-modal .modal-content h3,
  .seed-timeout-modal .modal-content h3,
  .seed-error-modal .modal-content h3 {
    font-size: 20px;
  }
  
  .seed-cancellation-modal .modal-content p,
  .seed-timeout-modal .modal-content p,
  .seed-error-modal .modal-content p {
    font-size: 14px;
  }
  
  .seed-cancellation-modal .modal-actions,
  .seed-timeout-modal .modal-actions,
  .seed-error-modal .modal-actions {
    flex-direction: column;
  }
  
  .seed-cancellation-modal .btn-retry,
  .seed-timeout-modal .btn-retry,
  .seed-error-modal .btn-retry,
  .seed-cancellation-modal .btn-cancel,
  .seed-timeout-modal .btn-cancel,
  .seed-error-modal .btn-cancel {
    max-width: 100%;
    width: 100%;
  }
}

