/* Prevent text selection */
body {
  -webkit-user-select: none; /* Safari (iOS) and Android Chrome */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE/Edge */
  user-select: none; /* Standard */
}

/* Allow text selection for input fields */
input,
textarea,
[contenteditable="true"] {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Popup modal styling */
#copyAlertModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease-in-out;
}

.modal-content {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  font-family: "Segoe UI", sans-serif;
  position: relative;
}

.modal-content h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #e84118;
}

.modal-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #333;
}

.modal-content button {
  padding: 10px 20px;
  background-color: #e84118;
  border: none;
  color: #fff;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal-content button:hover {
  background-color: #c23616;
}

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

/* Icon styling */
.modal-icon svg {
  display: inline-block;
  height: 48px;
  width: 48px;
  margin-bottom: 15px;
}
