body {
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.container {
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 16px;
    width: fit-content;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    text-align: center;
}

.title {
    font-size: 35px;
    margin-bottom: 7px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

#feeling_text {
    font-size: 30px;
    margin-bottom: 7px;
    /*font-weight: bold;*/
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.progress-container {
    width: 520px;
    background-color: #1f2937;
    border-radius: 9999px;
    padding: 6px;
    margin-bottom: 18px;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.5);
}

/*
.progress-bar {
    height: 42px;
    background: linear-gradient(90deg, #22d3ee, #6366f1, #a855f7);
    border-radius: 9999px;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 19px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}*/

.progress-bar {
    height: 42px;
    /* default gradient removed - now set by JS */
    border-radius: 9999px;
    transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 40px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.controls {
    margin-top: 15px;
    display: none;
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.quick-buttons button {
    padding: 10px 6px;
    font-size: 25px;
    background: #374151;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-buttons button:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.adjust-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.adjust {
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    min-width: 100px;
}

.minus {
    background: #ef4444;
}

.plus {
    background: #22c55e;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1f2937;
    padding: 10px 15px;
    border-radius: 12px;
}

.slider-container input[type="range"] {
    flex: 1;
}

#sliderValue {
    font-weight: bold;
    min-width: 50px;
    font-size: 18px;
}
