/* ====== Color Variables ====== */
:root {
    --primary-color: #1ED9AA;
    --secondary-color: #3E8472;
    --tertiary-color: #2A3331;
    --text-color: #ffffff;
    --background-color: #f0f0f0;
}

/* ====== Layout Containers ====== */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background-color);
    justify-content: center;
}

#main {
    border-radius: 40px;
    padding: 1rem;
    margin: 1rem 1rem 0 1rem;
}

/* ====== Header Styles ====== */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--tertiary-color);
    padding: 20px 10px;
}

.header a,
.header span {
    color: var(--text-color);
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
    margin: 0 10px;
}

.header a.logo {
    font-size: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Inter', monospace;
    padding-left: 0;
    pointer-events: none;
    cursor: default;
    margin-right: 20px;
}

.header a.logo:hover {
    background-color: inherit;
    color: var(--text-color);
}

.header a:hover {
    background-color: #ddd;
    color: black;
}

.header a.active {
    background-color: var(--primary-color);
    color: black;
}

.header-right {
    float: none;
    display: flex;
    justify-content: center;
    align-items: center;}

/* ====== Player Styles ====== */
.center-container {
    display: block;
    justify-content: center;
}

#player {
    background: var(--tertiary-color);
    border-radius: 20px;
    padding: 2rem;
    width: 300px;
    margin: 0 auto;
    box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.1);
}

.player-content {
    display: block;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
}

.song-section {
    display: block;
    align-items: center;
    flex: 1;
}

#songIcon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

#songInfo {
    color: var(--text-color);
    text-align: center;
}

#welcome-xmsync {
    max-width: 700px;
    margin: 2rem auto;
    padding:2rem;
    background: #f9f9f9;
    border-radius: 20px;
}

.station-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex: 1;
}



#stationDropdown {
    width: 220px;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    background: #fff;
    color: #222;
    font-size: 1rem;
    transition: border-color 0.2s;
    box-shadow: 0 2px 8px rgba(30, 217, 170, 0.08);
    align-items: center;
}

#stationDropdown:focus {
    border-color: var(--secondary-color);
    outline: none;
}

#stationInput,
input[type="submit"] {
    width: 120px;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    border: none;
    background: var(--primary-color);
    color: var(--text-color);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(30, 217, 170, 0.12);
    text-align: center;
    display: block;
    margin: 0 auto;
}

input[type="submit"]:hover,
input[type="submit"]:focus {
    background: var(--secondary-color);
    color: #fff;
    outline: none;
}


/* ====== Responsive Styles ====== */
@media (max-width: 700px) {
    #player {
        width: 95vw;
        padding: 1rem;
    }
}

@media (max-width: 500px) {

    .header a,
    .header-right {
        float: none;
        display: block;
        text-align: left;
    }
}