/* MCRF.css */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background: var(--color1);
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1001;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h2 {
  font-size: 1.5rem;
  margin: 0;
}

.close-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  margin-bottom: 60px;
}

.modal-content label {
  display: block;
  margin-bottom: 5px;
}

.modal-content input[type="date"],
.modal-content select {
  width: 95%;
  padding: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--color4);
  border-radius: 4px;
}

.modal-actions {
  text-align: right;
}

.modal-actions button {
  padding: 10px 15px;
  background-color: var(--color3);
  border: none;
  border-radius: 4px;
  color: var(--color1);
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal-actions button:hover {
  background-color: var(--color6);
}

/* If you want to add animations for the modal */
@keyframes modalOpen {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal {
  animation: modalOpen 0.3s ease-out;
}

.custom-time-input {
  background-color: var(--color1); /* Light gray background */
  border: 1px solid var(--color5); /* Gray border */
  border-radius: 4px; /* Rounded corners */
  padding: 5px; /* Padding inside the input */
  width: 97%; /* Full width of the container */
  margin-bottom: 10px;
}
