/* style.css - Custom UI styling */
/* ========== 2-col key/value display (Client Information) ========== */
/* Compact variant for Needs & ADL tables */

/* --- Compact checkbox-like grid (PDF only) --- */
.checkgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* tweak to 3/5 if needed */
  gap: 6px 14px;
  margin: 8px 0 18px;
  font-size: 11px;
}
.checkcell {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cb {
  display: inline-block;
  width: 11px;
  height: 11px;
  border: 1px solid #2c3e50;
  margin-top: 1px;
}
.cb.on {
  background: #2c3e50;
  position: relative;
}
.cb.on::after {
  content: "✓";
  font-size: 9px;
  line-height: 11px;
  color: #fff;
  position: absolute;
  top: -1px;
  left: 2px;
}

/* ==========================================
   LONG FORM ASSESSMENT SECTIONS (textarea sizing)
   ========================================== */
.styled-form-table.longform textarea {
  min-height: 120px;       /* make them taller */
  font-size: 0.95rem;      /* slightly larger text */
  line-height: 1.4;        /* better readability */
  padding: 8px 10px;       /* more comfortable typing space */
  resize: vertical;        /* allow manual resizing */
}

.styled-form-table.longform th {
  font-size: 1rem;
  padding-top: 10px;
  padding-bottom: 4px;
}

/* Optional: keep page-break control for printing */
@media print {
  .styled-form-table.longform {
    page-break-inside: avoid;
  }
}

.styled-form-table.compact th,
.styled-form-table.compact td {
  padding: 4px 6px;         /* tighter padding */
  vertical-align: top;      /* align inputs at the top */
}

.styled-form-table.compact textarea,
.styled-form-table.compact input,
.styled-form-table.compact select {
  font-size: 0.85rem;       /* slightly smaller for fitting */
  line-height: 1.2;
  padding: 4px 6px;
  width: 100%;
  box-sizing: border-box;
  white-space: normal;      /* ensure text wraps */
  word-wrap: break-word;
}

@media print {
  .styled-form-table.compact th,
  .styled-form-table.compact td {
    padding: 2px 4px;
    font-size: 0.8rem;
  }
  .styled-form-table.compact textarea,
  .styled-form-table.compact input,
  .styled-form-table.compact select {
    font-size: 0.8rem;
  }
}

.kv-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 4 + 4 items */
  column-gap: 56px;   /* space between the two columns */
  row-gap: 12px;      /* space between rows */
}
.kv{
  display:grid;
  grid-template-columns: 170px 1fr; /* label width | value flexes */
  column-gap: 14px;
  align-items: baseline; /* keep label/value baselines aligned */
}
.kv .k{
  color:#555;
  font-weight:600;
  line-height:1.25;
}
.kv .v{
  line-height:1.25;
}

/* ========== 2-col form grid (Assessment Details) ========== */
.form-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;  /* pushes the right column over */
  row-gap: 18px;
}
.form-field{
  display:flex;
  flex-direction:column;
}
.form-field label{
  font-weight:600;
  color:#555;
  margin-bottom:6px;
}
.form-field input,
.form-field select,
.form-field textarea{
  width:100%;
  box-sizing: border-box;
}

/* Responsive: stack to 1 column on narrow screens */
@media (max-width: 900px){
  .kv-grid,
  .form-grid{
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

.two-col-table th, 
.two-col-table td {
  padding: 6px 12px;
  vertical-align: middle;   /* ensure both sit centered */
  line-height: 1.6;         /* keep consistent text height */
}

.two-col-table th {
  font-weight: 600;
  color: #333;
  text-align: left;
  width: 20%;
}

.two-col-table td {
  font-weight: 400;          /* lighter so not bold */
  color: #222;
  width: 30%;
}

.two-col-table {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 equal columns */
  gap: 40px; /* <-- space between columns */
  width: 100%;
}

.signature-block {
  margin-bottom: 20px;
}

.sig-toggle {
  margin-bottom: 8px;
}

.sig-mode {
  margin-top: 8px;
}

.typed-signature,
.signature-pad {
  flex: 1;                /* allow signature to expand */
  min-height: 40px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 1rem;
  min-width: 300px;       /* ensures it doesn’t collapse */
}

.sig-meta {
  display: flex;
  align-items: center;    /* align vertically */
  gap: 20px;              /* space between signature + date */
}

.sig-meta input[type="date"] {
  flex: 0 0 180px;        /* fixed width for date */
  padding: 6px;
}

.preferences-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two equal columns */
  gap: 20px; /* space between the two sections */
}

.pref-section {
  background: #fafafa;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.styled-form-table th {
  text-align: left;
  font-weight: 500;   /* softer than bold */
  background: none;   /* remove gray header background */
  padding: 8px 4px 2px; 
  border: none;
  font-size: 0.95rem;
  color: #333;
}

.styled-form-table td {
  padding: 0 4px 12px; /* space below each textarea */
  border: none;
}

.styled-form-table textarea {
  width: 100%;
  resize: vertical;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 6px;
  font-size: 0.9rem;
  line-height: 1.3;
}

.adv-checks { display: flex; flex-wrap: wrap; gap: 10px; }
.adv-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border: 1px solid #ddd; border-radius: 8px;
  background: #fafafa;
}
.adv-chip input { transform: translateY(1px); }

.checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* space between items */
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f9f9f9;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.checkbox-grid input[type="checkbox"] {
  margin: 0;
}

body {
    background-color: #f2f2f2;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}

.calendar-layout {
  display: block; /* vertical stacking */
  margin-top: 20px;
}

.filter-wrapper {
  margin-bottom: 20px;
}

.filter-panel {
  display: block;
  padding: 16px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
  opacity: 1;
  max-width: 400px;
}

.filter-group {
  margin-bottom: 12px;
}

.filter-panel label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
}

.filter-panel select,
.filter-panel input[type="date"] {
  width: 100%;
  padding: 6px;
  box-sizing: border-box;
  margin-top: 4px;
}

.filter-clear-btn {
  width: 100%;
  background-color: #c00;
  color: #fff;
}

.hidden {
  display: none !important;
}

.filter-panel.hidden {
  display: none;
}

.calendar-container {
  width: 100%;
}

.calendar-view {
  width: 100%;
  min-width: unset;
}

.print-logo {
    width: 100px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.container {
    max-width: 400px;
    margin: auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

h1, h2, h3 {
    color: #cc0000; /* Red for headlines */
}

nav, .navbar {
    background-color: #003366; /* Deep blue navbar */
    padding: 15px;
    color: white;
}

.btn, button.btn {
    display: inline-block;
    background-color: #cc0000;
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
    border: none;
    box-sizing: border-box;
    text-decoration: none;
}

button.btn {
    all: unset;
    display: inline-block;
    background-color: #cc0000;
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
    border: none;
    box-sizing: border-box;
}

button:hover, .btn:hover {
    background-color: #990000;
}

input, select, textarea {
    padding: 10px;
    margin: 5px 0;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.dashboard-container {
    max-width: 1500px;
    margin: auto;
    padding: 40px;
    background-color: #eaeaea;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.small-btn {
    font-size: 0.8em;
    padding: 6px 12px;
}

/* Dashboard-specific styling */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-section {
    margin-top: 30px;
}

.button-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.btn.small-btn {
    font-size: 0.75em;
    padding: 6px 12px;
}

.logout-btn {
    background-color: #003366;
    padding: 10px 16px;
}

.logout-btn:hover {
    background-color: #00264d;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.user-table th,
.user-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.user-table th {
    background-color: #003366;
    color: white;
}

.user-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.btn.small {
    padding: 5px 10px;
    font-size: 0.9em;
}

.btn.small.red {
    background-color: #990000;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

.wide-container {
    max-width: 1200px;
    margin: auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.staff-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 30px;
}

.staff-table th,
.staff-table td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.staff-table th {
    background-color: #003366;
    color: white;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    overflow-x: auto;
}

.styled-table th,
.styled-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.styled-table th {
    background-color: #003366;
    color: white;
}

.client-details-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    justify-content: flex-start;
}

.client-info-box {
    flex: 1 1 60%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0,0,0,0.05);
}

.client-data-box {
    flex: 1 1 30%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(0,0,0,0.05);
}

.red-header {
    color: #cc0000;
}

.dropdown-section {
    margin-top: 20px;
}

.dropdown-header {
    font-weight: bold;
    font-size: 18px;
    color: #cc0000;
    cursor: pointer;
    padding: 6px 0;
    display: flex;
    align-items: center;
}

.dropdown-content {
    margin-top: 10px;
}

.dropdown-content.hidden {
    display: none;
}

/* Text-only accordions get underline */
.accordion > summary:not(.btn) {
    font-weight: bold;
    cursor: pointer;
    padding: 8px 0;
    list-style: none;
    text-decoration: underline;
}

/* Button-style accordions NEVER get underline */
.accordion > summary.btn,
.medication-accordion > summary {
    text-decoration: none !important;
}

.accordion-content {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-left {
    flex: 1;
}

.header-right {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end; /* ✅ Pushes it to the far right */
}

.inbox-btn {
    background-color: #003366;
    color: white;
    padding: 10px 16px;
    border-radius: 4px;
}

.inbox-btn:hover {
    background-color: #002244;
}

.dashboard-section ul {
    list-style: none;
    padding-left: 0;
}

.dashboard-section ul li {
    margin: 0.3rem 0;
}

.dashboard-grid {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
}

.main-section {
    flex: 3;
}

.archive-section {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
}

.dashboard-wrapper {
    display: flex;
    gap: 2.5rem; /* increased space between containers */
    align-items: flex-start;
    margin-top: 2rem;
}

.dashboard-left, .dashboard-right {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
}

.dashboard-left {
    flex: 6; /* wider left side */
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.dashboard-right {
    flex: 1;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    min-width: 250px;
}

.dashboard-layout-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.dashboard-main-box {
    flex: 3;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.dashboard-archive-box {
    flex: 1.2;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.archive-list {
    list-style: none;
    padding-left: 0;
}

.archive-link {
    color: navy;
    font-weight: bold;
    text-decoration: underline;
}


#dashboardSearch {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
}

.search-results {
    background: white;
    border: 1px solid #ccc;
    max-height: 250px;
    overflow-y: auto;
    position: absolute;
    top: 100%;                   /* below the input */
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.search-results div {
    padding: 6px 8px;
    cursor: pointer;
}

.search-results div:hover {
    background-color: #f0f0f0;
}

.floating-search-bar {
    position: absolute;
    top: 75px;        /* adjust vertically */
    left: 325px;      /* adjust based on logo width */
    width: 250px;
    z-index: 9999;
}

.floating-search-bar input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.floating-search-bar .search-results {
    background: white;
    border: 1px solid #ccc;
    max-height: 250px;
    overflow-y: auto;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.floating-search-bar .search-results div {
    padding: 6px 8px;
    cursor: pointer;
}

.floating-search-bar .search-results div:hover {
    background-color: #f0f0f0;
}

.accordion summary {
    font-weight: bold;
    cursor: pointer;
    padding: 8px 0;
    list-style: none;
    text-decoration: underline; /* 👈 add this */
}

.manage-users-container {
    max-width: 100%;
    width: 90%;
    padding: 30px 40px;
    margin: 40px auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
}

.alert-page {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff3f3;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.danger-text {
    color: darkred;
    font-size: 28px;
    margin-bottom: 20px;
}

.button-group {
    margin-top: 30px;
}

.button-group .btn {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
}

footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}
/* ===================================================================
   SIGNATURE FIELD STYLING (Adobe-Style Typed + Drawn)
   =================================================================== */

.signature-block {
  padding: 18px 20px;
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  margin-bottom: 30px;
  background: #fafafa;
}

.signature-block label strong {
  font-size: 1.1rem;
}

.signature-error {
  display: none;
  color: #b40000;
  font-weight: bold;
  margin-bottom: 6px;
}

/* Mode toggle radios */
.sig-toggle label {
  margin-right: 18px;
  cursor: pointer;
  font-weight: 500;
}

/* Typed signature input */
.typed-signature-input {
  padding: 8px 10px;
  font-size: 1.2rem;
  width: 300px;
}

/* Typed cursive preview */
.signature-preview {
  margin-top: 10px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  display: inline-block;
}

.signature-preview.cursive {
  font-family: "Allura", "Dancing Script", "Satisfy", cursive;
  font-size: 2rem;
  color: #333;
}

/* Drawn preview image */
.signature-preview img {
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Clear All Signature Button */
.clear-all-sigs-btn {
  background: #8b0000;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 18px;
  cursor: pointer;
  border: none;
}

.clear-all-sigs-btn:hover {
  background: #a00000;
}

/* ===============================
   Horizontal Tab UI
=============================== */
.tabs {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
}

.tab-link {
  padding: 10px 16px;
  background: #eee;
  border: none;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  font-weight: 600;
}

.tab-link.active {
  background: #fff;
  border-bottom: 2px solid #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Narrow first column for label/value tables */
table.narrow-first > tbody > tr > *:first-child {
  width: 28%;
  white-space: nowrap;
}

table.narrow-first > tbody > tr > *:last-child {
  width: 72%;
}

.provider-columns {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.provider-col {
    flex: 1;
    min-width: 0; /* THIS IS THE SECRET FIX */
}

.provider-col .section-title {
    margin: 0 0 6px 0 !important;
    padding: 4px 8px;
    width: auto;
    display: inline-block;
}

.provider-col table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    overflow: hidden;
}

/* ===============================
   PDF-only section headers
   =============================== */

.pdf-section-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
}

.pdf-section-table thead th {
  background: #ecf0f1;
  border-left: 4px solid #7f8c8d;
  font-weight: 700;
  font-size: 12px;
  text-align: left;
  padding: 6px 10px;
  border-bottom: 1px solid #ccc;
}

.support-line {
    margin-bottom: 0;
}

.outcome-notes-label {
    font-weight: bold;
    margin-bottom: 2px;
}

.outcome-content {
    white-space: pre-wrap;
    margin-left: 0;   /* 🔥 NO INDENT */
}

.year-toggle {
    background: #e5e5e5;
    color: #333;
    border: 1px solid #bbb;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 6px;
}

.year-toggle:hover {
    background: #d8d8d8;
}

.month-container {
    display: none;
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.medium-container {
    max-width: 1100px;
    margin: auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* ===============================
   MAR TABLE LAYOUT
   =============================== */

.mar-card {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.06);
}

.mar-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: max-content;
  min-width: 100%;
  font-size: 11px;
}

.mar-table-wrapper {
  overflow-x: auto;
  margin-top: 12px;
}

.mar-table th,
.mar-table td {
  border: 1px solid #999;
  padding: 4px;
  text-align: center;
  white-space: normal;
}

.mar-table th {
  background: #003366;
  color: #fff;
  font-weight: 600;
}

.med-col {
  min-width: 420px;
  text-align: left !important;
}

.time-col {
  width: 70px;
  white-space: nowrap;
}

.day-col {
  width: 28px;
  height: 26px;
  white-space: nowrap;
}

.mar-footnote {
  margin-top: 10px;
  font-size: 11px;
}

.mar-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  width: 22px;
  height: 22px;
}

.mar-initials.circled {
  border: 2px solid #000;
  border-radius: 50%;
  cursor: pointer;
}

.mar-cell {
  cursor: pointer;
}

.mar-cell[data-locked="true"] {
  cursor: default;
  background-color: #f7f7f7;
}

.mar-cell:hover .mar-initials.circled::after {
  content: " ⓘ";
  font-size: 10px;
  color: #555;
}

.admin-type-wrapper {
  margin-top: 16px;
}

.admin-type-title {
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 6px;
}

.radio-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  column-gap: 10px;
  margin-bottom: 6px;
}

.radio-row input[type="radio"] {
  margin-top: 3px; /* aligns with first text line */
  cursor: pointer;
}

.radio-row label {
  cursor: pointer;
  line-height: 1.3;
}

.mar-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.mar-tab {
  padding: 6px 14px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  font-weight: bold;
}

.mar-tab.active {
  background: #fff;
  border-bottom: 2px solid #c00;
}

.mar-tab-content {
  display: none;
}

.mar-tab-content.active {
  display: block;
}

.circled-note {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ccc;
}

.mar-cell.mar-outside-window {
  cursor: not-allowed !important;
  background-color: #f2f2f2;
  opacity: 0.85;
}

.signature-table {
    width: 100%;
    border-collapse: collapse;
}

.signature-table th,
.signature-table td {
    border: 1px solid #000;
    padding: 10px;
}

.signature-box {
    height: 80px;
}

.date-box {
    height: 80px;
}

.mar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 8px;
}

.mar-col {
    width: 32%;
    font-size: 0.95rem;
    line-height: 1.4;
}

.mar-col-right {
    text-align: right;
}

.log-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    align-items: start;
}


