/* ------------------ */
/* GOOGLE FONT IMPORT  */
/* ------------------ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* ------------------ */
/* GLOBAL STYLES       */
/* ------------------ */
body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 50px 20px;
    transition: background 0.5s ease;
}

.container {
    max-width: 450px;
    width: 100%;
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

/* ------------------ */
/* HEADINGS           */
/* ------------------ */
h1 {
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
}

/* ------------------ */
/* INPUT + BUTTON      */
/* ------------------ */
input[type="text"] {
    padding: 12px 15px;
    width: 70%;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid #ddd;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

input[type="text"]:focus {
    border-color: #a0e1e6;
    box-shadow: 0 0 8px rgba(54,209,220,0.3);
}

button {
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #aaf5fa, #8ea8e0);
    color: rgb(255, 255, 255);
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: 10px;
    margin-top: 10px; 
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(54,209,220,0.3);
}

/* ------------------ */
/* OUTPUT SECTION      */
/* ------------------ */
#output {
    margin-top: 25px;
    text-align: left;
    font-size: 0.95rem;
    color: #333;
}

/* ------------------ */
/* PLAYLIST CARDS      */
/* ------------------ */
#playlist {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.song-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f9f9f9;
    padding: 12px 15px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.song-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.song-card img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.song-info {
    display: flex;
    flex-direction: column;
}

.song-info strong {
    font-weight: 600;
    font-size: 1rem;
}

.song-info span {
    font-size: 0.85rem;
    color: #666;
}

/* ------------------ */
/* BACKGROUND MOODS    */
/* ------------------ */
.sunny {
    background: linear-gradient(135deg, #FFD86F, #FC6262);
}

.rainy {
    background: linear-gradient(135deg, #5B86E5, #36D1DC);
}

.snowy {
    background: linear-gradient(135deg, #E0EAFC, #CFDEF3);
}

.cloudy {
    background: linear-gradient(135deg, #D7DDE8, #757F9A);
}

.intense {
    background: linear-gradient(135deg, #232526, #414345);
}

/* ------------------ */
/* MOOD CHART          */
/* ------------------ */
#moodChart {
    margin-top: 25px;
    border-radius: 15px;
    background: #f9f9f9;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    height: 200px;      /* fixed height */
    width: 100%;        /* full width of container */
}


  