.processo-rj-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.processo-rj-modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  width: 90%;
  max-width: 500px;
}

.processo-rj-warning-modal {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 24px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  animation: modalSlideIn 0.3s ease-out;
}

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

.processo-rj-warning-modal .warning-icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

.processo-rj-warning-modal .warning-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.processo-rj-warning-modal .warning-message {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 24px;
}

.processo-rj-warning-modal .modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.processo-rj-warning-modal .btn-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0056b3; /* Cor primária do tema */
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 500;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}

.processo-rj-warning-modal .btn-confirm:hover {
  background-color: #004494;
  text-decoration: none !important;
  color: #fff !important;
}

.processo-rj-warning-modal .btn-cancel {
  background-color: #fff;
  background-image: none;
  color: #666;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.processo-rj-warning-modal .btn-cancel:hover {
  background-color: #f5f5f5;
  color: #333;
  border-color: #ccc;
}

/* Responsividade para telas maiores */
@media (min-width: 480px) {
  .processo-rj-warning-modal .modal-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap; /* Permitir quebra se não couber */
  }

  .processo-rj-warning-modal .btn-cancel,
  .processo-rj-warning-modal .btn-confirm {
    width: auto;
    white-space: nowrap;
    max-width: 100%; /* Evitar overflow */
  }
  
  .processo-rj-warning-modal .btn-cancel {
    order: 1;
    margin-right: 10px; /* Espaçamento entre botões centralizados */
  }
  
  .processo-rj-warning-modal .btn-confirm {
    order: 2;
  }
}
