body {
    background-color: #333;
    font-family: 'Helvetica Neue', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.radio-container {
    width: 400px;
    background: linear-gradient(145deg, #2e2e2e, #1a1a1a);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.5),
                -10px -10px 30px rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
}

.radio-face {
    background: #222;
    border-radius: 15px;
    padding: 20px;
    box-shadow: inset 5px 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

/* --- Top Display --- */
.top-display {
    margin-bottom: 15px;
}
.brand-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #ccc;
    text-shadow: 0 0 5px #aaa;
    text-align: center;
    margin-bottom: 10px;
}
.display-screen {
    background-color: #1a2a1a;
    border: 2px solid #334333;
    border-radius: 8px;
    padding: 10px 15px;
    font-family: 'Orbitron', sans-serif;
    color: #6fef6f;
    text-shadow: 0 0 8px #6fef6f, 0 0 10px #6fef6f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.7);
    min-height: 40px;
}
#station-name-display {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    text-align: center;
}
.power-indicator {
    width: 12px; height: 12px; background-color: #3a3a3a;
    border-radius: 50%; transition: all 0.3s;
}
.power-indicator.on {
    background-color: #ff4d4d; box-shadow: 0 0 10px #ff4d4d;
}
.stereo-indicator {
    font-size: 12px; opacity: 0; transition: opacity 0.3s;
}
.stereo-indicator.on {
    opacity: 1;
}

/* --- Station List --- */
.station-list-container {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 5px;
    height: 200px;
    margin-bottom: 15px;
    padding: 5px;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5);
}
#station-list {
    height: 100%;
    overflow-y: auto;
    color: #ddd;
}
.station-item {
    padding: 8px 10px;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
    transition: background-color 0.2s;
}
.station-item:hover {
    background-color: #334333;
}
.station-item.active {
    background-color: #6fef6f;
    color: #111;
    font-weight: bold;
}
.station-item-placeholder, .station-item-message {
    padding: 10px;
    color: #888;
    text-align: center;
    font-style: italic;
}

/* --- Search and Controls --- */
.search-form-container {
    position: relative;
    margin-bottom: 15px;
}
.search-actions {
    display: flex;
    align-items: center;
}
#search-form {
    display: flex;
    flex-grow: 1;
}
#search-input {
    flex-grow: 1;
    background-color: #1a1a1a;
    border: 1px solid #444;
    border-radius: 5px 0 0 5px;
    color: #eee;
    padding: 8px;
    outline: none;
}
#search-form button {
    background: #3a3a3a;
    border: 1px solid #444;
    border-left: none;
    color: #ccc;
    padding: 0 15px;
    cursor: pointer;
    border-radius: 0;
}
#find-me-btn {
    background: #3a3a3a;
    border: 1px solid #444;
    border-left: none;
    color: #ccc;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    font-size: 14px;
    line-height: 1.3;
}
#find-me-btn:hover, #search-form button:hover {
    background: #4a4a4a;
}
#search-suggestions {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position it right below the search input */
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    border: 1px solid #444;
    border-top: none;
    border-radius: 0 0 5px 5px;
    z-index: 10;
    max-height: 150px;
    overflow-y: auto;
}
.suggestion-item {
    padding: 10px;
    color: #ccc;
    cursor: pointer;
    font-size: 14px;
}
.suggestion-item:hover {
    background-color: #334333;
}
.playback-controls {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 15px;
}
#prev-station, #next-station {
    background: #3a3a3a;
    border: 1px solid #1a1a1a;
    border-radius: 50%;
    color: #aaa;
    font-weight: bold;
    cursor: pointer;
    width: 45px;
    height: 45px;
    font-size: 20px;
}
.power-btn {
    width: 50px; height: 50px; border-radius: 50%; border: none;
    background: linear-gradient(145deg, #d44a4a, #b02a2a);
    box-shadow: 3px 3px 8px rgba(0,0,0,0.6);
    cursor: pointer; transition: all 0.2s;
}
.power-btn:active {
    background: linear-gradient(145deg, #b02a2a, #d44a4a);
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.6);
}
.volume-control {
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.volume-control label { font-size: 12px; color: #aaa; }
#volume-slider { width: 60%; }

.api-credit {
    text-align: center; font-size: 10px; color: #888; margin-top: 10px;
}
.api-credit a { color: #aaa; text-decoration: none; }