/* Sovereign Station Core Styles */
body, html { margin:0; padding:0; height:100%; width:100%; background:#0b0d17; overflow:hidden; font-family:sans-serif; }
#map { position:absolute; top:0; left:0; width:100%; height:100%; z-index:1; }

header {
    position: fixed; top: 0; width: 100%; height: 60px;
    background: #0b0d17; display: flex; justify-content: space-between;
    align-items: center; padding: 0 20px; z-index: 10005; border-bottom: 2px solid #1a5276;
    color: white; box-sizing: border-box;
}

footer {
    position: fixed; bottom: 0; width: 100%; height: 300px; /* 300px Height */
    background: rgba(11, 13, 23, 0.98); 
    display: grid;
    grid-template-columns: 1fr 300px 350px; /* Three main panels */
    gap: 20px;
    border-top: 3px solid #1a5276;
    backdrop-filter: blur(15px); 
    z-index: 10005; 
    transition: 0.4s;
    box-sizing: border-box;
    justify-content: space-around; align-items: center; border-top: 2px solid #1a5276;
    backdrop-filter: blur(10px); z-index: 10005; color: white;
    padding: 10px 20px;
}

footer {


}
/* Omni-Dashboard Global Styles */
:root {
    --bg-color: #0b0e14;
    --card-bg: #161b22;
    --accent-blue: #58a6ff;
    --accent-green: #3fb950;
    --text-main: #c9d1d9;
    --text-dim: #8b949e;
    --border: #30363d;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

.omni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.omni-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.reading {
    font-family: monospace;
    font-size: 2.5rem;
    color: var(--accent-blue);
}

.zip-input { background: #1a2533; border: 1px solid #3498db; color: white; padding: 6px; border-radius: 4px; }

/* Custom Business Marker Style */


.biz-marker {
    background: #e67e22;
    border: 2px solid #fff;
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}


/* The Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Individual Data Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.card h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 5px;
}

/* Big Data Numbers */
.data-value {
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-blue);
}

.unit {
    font-size: 1rem;
    color: var(--text-dim);
    margin-left: 5px;
}

/* Status Indicators */
.status-live {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--accent-green);
}


.tide-container {
    width: 350px;
    height: 120px;
    position: relative;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    border: 1px solid #1a5276;
    overflow: hidden;
}

.vitals-grid {
    display: flex;
    gap: 20px;
    align-items: center;
}

.astro-box {
    font-size: 11px;
    color: #f1c40f;
    line-height: 1.4;
}

.forecast-mini {
    display: flex;
    gap: 10px;
    font-size: 10px;
    border-left: 1px solid #333;
    padding-left: 15px;
}

/* Panel Containers */
.panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 10px;
    padding: 15px;
    position: relative;
}

.panel-label {
    position: absolute; top: -10px; left: 15px;
    background: #0b0d17; padding: 0 10px;
    color: #3498db; font-size: 10px; font-weight: bold; letter-spacing: 1px;
}

/* Forecast Styling */
.forecast-row {
    display: flex; justify-content: space-between; margin-top: 10px;
}

.forecast-day { text-align: center; flex: 1; border-right: 1px solid #222; }
.forecast-day:last-child { border: none; }

#loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}

.hidden { display: none !important; }

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* The Error Toast Container */
#error-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #ff4b2b; /* Alert Red */
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Animation to fade in and out */
#error-toast.show {
    visibility: visible;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }