/**
 * 환불 규정 모달 스타일
 */

.refund-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.refund-modal-content {
  background: white;
  border-radius: 16px;
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

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

.refund-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e0e0e0;
}

.refund-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
  font-weight: 700;
}

.refund-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #666;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.refund-close-btn:hover {
  color: #333;
  background: #f0f0f0;
}

.refund-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.refund-modal-body h3 {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.125rem;
  color: #333;
  font-weight: 600;
}

.refund-modal-body h3:first-child {
  margin-top: 0;
}

.refund-modal-body p {
  margin: 0.5rem 0;
  line-height: 1.7;
  color: #555;
}

.refund-modal-body ul {
  margin: 0.5rem 0 1rem 1.5rem;
  line-height: 1.7;
  color: #555;
}

.refund-modal-body li {
  margin: 0.25rem 0;
}

.refund-modal-body strong {
  color: #333;
  font-weight: 600;
}

.refund-modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
}

.refund-confirm-btn {
  padding: 0.75rem 2.5rem;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.refund-confirm-btn:hover {
  background: #45a049;
}

@media (max-width: 640px) {
  .refund-modal-content {
    max-height: 90vh;
    border-radius: 12px;
  }

  .refund-modal-header,
  .refund-modal-footer {
    padding: 1rem 1.5rem;
  }

  .refund-modal-body {
    padding: 1.5rem;
  }

  .refund-modal-header h2 {
    font-size: 1.25rem;
  }

  .refund-modal-body h3 {
    font-size: 1rem;
  }
}
