/* Modal layout */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1050;
  display: none;
  overflow: hidden;
  outline: 0;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}
.modal.show {
  display: flex !important;
}

/* Modal box */
.modal-dialog {
  max-width: 800px;
  margin: auto;
}
.modal-content {
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  animation: fadeInModal 0.3s ease;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Modal header */
.modal-header {
  padding: 1rem;
  background: #343a40;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title {
  margin: 0;
  font-size: 1.25rem;
}
.btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: white;
  cursor: pointer;
}

/* Modal body */
.modal-body {
  padding: 1rem;
  max-height: 70vh;
  overflow-y: auto;
}

/* Table styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
thead {
  background: #007bff;
  color: white;
}
th, td {
  padding: 0.75rem;
  text-align: center;
  border: 1px solid #dee2e6;
	 color: #0F0E6B;
}
tbody tr:nth-child(even) {
  color: #0F0E6B;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-dialog {
    width: 95%;
  }
}
