
:root {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --surface-hover: #2c2c2c;
    --text-primary: #e0e0e0;
    --text-secondary: #aaaaaa;
    --brand-purple: #6200ee;
    --brand-purple-hover: #7c4dff;
    --accent-teal: #03dac6;
    --error-red: #cf6679;
    --warning-orange: #ff9800;
    --card-blue: #3B82F6;
    --card-green: #10B981;
    --card-slate: #64748B;

    /* Auth Specific Variables */
    --card-bg: #1e1e1e;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --input-bg: #2d2d2d;
    --danger: #cf6679;
    --primary: #6200ee;
    --primary-hover: #3700b3;
}

:focus-visible {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}
/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1f1f1f;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    flex: 0 0 auto;
}
.nav-brand {
    font-size: 1.5em;
    font-weight: bold;
    color: #bb86fc;
    text-decoration: none;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.user-info {
    color: var(--text-secondary);
    font-size: 0.9em;
    border-right: 1px solid #444;
    padding-right: 15px;
}
.logout-btn {
    background: none;
    border: 1px solid var(--error-red);
    color: var(--error-red);
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.9em;
    border-radius: 4px;
    transition: all 0.2s;
}
.logout-btn:hover {
    background-color: var(--error-red);
    color: white;
}

/* Global Elements */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Connections Page Layout Override */
.container.connections-page {
    overflow: hidden; /* Disable main scroll */
}

.connections-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    height: 100%;
    overflow: hidden;
}

.scrollable-column {
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Inventory Items */
.inventory-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.inventory-item {
  padding: 10px 15px;
  border-bottom: 1px solid #2a2a2a;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}
.inventory-item:hover {
  background-color: #333;
}
.inventory-item.selected {
  background-color: #2a2a40;
  border-left: 4px solid #bb86fc;
}

.status-dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 15px;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.dot-red { background-color: #cf6679; }
.dot-green { background-color: #00c853; }
.dot-gray { background-color: #666; }

.inv-info {
    display: flex;
    flex-direction: column;
}
.inv-name { font-weight: bold; color: #fff; }
.inv-meta { font-size: 0.85em; color: #888; }

/* Connections Panel */
.connection-header {
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.connection-meta {
    margin-top: 5px;
}
.connection-images {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.img-box {
    width: 150px;
    height: 150px;
    border: 1px solid #333;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-box span {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0,0,0,0.7);
    padding: 2px 5px;
    font-size: 0.7em;
    border-radius: 4px;
    color: white;
}
.mappings-table {
    width: 100%;
    border-collapse: collapse;
}
.mappings-table th, .mappings-table td {
    padding: 8px;
    border-bottom: 1px solid #333;
    text-align: left;
}
a { color: #bb86fc; text-decoration: none; }
a:hover { text-decoration: underline; }
input, select, button, textarea {
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 8px;
    margin: 5px 0;
    border-radius: 4px;
}
button {
    background-color: var(--brand-purple);
    border: none;
    cursor: pointer;
    font-weight: bold;
    color: white;
}
button:hover { background-color: var(--brand-purple-hover); }
button:disabled { background-color: #555; cursor: not-allowed; }
.btn-danger { background-color: var(--error-red); }
.btn-danger:hover { background-color: #b00020; }
.btn-warning { background-color: var(--warning-orange); color: black; }
.btn-warning:hover { background-color: #e65100; }

/* Auth Page Styles (One Card) */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh; /* Changed from 100vh to allow navbar if present or just center in view */
  background-color: var(--bg-color);
  font-family: 'Inter', sans-serif;
}

.auth-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.auth-header {
  color: var(--text-main);
  margin-bottom: 2rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--input-bg);
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text-main);
  font-size: 1rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-primary {
  width: 100%;
  padding: 0.875rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.auth-toggle {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.toggle-link {
  color: #bb86fc;
  cursor: pointer;
  font-weight: 600;
  margin-left: 5px;
  text-decoration: none;
}

.toggle-link:hover {
  text-decoration: underline;
}

.forgot-password {
  display: block;
  margin-top: 1rem;
  color: #bb86fc; /* Explicitly Light Purple per request */
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-password:hover {
  color: var(--text-main);
}

/* Dashboard Grid */
.dashboard-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 20px;
}
@media (max-width: 900px) {
    .dashboard-container { grid-template-columns: 1fr; }
}

.card {
    background-color: var(--surface-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* Zone 1: Money Card */
.money-card {
    background-color: var(--surface-color);
    border-top: 4px solid var(--brand-purple);
    padding: 25px;
}
.money-card h2 { margin-top: 0; color: var(--brand-purple); }
.start-session-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    background-color: var(--brand-purple);
    margin-top: 15px;
    border-radius: 6px;
}
.new-customer-link {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 0.9em;
    color: var(--text-secondary);
    cursor: pointer;
    margin-left: 10px;
    text-decoration: underline;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Zone 2: Operational Tools */
.ops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.ops-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 100px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-align: center;
    transition: transform 0.1s, filter 0.1s;
}
.ops-card:hover {
    transform: translateY(-2px);
    text-decoration: none;
    filter: brightness(1.1);
}
.ops-card svg { width: 32px; height: 32px; margin-bottom: 8px; fill: currentColor; }
.bg-blue { background-color: var(--card-blue); }
.bg-green { background-color: var(--card-green); }
.bg-slate { background-color: var(--card-slate); }

/* Zone 3: Admin Tools */
.admin-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: flex-start;
    padding-top: 20px;
    border-top: 1px solid #333;
}
.admin-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9em;
}
.admin-link svg { width: 18px; height: 18px; fill: currentColor; }
.admin-link:hover { color: white; }

/* Zone 4: Flight Sidebar */
.flight-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.flight-item {
    background-color: var(--surface-color);
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #555;
    font-size: 0.9em;
}
.flight-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}
.flight-code { font-weight: bold; color: #fff; }
.flight-route { color: var(--text-secondary); font-size: 0.85em; }
.flight-status { font-weight: bold; font-size: 0.8em; }
.status-green { color: var(--card-green); border-color: var(--card-green); }
.status-orange { color: var(--warning-orange); border-color: var(--warning-orange); }
.status-red { color: var(--error-red); border-color: var(--error-red); }

/* Tables & Lists */
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { border-bottom: 1px solid #333; padding: 10px; text-align: left; }

.fish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.fish-card {
  background: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  border: 1px solid #333;
}

.image-container {
  height: 180px;
  background: #000;
  position: relative;
  width: 100%;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.low-stock {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #cf6679; /* Red warning */
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}

.card-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.fish-card h3 { margin: 0; color: #fff; font-size: 1.1rem; }
.latin-name { margin: 0; color: #b0b0b0; font-style: italic; font-size: 0.9rem; }
.location { color: #e0e0e0; font-size: 0.9rem; }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 4px;
}

.price { color: #fff; font-weight: bold; font-size: 1.2rem; }
.stock { color: #b0b0b0; font-size: 1.2rem; font-weight: bold; }

/* STEPPER STYLES */
.action-row {
  display: flex;
  gap: 12px;
  margin-top: auto; /* Push to bottom */
}

.stepper {
  display: flex;
  align-items: center;
  background: #2d2d2d;
  border-radius: 4px;
}

.step-btn {
  background: none;
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
  margin: 0;
}

.step-btn:disabled { color: #555; cursor: not-allowed; }

.qty-input {
  width: 30px;
  background: none;
  border: none;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  padding: 0;
  margin: 0;
  appearance: none; /* Hide spinner arrows */
}

.add-btn {
  flex: 1;
  background: #6200ee;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
  margin: 0;
}

.add-btn:hover { background: #3700b3; }

/* Success State (Green) */
.add-btn.success {
  background: #03dac6;
  color: #000;
}

/* LIST VIEW OVERRIDES */
.fish-grid.list-view {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fish-grid.list-view .fish-card {
  flex-direction: row;
  align-items: center;
  height: auto;
  padding: 5px;
  width: 100%;
}

.fish-grid.list-view .image-container {
  height: 50px;
  width: 50px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 15px;
}

.fish-grid.list-view .low-stock {
  display: none; /* Hide badge in list view, use text color instead */
}

.fish-grid.list-view .card-details {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  gap: 20px;
}

.fish-grid.list-view .details-text {
  flex: 2;
  display: flex;
  flex-direction: column;
}

.fish-grid.list-view .location-col {
  flex: 1;
  display: flex;
  align-items: center;
  color: #e0e0e0;
}

.fish-grid.list-view .price-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fish-grid.list-view .action-row {
  margin-top: 0;
  width: 200px;
  margin-left: auto; /* Push to right on desktop */
}

.fish-grid.list-view .price-row {
  margin-top: 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.sales-toolbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-color);
  padding: 10px 0;
  border-bottom: 1px solid #333;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.toggle-container {
  display: flex;
  background: #333;
  border-radius: 4px;
  padding: 2px;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: #aaa;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.9em;
}

.toggle-btn.active {
  background: #555;
  color: white;
  border-radius: 3px;
}

.btn-outline-teal {
  border: 2px solid var(--accent-teal);
  color: var(--accent-teal);
  background: transparent;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
}
.btn-outline-teal:hover {
  background: rgba(3, 218, 198, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}
.modal-content {
    background-color: var(--surface-color);
    margin: 5vh auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

#review-content {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    margin-bottom: 15px;
}

.review-footer {
    flex-shrink: 0;
}

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

.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    flex-shrink: 0;
}

.pagination-controls select {
    width: auto;
    margin: 0;
}

@media (max-width: 768px) {
    .review-table {
        table-layout: fixed;
    }
    .review-table td:first-child {
        width: 55%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .review-table td:nth-child(2) { width: 20%; }
    .review-table td:nth-child(3) { width: 25%; }
}

/* Utilities */
.text-muted { color: var(--text-secondary); }
.badge {
    background-color: var(--error-red);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    position: relative;
    top: -8px;
}

/* Mobile Menu Defaults */
.desktop-only { display: flex; }
.mobile-only { display: none; }
.menu-toggle {
    background: none; border: none; font-size: 1.5rem; color: #fff; cursor: pointer; padding: 5px;
}
.menu-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 998; display: none;
}
.side-drawer {
    position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
    background: var(--surface-color); z-index: 999;
    box-shadow: -2px 0 10px rgba(0,0,0,0.5);
    transition: right 0.3s ease-in-out;
    display: flex; flex-direction: column;
}
.side-drawer.open { right: 0; }
.drawer-header {
    padding: 15px; border-bottom: 1px solid #333;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1.2rem; font-weight: bold;
}
.close-btn { background: none; border: none; font-size: 1.5rem; color: #fff; cursor: pointer; }
.drawer-content { padding: 20px; }
.drawer-user { margin-bottom: 20px; color: var(--text-secondary); font-size: 0.9rem; }
.drawer-link {
    display: block; padding: 10px 0; font-size: 1.1rem; color: #fff; border-bottom: 1px solid #333;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }

    /* Layout Stacking */
    .dashboard-container { grid-template-columns: 1fr; }
    .ops-grid { grid-template-columns: 1fr; }
    .admin-row { flex-direction: column; gap: 10px; }
    .admin-link { padding: 15px; background: var(--surface-color); border-radius: 6px; }

    /* Inputs */
    input, select, textarea, button { font-size: 16px; width: 100%; box-sizing: border-box; }
    .start-session-btn { min-height: 50px; }

    /* Sales Page */
    .sales-toolbar {
        flex-wrap: wrap; /* Allow wrapping */
        gap: 10px;
    }

    /* Make the search bar fill the whole top row */
    .sales-toolbar input[type="text"] {
        order: -1; /* Move to top */
        width: 100%;
        margin-bottom: 10px;
    }

    /* Make buttons expand to fill the second row */
    .sales-toolbar button {
        flex: 1;
    }

    /* Grid View Fixes */
    .fish-grid {
        grid-template-columns: 1fr !important; /* Force 1 column */
        gap: 16px;
    }

    .fish-card {
        display: flex;       /* Switch to Flexbox */
        flex-direction: column; /* Stack children vertically */
        height: auto;        /* Let it grow as needed */
    }

    .fish-card img {
        width: 100%;
        height: 200px;       /* Fixed height for consistency */
        object-fit: cover;   /* Crop smartly */
    }

    .image-container {
        height: 200px;
    }

    /* List View Fixes */
    .fish-grid.list-view .fish-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-rows: auto auto;
        gap: 2px 4px; /* Tighter gap */
        padding: 8px 6px; /* Reduced padding */
        height: auto !important;
        align-items: center;
    }

    /* Remove Photos to maximize rows */
    .fish-grid.list-view .image-container {
        display: none !important;
    }

    /* Unwrap Details to Grid */
    .fish-grid.list-view .card-details {
        display: contents;
    }

    .fish-grid.list-view .details-text {
        display: contents;
    }

    /* Row 1: Common Name (Col 1-2) + Region/Size (Col 3) */
    .fish-grid.list-view .details-text h3 {
        grid-row: 1; grid-column: 1 / span 2;
        font-size: 16px;
        margin: 0;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        line-height: 1.2;
        min-width: 0;
    }

    .fish-grid.list-view .location-col {
        grid-row: 1; grid-column: 3;
        font-size: 0.85em; /* Smaller font */
        color: #e0e0e0;
        justify-self: end;
        white-space: nowrap;
    }

    /* Row 2: Scientific (Col 1) + Price (Col 2) + Actions (Col 3) */
    .fish-grid.list-view .details-text .latin-name {
        grid-row: 2; grid-column: 1;
        font-size: 0.8em; /* Smaller font */
        margin: 0;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        line-height: 1.2;
        min-width: 0;
        align-self: center;
    }

    .fish-grid.list-view .price-col {
        grid-row: 2; grid-column: 2;
        justify-self: end;
        white-space: nowrap;
        align-self: center;
    }

    .fish-grid.list-view .price-row {
        justify-content: flex-end;
        gap: 4px;
        margin-top: 0;
    }

    .fish-grid.list-view .price { font-size: 0.9em; }
    .fish-grid.list-view .stock { font-size: 0.8em; }

    /* Action Row (Bottom Right) */
    .fish-grid.list-view .action-row {
        grid-row: 2; grid-column: 3;
        margin: 0;
        gap: 4px;
        justify-self: end;
    }

    /* Compact Buttons */
    .fish-grid.list-view .qty-input {
        width: 30px;
        font-size: 0.9em;
        text-align: center;
        padding: 0;
    }

    .fish-grid.list-view .step-btn {
        width: 24px; height: 24px;
        font-size: 1em;
    }

    .fish-grid.list-view .stepper {
        height: 26px;
    }

    .fish-grid.list-view .add-btn {
        height: 26px;
        padding: 0 8px;
        font-size: 0.9em;
        flex: initial;
    }

    /* Order History Cards */
    table, thead, tbody, th, td, tr { display: block; }
    thead { display: none; }
    tr { margin-bottom: 15px; background: var(--surface-color); border-radius: 8px; padding: 10px; border: 1px solid #333; }
    td { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #444; }
    td:last-child { border-bottom: none; }
    td::before { content: attr(data-label); font-weight: bold; color: var(--text-secondary); margin-right: 10px; }

    /* Order Details Mobile Table */
    .order-details-table thead { display: none; }
    .order-details-table tr { margin-bottom: 15px; border: 1px solid #333; display: block; padding: 10px; }
    .order-details-table td { display: flex; justify-content: space-between; border: none; padding: 5px 0; }
    .order-details-table td::before { content: attr(data-label); font-weight: bold; margin-right: 10px; }
}

.family-header {
    grid-column: 1 / -1;
    color: var(--accent-teal);
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #444;
    width: 100%;
}

/* Log Mobile Layout */
.log-list-mobile { display: none; flex-direction: column; gap: 10px; }
.log-table-desktop { display: table; width: 100%; }

@media (max-width: 768px) {
    .log-table-desktop { display: none !important; }
    .log-list-mobile { display: flex !important; }
}

.log-card {
  background-color: var(--surface-color);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr auto; /* Name, Date */
  grid-template-rows: auto auto auto; /* Row 1, Row 2, Notes */
  gap: 5px;
  cursor: pointer;
}
.log-card-fish { grid-row: 1; grid-column: 1; font-weight: bold; font-size: 1.1em; color: #fff; }
.log-card-date { grid-row: 1; grid-column: 2; font-size: 0.85em; color: var(--text-secondary); text-align: right; }
.log-card-meta { grid-row: 2; grid-column: 1; font-size: 0.9em; color: var(--text-secondary); }
.log-card-amount { grid-row: 2; grid-column: 2; font-weight: bold; text-align: right; }
.log-card-notes { grid-row: 3; grid-column: 1 / -1; display: none; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #444; font-size: 0.9em; color: #ccc; }
.log-card.expanded .log-card-notes { display: block; }
