/* MIGRATED TO TAILWIND - Level Selection Modal Styles
   Keyframes moved to tailwind.config.js
   Visibility toggling moved to tailwind-input.css
   Layout and styling now uses Tailwind utilities in index.html

body.modal-open {
  overflow: hidden;
}

body.modal-open .container {
  pointer-events: none;
}
*/

/* Keep body.modal-open rule active - still needed for scroll lock */
body.modal-open {
  overflow: hidden;
}

body.modal-open .container {
  pointer-events: none;
}

/* MIGRATED - rest of modal styles
.level-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.level-modal.visible {
  display: flex;
}

.level-modal-content {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  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); }
}

.level-modal-content h2 {
  margin: 0 0 12px 0;
  font-size: 24px;
  color: #333;
}

.level-modal-content p {
  margin: 0 0 24px 0;
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}

.level-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.level-btn {
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid #4A90E2;
  background: white;
  color: #4A90E2;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.level-btn:hover:not(:disabled) {
  background: #4A90E2;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.level-btn:active:not(:disabled) {
  transform: translateY(0);
}

.level-btn:disabled,
.level-btn.level-btn-disabled {
  border-color: #ccc;
  color: #999;
  background: #f5f5f5;
  cursor: not-allowed;
}

.level-btn:disabled:hover,
.level-btn.level-btn-disabled:hover {
  transform: none;
  box-shadow: none;
  background: #f5f5f5;
  color: #999;
}

@media (max-width: 480px) {
  .level-modal-content {
    padding: 24px;
    margin: 16px;
  }

  .level-modal-content h2 {
    font-size: 20px;
  }

  .level-modal-content p {
    font-size: 14px;
  }

  .level-btn {
    padding: 12px 16px;
    font-size: 15px;
  }
}
*/