
/* Tax calculator styling */
.tax-calculator {
    color: #333;
    padding: 20px;
    width: 100%; /* Nimmt die volle Breite des Bildschirms ein */
}

/* Breite und zentrierte Elemente ohne automatisches Margin */
.tax-calculator .results-container,
.tax-calculator #form {
    width: 100%; /* Flexible Breite */
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Abstand zwischen Input-Bereich und Ergebnissen */
.tax-calculator #form {
    margin-bottom: 50px;
}

/* Styling für Labels und Input-Felder */
.tax-calculator label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #8aa88e;
}

.tax-calculator input[type="text"],
.tax-calculator select {
    width: 100%; /* Volle Breite */
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 1em;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

.tax-calculator input[type="text"]:focus,
.tax-calculator select:focus {
    border-color: #8aa88e;
    outline: none;
}

/* Button Styling */
.tax-calculator button {
    background-color: #8aa88e;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    width: 100%; /* Volle Breite für den Button */
}

.tax-calculator button:hover {
    background-color: #6f8871;
}

/* Styling für die Results-Überschrift */
.tax-calculator .tax-calculator-results {
    font-size: 2.5em;
    color: #8aa88e;
    text-align: center;
    margin-bottom:10px;
}

/* Styling für die Ergebnisse */
.tax-calculator .result-header,
.tax-calculator .result-item,
.tax-calculator .result-sum {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
}

.tax-calculator .result-header h3,
.tax-calculator .result-sum p {
    font-weight: bold;
    color: #8aa88e;
    font-size: 1.2em;
}

.tax-calculator .result-item p {
    margin: 0;
    font-size: 1.1em;
}

.tax-calculator .small-headline {
    margin-top: 15px;
    font-size: 1.4em;
    color: #0d100e;
    border-bottom: 2px solid #f1c15d;
    font-family:"Red Hat Display", Arial, Helvetica, sans-serif;
    font-weight:700;
}

.tax-calculator .small-headline-green {
    margin-top: 15px;
    font-size: 1.4em;
    color: #8aa88e;
    font-family:"Red Hat Display", Arial, Helvetica, sans-serif;
    font-weight:700;
}


.tax-calculator .big-headline-green {
    text-align: center;
    margin-top: 15px;
    font-size: 2.5em;
    color: #8aa88e;
    font-family:"Red Hat Display", Arial, Helvetica, sans-serif;
    font-weight:700;
}

.tax-calculator .result-sum {
    background-color: #f1c15d;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.tax-calculator .result-sum p {
    font-size: 1.3em;
    color: #fff;
}

.tax-calculator .result-item {
    background-color: #fff;
    transition: background-color 0.3s ease;
    width: 100%;
}

.tax-calculator .result-item:hover {
    background-color: #f1f1f1;
}

.tax-calculator .result-item:nth-child(odd) {
    background-color: #fafafa;
}

#loadingIndicator {
    font-size: 14px;
    margin-left: 10px;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Anpassungen für mobile Geräte */
@media (max-width: 768px) {
    .tax-calculator .results-container,
    .tax-calculator #form {
        max-width: 100%; /* Volle Breite auf mobilen Geräten */
        padding: 10px;
    }

    /* Weniger Außenabstand für mobil */
    .tax-calculator {
        padding: 0px;
    }

    .tax-calculator button {
        font-size: 1em;
    }

    .tax-calculator .tax-calculator-results {
        font-size: 1.5em;
    }
}