=====================
   CORE LAYOUT + RESETS
====================== */
body {
margin: 0;
padding: 0;
font-family: sans-serif;
}
#filter-panel {
display: none;
}
body.show-map #filter-panel {
display: flex !important;
flex-direction: row !important;
flex-wrap: nowrap !important;
gap: 30px;
align-items: center;
margin: 1rem 0;
padding: 10px;
background: #f9f9f9;
border-radius: 6px;
justify-content: flex-start;
}
.filter-item {
display: flex;
align-items: center;
gap: 8px;
white-space: nowrap;
}
#filter-panel label {
font-weight: bold;
margin: 0;
flex-shrink: 0;
}
#filter-panel select {
padding: 6px 10px;
font-size: 14px;
border: 1px solid #ccc;
border-radius: 4px;
background: white;
min-width: 120px;
}
.map-wrapper {
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
}
.container-fluid {
padding: 0 15px;
}
.row {
margin: 0;
}
/* =====================
BUTTON STYLES
====================== */
.button-style {
background-color: #007bff;
color: white;
border: none;
padding: 8px 12px;
font-size: 14px;
border-radius: 4px;
cursor: pointer;
}
.button-style:hover {
background-color: #0056b3;
}
.button {
padding: 6px 12px;
font-size: 14px;
border: 1px solid #ccc;
background-color: #f7f7f7;
color: #333;
cursor: pointer;
border-radius: 4px;
margin-right: 5px;
transition: background-color 0.2s;
}
.button:disabled {
background-color: #e0e0e0;
color: #999;
cursor: not-allowed;
}
/* =====================
CHART CONTROLS AREA
====================== */
.chart-controls-row {
display: flex;
align-items: flex-start;
gap: 40px;
margin-bottom: 1rem;
flex-wrap: nowrap;
padding-left: 0px;
padding-top: 15px;
}
.chart-buttons-wrapper {
display: flex;
gap: 8px;
flex: 0 0 auto;
padding-left: 20px;
}
.chart-title-wrapper {
display: flex;
align-items: center;
flex: 0 0 auto;
gap: 8px;
padding-left: 0;
margin-top: -5px;
}
.chart-title-label {
font-weight: bold;
margin: 0;
white-space: nowrap;
}
.chart-title-input {
width: 250px;
max-width: 250px;
}
/* =====================
CHART PANEL
====================== */
#chart-panel {
padding: 20px;
background: white;
border: 1px solid #ccc;
margin: 20px auto;
max-width: 100%;
}
.chart-area-wrapper,
.chart-controls {
padding-left: 0;
padding-right: 0;
margin-left: 0;
margin-right: 0;
}
.chart-area-wrapper,
#map {
position: relative;
}
.chart-camera-icon {
position: absolute;
top: 10px;
right: 10px;
z-index: 1000;
background: rgba(255, 255, 255, 0.9);
border: 1px solid #ddd;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
transition: all 0.2s ease;
}
.chart-camera-icon:hover {
background: rgba(255, 255, 255, 1);
transform: scale(1.1);
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.chart-camera-icon i {
font-size: 18px;
color: #333;
}
.chart-camera-icon:active {
transform: scale(0.95);
}
#map-camera-btn {
display: none;
}
#chart-camera-btn {
display: none;
}
body.show-map #map-camera-btn {
display: flex !important;
}
#chart-camera-btn.show {
display: flex !important;
}
.column-filter-input {
width: 100%;
padding: 2px 4px;
font-size: 12px;
border: 1px solid #ddd;
border-radius: 3px;
}
#echarts-bar,
#echarts-pie,
#map {
width: 100%;
height: 500px;
}
/* =====================
CHART CONTROLS PANEL
====================== */
.chart-controls {
background-color: #f8f9fa;
padding: 20px;
border-radius: 12px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.chart-controls label {
font-weight: bold;
}
.control-group {
margin-bottom: 1rem;
}
/* =====================
TABLE HEADER + DATA EXPORT
====================== */
.table-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 15px 0;
margin-bottom: 15px;
border-bottom: 1px solid #dee2e6;
gap: 20px;
flex-wrap: wrap;
}
#record-count-wrapper {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 250px;
align-items: flex-start;
}
#record-count-label {
font-size: 1.1rem;
font-weight: 600;
color: #333;
margin: 0;
}
#data-last-updated {
font-size: 0.8rem;
color: #666;
font-style: italic;
margin: 0;
white-space: nowrap;
}
.table-actions {
display: flex;
gap: 8px;
flex-wrap: wrap;
align-items: center;
}
/* =====================
DATA TABLE
====================== */
.data-table-container {
max-width: 1400px;
margin: 0 auto;
padding: 10px;
}
.column-toggle {
display: inline-block;
margin-bottom: 10px;
}
.column-panel {
padding: 10px;
background: #f9f9f9;
border: 1px solid #ccc;
margin-bottom: 10px;
}
.column-panel-buttons {
margin-top: 10px;
}
#data-table_wrapper {
overflow-x: auto;
width: 100%;
}
.dataTables_wrapper .dataTables_scroll {
overflow-x: auto;
max-width: 100%;
}
/* =====================
MAP + LEGEND
====================== */
#map {
display: none;
height: 500px;
background-color: #e0e0e0;
}
.show-map #map {
display: block !important;
}
#map-legend {
display: none;
}
.show-map #map-legend {
display: block;
}
.gm-bundled-control {
display: none !important;
}
.gm-svpc {
display: none !important;
}
.gm-fullscreen-control {
display: none !important;
}
.show-county-controls .gm-bundled-control {
display: block !important;
}
.show-county-controls .gm-svpc {
display: block !important;
}
.show-county-controls .gm-fullscreen-control {
display: block !important;
}
.map-tooltip {
position: absolute;
z-index: 9999;
background: white;
padding: 8px 12px;
border: 1px solid #888;
border-radius: 4px;
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
font-size: 14px;
white-space: pre-line;
pointer-events: none;
max-width: 220px;
}
#map-camera-btn {
display: none;
position: absolute;
top: 120px;
right: 20px;
z-index: 1001;
background: rgba(255, 255, 255, 0.9);
border: 1px solid #ddd;
border-radius: 50%;
width: 40px;
height: 40px;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
body.show-map #map-camera-btn {
display: flex !important;
}
#chart-camera-btn {
position: absolute;
top: 10px;
right: 10px;
z-index: 1000;
background: rgba(255, 255, 255, 0.9);
border: 1px solid #ddd;
border-radius: 50%;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
body.show-map #chart-camera-btn {
display: none !important;
}
/* =====================
YEAR SLIDER
====================== */
#year-slider-container {
margin: 20px 0 30px 0;
padding: 10px 20px;
background: #f8f9fa;
border-radius: 8px;
}
#year-slider-container label {
display: block;
font-weight: 600;
margin-bottom: 15px;
color: #333;
}
.year-slider-wrapper {
position: relative;
padding: 0 10px;
margin-bottom: 40px;
}
#year-range-slider {
width: 100%;
height: 8px;
background: #ddd;
border-radius: 5px;
outline: none;
opacity: 0.9;
transition: opacity 0.2s;
margin: 20px 0;
}
#year-range-slider:hover {
opacity: 1;
}
#year-range-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 18px;
height: 18px;
background: #003764;
border-radius: 50%;
cursor: pointer;
border: 2px solid white;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
#year-range-slider::-moz-range-thumb {
width: 18px;
height: 18px;
background: #003764;
border-radius: 50%;
cursor: pointer;
border: 2px solid white;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.year-marks {
display: flex;
justify-content: space-between;
position: relative;
margin-top: 10px;
padding: 0 10px;
}
.year-mark {
font-size: 11px;
color: #666;
text-align: center;
min-width: 35px;
user-select: none;
}
.year-range-display {
text-align: center;
margin-top: 15px;
font-size: 14px;
font-weight: 600;
color: #003764;
}
.year-slider-reset {
float: right;
padding: 4px 12px;
font-size: 12px;
background: #6c757d;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background 0.2s;
}
.year-slider-reset:hover {
background: #5a6268;
}
/* =====================
TABLE SEARCH
====================== */
.column-search-input {
width: 100% !important;
box-sizing: border-box !important;
padding: 4px 6px !important;
font-size: 12px !important;
border: 1px solid #ddd !important;
border-radius: 3px !important;
margin-top: 5px !important;
background: white !important;
transition: border-color 0.2s ease !important;
}
.column-search-input:focus {
outline: none !important;
border-color: #007bff !important;
box-shadow: 0 0 3px rgba(0,123,255,0.3) !important;
}
.search-highlight {
background-color: #fff3cd !important;
color: #856404 !important;
font-weight: bold !important;
padding: 2px 4px !important;
border-radius: 2px !important;
}
.search-modal {
position: fixed;
z-index: 2000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
display: none;
backdrop-filter: blur(2px);
}
.search-modal-content {
position: relative;
background-color: white;
margin: 3% auto;
padding: 0;
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0,0,0,0.3);
max-width: 900px;
max-height: 85vh;
overflow-y: auto;
animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.search-modal-header {
padding: 20px 30px 15px;
border-bottom: 1px solid #e9ecef;
display: flex;
justify-content: space-between;
align-items: center;
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
border-radius: 12px 12px 0 0;
}
.search-modal-header h3 {
margin: 0;
color: #333;
font-size: 22px;
font-weight: 600;
}
.search-modal-header i {
margin-right: 8px;
color: #007bff;
}
.search-modal-close {
cursor: pointer;
font-size: 28px;
font-weight: bold;
color: #6c757d;
transition: color 0.2s ease;
border: none;
background: none;
padding: 5px;
border-radius: 50%;
width: 35px;
height: 35px;
display: flex;
align-items: center;
justify-content: center;
}
.search-modal-close:hover {
color: #dc3545;
background-color: rgba(220, 53, 69, 0.1);
}
.search-modal-body {
padding: 30px;
}
.search-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.search-field {
display: flex;
flex-direction: column;
}
.search-field label {
font-weight: 600;
margin-bottom: 8px;
color: #495057;
font-size: 14px;
}
.search-field input,
.search-field select {
padding: 12px 15px;
border: 2px solid #e9ecef;
border-radius: 8px;
font-size: 14px;
transition: all 0.2s ease;
background-color: #fff;
}
.search-field input:focus,
.search-field select:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
background-color: #fbfcff;
}
.search-modal-actions {
display: flex;
gap: 15px;
justify-content: flex-end;
padding-top: 25px;
border-top: 1px solid #e9ecef;
}
.search-btn {
padding: 12px 24px;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 14px;
font-weight: 600;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 8px;
min-width: 120px;
justify-content: center;
}
.search-btn-clear {
background-color: #6c757d;
color: white;
}
.search-btn-clear:hover {
background-color: #545b62;
transform: translateY(-1px);
}
.search-btn-apply {
background-color: #007bff;
color: white;
}
.search-btn-apply:hover {
background-color: #0056b3;
transform: translateY(-1px);
}
.search-btn-advanced {
background-color: #28a745;
color: white;
margin-left: 10px;
padding: 8px 16px;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 13px;
font-weight: 500;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
gap: 6px;
}
.search-btn-advanced:hover {
background-color: #218838;
transform: translateY(-1px);
}
#data-table_filter {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 15px;
}
#data-table_filter label {
display: flex;
align-items: center;
gap: 8px;
font-weight: 500;
}
#data-table_filter input {
border: 2px solid #e9ecef;
border-radius: 6px;
padding: 8px 12px;
font-size: 14px;
transition: border-color 0.2s ease;
}
#data-table_filter input:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}
/* =====================
DESKTOP LAYOUT (992px+)
====================== */
@media (min-width: 992px) {
#chart-panel .row {
display: flex;
align-items: flex-start;
gap: 20px;
}
#chart-panel .col-12.col-lg-8 {
flex: 1 1 70%;
max-width: 70%;
}
#chart-panel .col-12.col-lg-4 {
flex: 0 0 25%;
max-width: 25%;
margin-top: 0;
}
.chart-controls {
display: block !important;
margin-top: 0;
}
.btn[data-bs-toggle="collapse"] {
display: none !important;
}
#chart-controls-collapse {
display: block !important;
}
body.show-map #chart-controls-collapse {
display: none !important;
}
#column-select-wrapper {
margin-top: 20px;
}
#toggle-column-panel {
display: none !important;
}
}
/* =====================
TABLET (769px - 1024px)
====================== */
@media (max-width: 1024px) and (min-width: 769px) {
.chart-controls-row {
flex-direction: column;
align-items: stretch;
gap: 15px;
padding: 15px;
}
.chart-buttons-wrapper {
width: 100%;
justify-content: center;
gap: 12px;
}
.button-style {
padding: 12px 16px;
font-size: 16px;
min-width: 60px;
}
.chart-title-wrapper {
width: 100%;
justify-content: center;
padding-left: 0;
margin-top: 0;
}
.chart-title-input {
width: 100%;
max-width: 400px;
padding: 12px;
font-size: 16px;
}
.chart-controls {
display: none !important;
}
.chart-controls.collapse.show {
display: block !important;
margin-top: 1rem;
padding: 20px;
}
#chart-controls-collapse {
display: block;
width: 100%;
}
.btn[data-bs-toggle="collapse"] {
display: block;
width: 100%;
margin-top: 1rem;
padding: 15px;
font-size: 16px;
}
#chart-panel .row {
display: block;
}
#chart-panel .col-12.col-lg-8,
#chart-panel .col-12.col-lg-4 {
flex: none;
max-width: 100%;
width: 100%;
}
#echarts-bar,
#echarts-pie {
height: 400px;
}
body.show-map #filter-panel {
gap: 20px;
padding: 15px;
justify-content: center;
flex-wrap: wrap;
}
.filter-item {
min-width: 200px;
}
#filter-panel label {
font-size: 16px;
min-width: 80px;
}
#filter-panel select {
padding: 10px 12px;
font-size: 16px;
min-width: 140px;
}
#map-camera-btn {
position: absolute !important;
top: 220px !important;
width: 42px !important;
height: 42px !important;
z-index: 1001 !important;
}
#chart-camera-btn {
position: absolute !important;
top: 15px !important;
right: 15px !important;
width: 42px !important;
height: 42px !important;
z-index: 1000 !important;
}
.data-table-container {
padding: 20px 15px;
}
.table-header {
padding: 20px 0;
gap: 20px;
}
#record-count-wrapper {
min-width: 280px;
}
#record-count-label {
font-size: 1.2rem;
}
#data-last-updated {
font-size: 0.85rem;
}
.table-actions {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.table-actions .button {
padding: 12px 8px;
font-size: 14px;
border-radius: 6px;
margin: 0;
width: 100%;
text-align: center;
}
#toggle-column-panel {
display: block !important;
width: 100%;
padding: 15px;
font-size: 16px;
margin-bottom: 15px;
border-radius: 8px;
}
.column-panel {
padding: 20px;
border-radius: 8px;
}
.column-panel-buttons {
display: flex;
gap: 12px;
margin-top: 15px;
}
.column-panel-buttons button {
flex: 1;
padding: 12px 20px;
font-size: 15px;
border-radius: 6px;
}
#data-table {
font-size: 14px;
}
#data-table th,
#data-table td {
padding: 8px 6px;
}
.search-modal-content {
margin: 5% 20px;
max-height: 90vh;
}
.search-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 18px;
}
.search-modal-header {
padding: 18px 25px 12px;
}
.search-modal-body {
padding: 25px;
}
.search-btn-advanced {
padding: 10px 18px;
font-size: 14px;
}
.column-search-input {
font-size: 13px !important;
padding: 6px 8px !important;
}
.search-field input,
.search-field select {
padding: 14px 16px;
font-size: 16px;
}
.search-btn {
padding: 14px 26px;
font-size: 15px;
}
.year-mark {
font-size: 10px;
min-width: 30px;
}
#year-slider-container {
padding: 10px 15px;
margin: 15px 0 25px 0;
}
.year-slider-wrapper {
margin-bottom: 35px;
}
}
/* =====================
MOBILE (up to 768px)
====================== */
@media (max-width: 768px) {
.chart-controls-row {
flex-direction: column;
gap: 15px;
padding: 15px 10px;
}
.chart-buttons-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
width: 100%;
max-width: 300px;
margin: 0 auto;
justify-self: center;
}
.button-style {
padding: 15px 10px;
font-size: 14px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
min-height: 50px;
}
.chart-title-wrapper {
flex-direction: column;
align-items: stretch;
gap: 8px;
width: 100%;
}
.chart-title-label {
text-align: center;
font-size: 16px;
}
.chart-title-input {
width: 100%;
padding: 12px;
font-size: 16px;
border-radius: 6px;
}
.chart-controls {
padding: 15px;
}
.chart-controls label,
.chart-controls select {
font-size: 16px;
}
.chart-controls select {
padding: 12px;
border-radius: 6px;
}
#echarts-bar,
#echarts-pie {
height: 300px;
}
body.show-map #filter-panel {
flex-direction: column;
gap: 15px;
padding: 15px;
align-items: stretch;
}
.filter-item {
flex-direction: column;
align-items: stretch;
gap: 8px;
width: 100%;
}
.filter-item label {
font-size: 16px;
font-weight: bold;
text-align: left;
}
.filter-item select {
padding: 15px;
font-size: 16px;
border-radius: 8px;
border: 2px solid #ddd;
background: white;
width: 100%;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
background-position: right 15px center;
background-repeat: no-repeat;
background-size: 16px;
padding-right: 45px;
}
.filter-item select:focus {
outline: none;
border-color: #007bff;
box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}
#map-camera-btn {
top: 560px !important;
right: 15px !important;
width: 45px !important;
height: 45px !important;
}
#chart-camera-btn {
top: 10px !important;
right: 15px !important;
width: 45px !important;
height: 45px !important;
}
.table-header {
flex-direction: column;
align-items: stretch;
gap: 20px;
padding: 15px 10px;
}
#record-count-wrapper {
width: 100%;
padding: 15px;
background: #f8f9fa;
border-radius: 8px;
align-items: center;
text-align: center;
}
#record-count-label {
font-size: 1.1rem;
text-align: center;
}
#data-last-updated {
font-size: 0.75rem;
text-align: center;
}
.table-actions {
flex-direction: column;
gap: 10px;
width: 100%;
}
.table-actions .button {
width: 100%;
padding: 15px;
font-size: 16px;
border-radius: 8px;
margin-right: 0;
}
#toggle-column-panel {
width: 100%;
padding: 15px;
font-size: 16px;
background: #007bff;
color: white;
border: none;
border-radius: 8px;
margin-bottom: 15px;
display: block !important;
}
.column-panel {
padding: 20px;
border-radius: 10px;
}
.column-panel label {
font-size: 16px;
margin-bottom: 12px;
display: block;
}
#column-select {
width: 100%;
min-height: 120px;
font-size: 16px;
padding: 12px;
border-radius: 8px;
margin-bottom: 15px;
}
.column-panel-buttons {
display: flex;
gap: 10px;
margin-top: 15px;
}
.column-panel-buttons button {
flex: 1;
padding: 15px;
font-size: 16px;
border-radius: 8px;
background: #6c757d;
color: white;
border: none;
cursor: pointer;
}
.column-panel-buttons button:hover {
background: #5a6268;
}
.data-table-container {
padding: 15px 10px;
}
#data-table_wrapper {
font-size: 14px;
}
#data-table {
font-size: 14px;
}
#data-table th,
#data-table td {
padding: 10px 8px;
white-space: nowrap;
}
.search-modal-content {
margin: 2% 10px;
max-height: 95vh;
border-radius: 10px;
}
.search-grid {
grid-template-columns: 1fr;
gap: 15px;
}
.search-modal-header {
padding: 15px 20px 10px;
flex-direction: column;
gap: 10px;
text-align: center;
}
.search-modal-header h3 {
font-size: 20px;
}
.search-modal-close {
position: absolute;
top: 15px;
right: 20px;
font-size: 24px;
}
.search-modal-body {
padding: 20px;
}
.search-modal-actions {
flex-direction: column;
gap: 12px;
}
.search-btn {
width: 100%;
padding: 15px 20px;
font-size: 16px;
}
.search-btn-advanced {
width: 100%;
padding: 12px 20px;
font-size: 15px;
margin-left: 0;
margin-top: 10px;
justify-content: center;
}
.column-search-input {
font-size: 14px !important;
padding: 8px 10px !important;
}
.search-field input,
.search-field select {
padding: 15px;
font-size: 16px;
border-radius: 10px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.search-field select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
background-position: right 15px center;
background-repeat: no-repeat;
background-size: 16px;
padding-right: 45px;
}
.search-field label {
font-size: 16px;
margin-bottom: 10px;
}
#data-table_filter {
flex-direction: column;
align-items: stretch;
gap: 12px;
}
#data-table_filter label {
flex-direction: column;
gap: 8px;
}
#data-table_filter input {
width: 100%;
padding: 12px 15px;
font-size: 16px;
border-radius: 8px;
}
.year-mark:nth-child(2n) {
opacity: 0;
}
}
/* =====================
VERY SMALL MOBILE (up to 480px)
====================== */
@media (max-width: 480px) {
.table-actions .button {
padding: 10px;
font-size: 13px;
}
#record-count-label {
font-size: 16px;
padding: 8px;
}
.data-table-container {
padding: 10px 5px;
}
#toggle-column-panel {
font-size: 14px;
padding: 10px;
}
.search-modal-content {
margin: 1% 5px;
border-radius: 8px;
}
.search-modal-header {
padding: 12px 15px 8px;
}
.search-modal-header h3 {
font-size: 18px;
}
.search-modal-body {
padding: 15px;
}
.search-field input,
.search-field select {
padding: 12px;
font-size: 16px;
}
.search-btn {
padding: 12px 16px;
font-size: 15px;
}
.search-btn-advanced {
padding: 10px 16px;
font-size: 14px;
}
}
/* =====================
ACCESSIBILITY
====================== */
.search-modal-close:focus,
.search-btn:focus,
.search-btn-advanced:focus,
.column-search-input:focus {
outline: 2px solid #007bff;
outline-offset: 2px;
}
.search-modal[aria-hidden="true"] {
display: none;
}
.search-modal[aria-hidden="false"] {
display: block;
}
@media (prefers-contrast: high) {
.search-highlight {
background-color: yellow !important;
color: black !important;
border: 2px solid black !important;
}
.search-modal-content {
border: 3px solid black;
}
.search-field input,
.search-field select {
border: 2px solid black;
}
}
@media (prefers-reduced-motion: reduce) {
.search-modal-content {
animation: none;
}
.search-btn,
.search-btn-advanced,
.column-search-input {
transition: none;
}
}
