.bubble {
	-webkit-border-radius:5px 5px 5px 5px;
	-moz-border-radius:5px 5px 5px 5px;
	border-radius:5px 5px 5px 5px;
    min-height: 300px;
	background: #F4FCFC;
}
.with-shadow {
	box-shadow:         0 0 8px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0 8px rgba(0,0,0,0.5);
	-moz-box-shadow:    0 0 8px rgba(0,0,0,0.5);
}

body {
    background: url(/images/bg.png);
}

div#notices {
    cursor:pointer;
    font-weight:normal;
    display:block;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    opacity: 0.9;
    filter: alpha(opacity=90);
    
}
div#notices .notice {
    padding: 8px;
	box-shadow:         0 2px 4px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.5);
	-moz-box-shadow:    0 2px 4px rgba(0,0,0,0.5);
}
div#notices .close {
    color: #999;
    cursor: pointer;
    font-size: 10px;
    font-weight: normal;
    float: none;
    font-weight: bold;
    line-height: inherit;
    opacity: 1;
    filter: alpha(opacity=100);
    
}

.inner {
    position: relative;
    text-align: center;
    min-height: 100%;
    height: 100%;
}

#map { 
    height: 100%;
    width: 100%; 
}
.weather-info { 
    position: absolute; 
    top: 10px; 
    left: 50px; 
    background: white; 
    text-align: left;
    z-index: 1000; 
    max-width: 300px;
    padding: 16px;
    transition: width 3s ease, height 3s ease;
    overflow: hidden;
    border: 2px solid rgba(0,0,0,0.2);
}
.weather-info section {
    margin-bottom: 16px;
}
.weather-info h3,
.weather-info .weather-info-toggle {
    font-weight: bold;
}

.weather-info-toggle {
    cursor: pointer;
}
.weather-info.collapsed .weather-info-content {
    display: none;
}
.label {
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
}
.circle { border-radius: 100%; padding: 4px; }
.blue { background: blue; color: white; }
.green { background: green; color: white; }
.yellow { background: yellow; }
.orange { background: orange; }
.red { background: red; color: white; }
.purple { background: purple; color: white; }

.wind-arrow-container {
    background: none;
    border: none;
    --shape: 50% 0%, 100% 100%, 50% 80%, 0% 100%, 50% 0%;
}
.wind-arrow {
    display: inline-block;
    color: white; /* White arrow for contrast */
    background-image: linear-gradient(var(--wind-deg), rgba(0, 153, 255, 0.5), rgba(0, 153, 255, 0));
    animation: windFlow 3s linear infinite;
    background-size: 100% 200%; /* Large size for smooth animation */
    clip-path: polygon(var(--shape));
   display: inline-block;
   width: 16px;
   height: 24px;
}
@keyframes windFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 0% 200%;
    }
}
@media only screen and (max-width: 600px) {
  #map {
    width: 100vw;
    height: 100%;
  }
}

.scrubber-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: none;
}
/* Historical Data Controls */
.historical-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    z-index: 1000;
    min-width: 400px;
}

.control-row {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.btn-primary, .btn-secondary, .btn-play, .btn-reset {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-play {
    background: #28a745;
    color: white;
    min-width: 40px;
}

.btn-play:hover {
    background: #1e7e34;
}

.btn-reset {
    background: #17a2b8;
    color: white;
}

.btn-reset:hover {
    background: #138496;
}

.btn-trajectory, .btn-trajectory-on, .btn-trajectory-off {
    background: #6f42c1;
    color: white;
}

.btn-trajectory:hover, .btn-trajectory-on:hover {
    background: #5a32a3;
}

.btn-trajectory-off {
    background: #6c757d;
}

.btn-trajectory-off:hover {
    background: #545b62;
}

.scrubber-container {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 250px;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timestamp-display {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    min-width: 150px;
    text-align: center;
    padding: 5px 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}
