*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #d9d9d9;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

p {
  margin-bottom: 16px;
}

input,
textarea,
select,
button {
  font-size: 16px;
  line-height: 1.5;
}

input,
textarea,
select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  font-family: inherit;
}

button {
  cursor: pointer;
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
}

button:hover {
  background-color: var(--secondary);
}

.text-center {
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

th,
td {
  padding: 12px;
  text-align: left;
}
tr:hover {
  background-color: #f5f5f5;
}
.slideright {
  display: flex;
}
.l_input_group {
  display: flex;
  gap: 5px;
  flex-direction: column;
}
.modal-close {

  border: none;
  font-size: 28px;
  line-height: 1;

  cursor: pointer;
  padding: 2px;

  aspect-ratio: 1/1;
  transition: color 0.2s ease;
  color: rgba(249, 250, 251, 0.85);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.15);
}



.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 18px;
  background: rgba(15, 23, 42, 0.4);
  overflow-y: auto;
  z-index: 2000;
}

.modal-overlay[style*="display: block"],
.modal-overlay.is-visible {
  display: flex !important;
}

.modal-overlay .modal_content:not(.enhanced-report-modal) {
  background: #fefefe;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #888;
  width: 60%;
  max-width: 720px;
}

.enhanced-report-modal {
  width: min(720px, 92%);
  max-height: calc(100vh - 96px);
  padding: 0;
  border-radius: 20px;
  border: none;
  box-shadow: 0 28px 60px -28px rgba(15, 23, 42, 0.55);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (min-height: 760px) {
  .modal-overlay {
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

.enhanced-report-modal .modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px 24px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #ffffff;
}

.modal-header-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.modal-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.modal-subtitle {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.85);
}

.enhanced-report-modal .modal-body {
  padding: 32px;
  background: #f5f7fb;
  overflow-y: auto;
  flex: 1 1 auto;
}
.form-hint {
  font-size: 12px;
  color: #555555cc;
  margin-top: 4px;
  line-height: 1.5;
  margin: 0;
}
