body {
    margin: 0;
    background: #fff;
    font-family: "Arial Black", Arial, sans-serif;
}

.top-bar {
    padding: 6px;
    background: #eee;
}

.search-container {
    position: relative;
    display: inline-block;
    width: 260px;
}

#location-search {
    width: 100%;
    padding: 4px 8px;
    border: 1px solid #aaa;
    border-radius: 3px;
    font-size: 14px;
}

.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 3px 3px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.suggestion-item {
    padding: 8px 10px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.suggestion-item:hover {
    background-color: #f5f5f5;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.top-bar button {
    padding: 4px 12px;
    margin-left: 5px;
    background: #4a86e8;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.top-bar button:hover {
    background: #3a76d8;
}

.weatherstar {
    width: 620px;
    margin: 10px;
    background-color: white;
}

.header {
    display: flex;
    align-items: center;
    padding: 6px;
    background: linear-gradient(#2b007f, #000050);
    color: white;
}

.logo {
    background: #007bff;
    color: #fff;
    font-size: 12px;
    padding: 6px;
    text-align: center;
    margin-right: 10px;
    border-radius: 3px;
    min-width: 60px;
}

.title {
    flex: 1;
    line-height: 1.1;
}

.yellow {
    color: #ffd800;
    font-size: 20px;
}

.white {
    color: #fff;
    font-size: 14px;
}

.clock {
    text-align: right;
    font-size: 14px;
    min-width: 100px;
}

/* SLIDER CONTAINER */
.slider-container {
    position: relative;
	margin-bottom:60px;
}

/* SLIDER CONTROLS */
.slider-controls {
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #001a66, #000033);
    padding: 8px 10px;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
}

.control-btn {
    background: #333;
    color: white;
    border: 1px solid #666;
    border-radius: 3px;
    width: 32px;
    height: 32px;
    margin: 0 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.control-btn:hover {
    background: #444;
    border-color: #888;
}

.control-btn:active {
    background: #222;
    transform: scale(0.95);
}

.hamburger {
    margin-right: 10px;
    background: #555;
    font-size: 20px;
}

.arrow-left, .arrow-right {
    font-size: 20px;
    font-weight: bold;
}

.play-pause {
    margin-left: 20px;
    background: #006600;
}

.play-pause:hover {
    background: #008800;
}

.refresh {
    background: #0066cc;
}

.refresh:hover {
    background: #0088ee;
}

/* SLIDES - FIXED TRANSITION */
.slides-wrapper {
    position: relative;
    height: 400px; /* Increased height for weather data */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden; /* Fix for white flash */
    transition: opacity 0.3s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* MENU STYLES */
.menu {
    background: linear-gradient(to right, #00008b, #8b4513);
    padding: 10px;
    height: 100%;
    overflow-y: auto;
}

.slide-title {
    color: #ffd800;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #aaa;
}

/* CURRENT WEATHER LAYOUT */
.main.has-scroll.has-box.current-weather {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #0a0;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    color: white;
}

.weather {
    display: flex;
    min-height: 250px;
}

.left.col, .right.col {
    flex: 1;
    padding: 10px;
}

.center {
    text-align: center;
}

.temp {
    font-size: 48px;
    font-weight: bold;
    color: #ffd800;
    margin: 10px 0;
}

.condition {
    font-size: 18px;
    color: #0ff;
    margin: 10px 0;
}

.icon img {
    width: 80px;
    height: 80px;
    margin: 10px 0;
}

.wind-container {
    margin-top: 20px;
    padding: 10px;
    background: rgba(0, 50, 0, 0.5);
    border-radius: 5px;
}

.wind-label {
    font-weight: bold;
    color: #0ff;
}

.wind {
    font-size: 24px;
    color: #ffd800;
    margin-top: 5px;
}

.wind-gusts {
    font-size: 14px;
    color: #aaa;
    margin-top: 5px;
}

.right.col .location {
    font-size: 12px;
    font-weight: bold;
    color: #ffd800;
    margin-bottom: 20px;
    text-align: center;
}

.row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted #aaa;
}

.label {
    color: #0ff;
    font-weight: bold;
}

.value {
    color: #ffd800;
    font-weight: bold;
}

/* INFO BAR (Rotating messages) */
.info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #0ff;
    padding: 8px;
    font-size: 14px;
    text-align: center;
    border-top: 1px solid #0a0;
}

.info-item {
    display: none;
}

.info-item.active {
    display: block;
}

/* Loading state */
.loading-data {
    text-align: center;
    color: #0ff;
    padding: 50px 0;
    font-style: italic;
}

/* Checkbox Section */
.checkbox-section {
    background: linear-gradient(to bottom, #f8f8f8, #e8e8e8);
    padding: 12px 15px;
    border-top: 1px solid #ddd;
}

.checkbox-title {
    color: #333;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 15px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-grid input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}