/*
* ============================================================
* NOTAMs "Flight Ops" Dashboard - Official FAA Theme
* Palette: Navy Blue (#0f4d92), White, & Light Gray
* ============================================================
*/

:root {
    /* --- CORE PALETTE (Official FAA) --- */
    --bg-body: #0f4d92;
    /* Light Gray background */
    --bg-panel: #ffffff;
    /* White panels */
    --bg-header: #0f4d92;
    /* FAA Navy Blue */
    --bg-input: #ffffff;
    /* White inputs */
    --bg-hover: #eef2f6;
    /* Light blue-gray hover */

    /* Text Colors */
    --text-main: #333333;
    /* Dark Grey for readability */
    --text-muted: #666666;
    /* Medium Grey for labels */
    --text-inverse: #0f4d92;
    /* White text (for headers/buttons) */
    --text-headers: #ffffff;

    --border-color: #d1d5db;
    /* Light grey borders */

    /* --- SIGNAL COLORS --- */
    --primary: #0f4d92;
    /* FAA Navy Blue */
    --primary-hover: #0a366b;

    --critical: #d32f2f;
    /* Standard Red */
    --warning: #f57c00;
    /* Standard Orange */
    --success: #2e7d32;
    /* Standard Green */
    --info: #0288d1;
    /* Info Blue */

    /* --- Spacing --- */
    --radius-std: 4px;
    /* Sharper corners (Gov style) */
    --radius-sm: 3px;
}

/* --- Global Reset & Base --- */
html,
body {
    height: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    font-size: 13px;
}

/* --- Layout Grid --- */
.main-layout {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 15px;
    padding: 15px;
    height: 100vh;
    box-sizing: border-box;
}

/* --- Panels (Cards) --- */
.container {
    background-color: var(--bg-panel);
    border-radius: var(--radius-std);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Panel Header Area */
.header-row,
#detail-panel-header {
    /* Exact Layout Match */
    padding: 15px 20px;
    height: 65px;
    /* Explicit height ensures consistency */
    box-sizing: border-box;

    /* Styling */
    background-color: var(--bg-header);
    /* FAA Navy */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle separator */
    color: var(--text-headers);

    /* Flex Alignment */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

/* Ensure Headings inside both headers look the same */
.header-row h1,
#detail-panel-header h2 {
    margin: 0;
    color: var(--text-headers);
    /* White text */
    font-weight: 600;
    font-size: 1.2rem;
    /* Force same font size */
    line-height: 1;
}

h1 {
    font-size: 1.2rem;
}

h2 {
    font-size: 1.1rem;
}

h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    /* Blue headers for sections */
    margin: 0 0 10px 0;
    border-bottom: 2px solid var(--bg-body);
    padding-bottom: 5px;
}

/* --- Scrollable Content Areas --- */
.scroll-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* --- Search Grid (Collapsible) --- */
.search-form-container {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: #f8f9fa;
    /* Very light gray for form area */
    flex-shrink: 0;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
    align-items: flex-end;

    /* Smooth Collapse Animation */
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin 0.3s;
    max-height: 1000px;
    opacity: 1;
    overflow: visible;
}

.search-grid.collapsed {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* --- Form Elements --- */
.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}

input[type="text"],
input[type="number"],
input[type="datetime-local"],
select,
textarea {
    height: 36px;
    width: 100%;
    padding: 4px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background-color: var(--bg-input);
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(15, 77, 146, 0.2);
}

textarea {
    height: auto;
    font-family: inherit;
}

/* --- Buttons --- */
button {
    height: 36px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Primary Action (Search) */
#search-button {
    background-color: var(--primary);
    /* FAA Navy */
    color: #ffffff;
    width: 100%;
}

#search-button:hover {
    background-color: var(--primary-hover);
}

/* Secondary Actions */
.btn-secondary,
#detail-back-button,
#detail-refresh-button,
#toggle-filters-btn {
    background-color: #fff;
    border: 1px solid var(--border-color);
    color: var(--primary);
    height: 32px;
}

.btn-secondary:hover,
#detail-back-button:hover,
#detail-refresh-button:hover,
#toggle-filters-btn:hover {
    background-color: var(--bg-hover);
    color: var(--primary-hover);
}

/* --- Custom Dropdown --- */
.filter-dropdown {
    position: relative;
}

.filter-button {
    width: 100%;
    background: var(--bg-input);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    text-align: left;
    height: 36px;
    position: relative;
}

.filter-button::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    border: 4px solid transparent;
    border-top-color: var(--text-main);
    transform: translateY(-25%);
}

.filter-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 50;
    padding: 5px 0;
    margin-top: 4px;
}

.filter-list.show {
    display: block;
}

.filter-list label {
    display: block;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-main);
}

.filter-list label:hover {
    background-color: var(--bg-hover);
}

/* --- Data Table --- */
.table-container {
    flex: 1;
    overflow: auto;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

th {
    background-color: #e5e7eb;
    /* Light grey header for table */
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    padding: 10px 12px;
    border-bottom: 2px solid var(--border-color);
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 10;
}

td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
    color: var(--text-main);
}

tr:hover td {
    background-color: var(--bg-hover);
    cursor: pointer;
}

tr.selected-row td {
    background-color: #e3f2fd !important;
    /* Light blue highlight */
}

/* Status Indicators */
td.id-cell {
    border-left: 4px solid transparent;
    font-family: "Courier New", monospace;
    font-weight: 700;
    color: var(--primary);
}

.status-critical {
    border-left-color: var(--critical) !important;
    border-left-width: 12px !important;
}

.status-warning {
    border-left-color: var(--warning) !important;
    border-left-width: 12px !important;
}

.status-info {
    border-left-color: var(--info) !important;
    border-left-width: 12px !important;
}

/* Links */
.notam-id-link {
    color: var(--primary);
    text-decoration: none;
}

.notam-id-link:hover {
    text-decoration: underline;
}

.id-inactive {
    text-decoration: line-through !important;
    opacity: 0.7;
    color: var(--text-muted) !important;
    /* Optional: fade it out slightly */
}

/* --- Badges --- */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    /* Squarer badges for gov look */
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--text-muted);
}

.badge-mil {
    background-color: #546e7a;
}

.badge-fdc {
    background-color: #7b1fa2;
}

.badge-dom {
    background-color: #1976d2;
}

.badge-intl {
    background-color: #388e3c;
}

/* --- Pagination --- */
#pagination-controls {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-panel);
    flex-shrink: 0;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

#pagination-buttons button {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--primary);
}

#pagination-buttons button:hover:not(:disabled) {
    background: var(--bg-hover);
}

#pagination-buttons button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
}

/* --- Detail Panel (Dashboard Grid Layout) --- */
.detail-content {
    /* Grid: 2 Columns side-by-side, 2 Rows (Text top, Map bottom) */
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(min-content, 45%) 1fr;
    /* Text takes max 45% height */
    gap: 15px;

    padding: 15px;
    height: 100%;
    /* Fill the container */
    box-sizing: border-box;
    overflow: hidden;
    /* Prevent outer scrolling, we scroll internally now */
}

/* Common Card Styles for Grid Items */
/* --- Detail Panel (Scrollable Dashboard) --- */
.detail-content {
    display: grid;
    /* Columns: Strict 50/50 split */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    /* Rows: 
       1. Text Area: At least 300px tall, but grows to fit content/screen.
       2. Map Area: Fixed 400px height. 
    */
    grid-template-rows: minmax(300px, 1fr) 400px;

    gap: 15px;
    padding: 15px;

    /* ENABLE WINDOW SCROLLING */
    overflow-y: auto;
    height: 100%;
    box-sizing: border-box;
}

/* Common Card Styles */
.detail-content>.modal-section {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    /* Internal scrolling for very long text */
    max-height: 100%;
    overflow: hidden;
}

/* 1. NOTAM Text (Top Left) */
.detail-content>.modal-section:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1;
}

/* 2. AI Summary (Top Right) */
.detail-content>.modal-section:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1;
}

/* Internal Text Scrolling */
#detail-icao-text-content,
#detail-ai-summary {
    overflow-y: auto;
    flex: 1;
    padding: 10px;
}

#detail-icao-text-content pre,
.notam-text-block {
    white-space: pre-wrap !important;
    /* Respect newlines, but wrap text */
    word-wrap: break-word !important;
    /* Break long words/coordinates */
    overflow-wrap: break-word !important;
    /* Modern standard for breaking */

    max-width: 100%;
    /* Never exceed container width */
    box-sizing: border-box;
    /* Include padding in width */

    /* Aesthetics */
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: var(--radius-sm);
    margin: 0;
    /* Remove default <pre> margins */
}

/* 3. Geometry/Map Section (Bottom) */
#detail-geometry-section {
    grid-column: 1 / -1;
    /* Spans full width */
    grid-row: 2;
    /* Bottom row */

    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    min-height: 400px;
    /* Force the map to exist */
}

#detail-geometry-section h3 {
    display: none;
}

#notam-detail-map {
    width: 100%;
    height: 100% !important;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #e5e7eb;
}

/* Search Context Map */
#search-context-map-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

#search-context-map-container h3 {
    display: none;
}

#search-context-map {
    flex: 1;
    width: 100%;
    height: auto !important;
    min-height: 0;
    border: none;
    border-top: 1px solid var(--border-color);
    background: #e5e7eb;
}

/* --- Utilities --- */
.hidden {
    display: none !important;
}

.col-span-3 {
    grid-column: span 3;
}

.col-span-4 {
    grid-column: span 4;
}

.col-span-6 {
    grid-column: span 6;
}

.col-span-12 {
    grid-column: span 12;
}

/* Grid Helper for Lat/Lon */
.latlon-group-grid,
.latlon-group-grid-dms,
.flightpath-grid {
    display: grid;
    gap: 8px;
}

.latlon-group-grid {
    grid-template-columns: 3fr 1fr 3fr 1fr;
}

.latlon-group-grid-dms {
    grid-template-columns: repeat(8, 1fr);
}

.flightpath-grid {
    grid-template-columns: 1fr 2fr 1fr;
}

/* Autocomplete */
.location-autocomplete-wrapper {
    position: relative;
}

#autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-item {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    color: var(--text-main);
}

.autocomplete-item:hover {
    background-color: var(--bg-hover);
}

.autocomplete-id {
    font-weight: 700;
    color: var(--primary);
    margin-right: 8px;
}

/* Sort Headers */
.sortable-header {
    cursor: pointer;
    user-select: none;
}

.sortable-header::after {
    content: '↕';
    float: right;
    opacity: 0.3;
    font-size: 10px;
}

.sortable-header.sort-asc::after {
    content: '▲';
    opacity: 1;
    color: var(--primary);
}

.sortable-header.sort-desc::after {
    content: '▼';
    opacity: 1;
    color: var(--primary);
}

/* Table Columns Vis */
.table-col-canceled {
    display: none;
}

.show-canceled-col .table-col-canceled {
    display: table-cell;
}

/* Loading Spinner */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Leaflet Overrides */
.leaflet-popup-content-wrapper {
    border-radius: var(--radius-sm);
}

.leaflet-popup-content {
    font-size: 12px;
}

/* Text Clamping Utility */
.text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

/* Table Cell Specific Styles */
.validity-cell {
    font-size: 12px;
    line-height: 1.3;
}

.validity-cell .date-start {
    font-weight: 600;
    color: var(--text-main);
}

.validity-cell .date-end {
    color: var(--text-muted);
    font-size: 11px;
}

.text-cell {
    font-family: "Courier New", monospace;
    font-size: 12px;
    color: #555;
}

.loc-cell {
    font-weight: 700;
    color: var(--primary);
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-main);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Leaflet Popup Enhancements */
.notam-popup-text {
    max-height: 120px;
    overflow-y: auto;
    margin-bottom: 10px;
    font-family: monospace;
    font-size: 0.85em;
    background-color: #f8f9fa;
    padding: 5px;
    border: 1px solid #e9ecef;
    border-radius: 3px;
    white-space: pre-wrap;
    color: #333;
}

.notam-group-container {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 5px;
}

.notam-group-item {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.notam-group-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.notam-popup-location {
    font-size: 0.9em;
    margin-bottom: 8px;
    color: #555;
}

.map-link-detail {
    display: block;
    text-align: center;
    background: #eee;
    padding: 6px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: background 0.2s;
}

.map-link-detail:hover {
    background: #ddd;
}

/* --- Responsive Mobile --- */
/* --- Responsive Mobile --- */
/* --- Responsive Mobile (High Density) --- */
@media (max-width: 768px) {

    /* Layout Adjustments */
    .main-layout {
        grid-template-columns: 1fr;
        padding: 6px;
        /* Reduced padding */
        gap: 6px;
        height: 100%;
        overflow: hidden;
    }

    /* Header Adjustments - More Compact */
    .header-row,
    #detail-panel-header {
        padding: 8px 12px;
        min-height: 45px;
        gap: 8px;
    }

    .header-row h1,
    #detail-panel-header h2 {
        font-size: 1rem;
    }

    #toggle-filters-btn {
        font-size: 11px;
        padding: 0 10px;
        height: 28px;
    }

    /* --- COMPRESSED SEARCH PANEL --- */
    .search-form-container {
        padding: 8px 10px;
        /* Still allow scrolling, but it will be needed less often */
        max-height: 60vh;
        overflow-y: auto;
    }

    .search-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2 Column Grid for Mobile */
        gap: 8px;
        /* Tighter gaps (was 12px) */
    }

    /* Full Width Items (Type, Location, Keyword, Buttons) */
    .form-group:not(.date-group):not(.options-group),
    .location-group,
    .keyword-group,
    .search-button-group,
    .col-span-12 {
        grid-column: span 2;
        /* Span full width */
    }

    /* Half Width Items (Dates, Classification, Radius) */
    /* By default, items will take 1 column (half width) automatically now */

    /* Specific overrides for Radius to sit next to something if needed, 
       but usually Type is full width. 
       Let's ensure Dates sit side-by-side explicitly. 
    */
    .form-group:has(#search-date-from),
    .form-group:has(#search-date-to) {
        grid-column: span 1 !important;
    }

    /* Form Elements - Compact */
    .form-group label {
        font-size: 10px;
        margin-bottom: 1px;
        /* Tighter labels */
        color: #555;
    }

    input[type="text"],
    input[type="number"],
    input[type="datetime-local"],
    select,
    textarea {
        height: 36px;
        /* Reduced from 40px */
        font-size: 14px;
        /* Slightly smaller text for density */
        padding: 4px 8px;
    }

    /* Search Button - Compact */
    #search-button {
        height: 38px;
        /* Reduced from 44px */
        font-size: 14px;
        margin-top: 5px;
    }

    /* Checkbox Layout - Side-by-Side Grid */
    .options-group {
        grid-column: span 2;
        /* Full width container */
        display: flex;
        /* Use Flex instead of Grid for better alignment */
        flex-direction: row;
        align-items: center;
        /* Vertically align both items to the middle */
        justify-content: flex-start;
        gap: 15px;
        /* Space between the two checkboxes */
        margin-top: 5px;
    }

    /* HIDE the spacer label (&nbsp;) on mobile so it doesn't break layout */
    .options-group>label:first-child {
        display: none;
    }

    .checkbox-label {
        font-size: 12px;
        margin: 0 !important;
        /* Force override the inline HTML margin-left: 15px */
        white-space: nowrap;
        /* Keep on one line if possible */
        display: flex;
        align-items: center;
        /* Align the box and the text vertically */
    }

    /* Classification Dropdown */
    .filter-button {
        height: 36px;
        font-size: 13px;
        padding: 0 8px;
    }

    /* Lat/Lon Grid - Tighter */
    .latlon-group-grid {
        gap: 4px;
    }

    .latlon-group-grid input,
    .latlon-group-grid select {
        font-size: 12px;
        padding: 2px;
    }

    /* --- TABLE ADJUSTMENTS --- */
    .table-container {
        border-bottom: none;
    }

    th {
        font-size: 10px;
        padding: 6px 4px;
        top: 0;
        z-index: 5;
    }

    td {
        padding: 6px 4px;
        /* Reduced padding */
        font-size: 11px;
    }

    /* Hide Badge on Mobile to save width */
    td:nth-child(3),
    th[data-sort="classification"] {
        display: none;
    }

    .id-cell {
        font-size: 11px;
        border-left-width: 3px;
    }

    .text-cell .text-clamp-2 {
        -webkit-line-clamp: 2;
        font-size: 11px;
    }

    /* Pagination - Compact Row */
    #pagination-controls {
        padding: 8px;
        flex-direction: row;
        /* Keep side-by-side if possible */
        gap: 5px;
        justify-content: space-between;
    }

    #pagination-info {
        font-size: 10px;
        display: none;
        /* Hide info text on mobile to save space */
    }

    #pagination-buttons {
        flex: 1;
        display: flex;
        gap: 5px;
    }

    #pagination-buttons button {
        height: 32px;
        font-size: 12px;
        padding: 0;
    }

    /* --- DETAIL PANEL FIXES --- */
    /* (Kept robust from previous step, just tightened gaps) */
    .main-layout #detail-panel {
        display: none;
    }

    .main-layout.show-detail #master-panel {
        display: none;
    }

    .main-layout.show-detail #detail-panel {
        display: flex;
    }

    #detail-back-button {
        display: inline-flex;
    }

    .detail-content {
        display: flex;
        flex-direction: column;
        flex: 1;
        overflow-y: auto;
        padding: 8px;
        gap: 10px;
    }

    #detail-icao-text-content,
    #detail-ai-summary {
        max-height: 200px;
        /* Reduced max height */
        padding: 8px;
        font-size: 12px;
    }

    #detail-geometry-section {
        height: 250px;
        /* Slightly shorter map */
        min-height: 250px;
        margin-top: auto;
    }

    /* Autocomplete */
    #autocomplete-results {
        max-height: 140px;
        z-index: 1000;
    }

    .autocomplete-item {
        padding: 8px;
        font-size: 13px;
    }
}

/* Tablet Landscape - Intermediate Breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 55% 45%;
    }

    #detail-back-button {
        display: none;
    }

    /* Slightly smaller fonts for tablets */
    table {
        font-size: 12px;
    }

    th {
        font-size: 10px;
    }
}

/* Desktop - Ensure Back Button Hidden */
@media (min-width: 1025px) {
    #detail-back-button {
        display: none;
    }
}