/* Gehaltsrechner-Container */
.slider-container {
    background: linear-gradient(135deg, #64b2c9, #1b3763);
    color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    margin: 40px auto;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

/* Labels für Dropdown und Schieberegler */
label {
    font-size: 1.4em;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: bold;
}

/* Dropdown Styling */
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1em;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s ease;
}

select:hover, select:focus {
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Schieberegler */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    outline: none;
    transition: background 0.3s ease;
    margin-bottom: 20px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #cb344c;
    cursor: pointer;
    transition: background 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #ff6f7d;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #cb344c;
    cursor: pointer;
    transition: background 0.3s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    background: #ff6f7d;
}

/* Anzeige der aktuellen Jahre */
#jahreWert {
    font-size: 1.5em;
    margin: 10px 0;
    font-weight: bold;
}

/* Gehaltsanzeige */
#gehalt {
    font-size: 2em;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Animationseffekte */
.slider-container {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
