/* ==========================================================================
   Verbrauchsrechner-Widget (parkett-weber-shop.de)
   Datei: /mediafiles/Sonstiges/verbrauchsrechner.css
   ========================================================================== */

/* Container-Abstände */
.pw-verbrauch-widget {
    font-family: inherit;
    margin: 20px 0 40px 0;
    line-height: 1.5;
}

/* Überschriften mit dem Shop-Gelb als Akzent */
.pw-verbrauch-widget h3 {
    color: #333;
    margin-bottom: 15px;
    margin-top: 25px;
    font-size: 1.2rem;
    border-bottom: 2px solid #ffcc00; /* Akzentfarbe passend zum Shop */
    display: inline-block;
    padding-bottom: 4px;
}

/* ==========================================================================
   Tabelle: Rahmenlos & Farblich differenzierte Spalten
   ========================================================================== */
.pw-table {
    width: 100%;
    max-width: 800px;
    border-collapse: collapse;
    border: none;
    text-align: left;
    margin-bottom: 20px;
}

.pw-table th,
.pw-table td {
    padding: 12px 15px;
    border: none;
    vertical-align: middle;
}

/* Tabellenkopf (Dunkel) */
.pw-table thead tr {
    background-color: #333333;
    color: #ffffff;
}

.pw-table thead th {
    font-weight: 600;
}

/* Spalte 1: Zahnung (Hervorgehoben / Hellgrau) */
.pw-table tbody td:nth-child(1) {
    font-weight: bold;
    background-color: #fafafa;
    color: #333;
}

/* Spalte 2: Für (Neutral / Weiß) */
.pw-table tbody td:nth-child(2) {
    background-color: #ffffff;
}

/* Spalte 3: Verbrauch (Leicht abgesetzt / Hellgrau) */
.pw-table tbody td:nth-child(3) {
    background-color: #f7f7f7;
}

/* Spalte 4: Ergiebigkeit (Leicht abgesetzt / Etwas dunkleres Grau) */
.pw-table tbody td:nth-child(4) {
    background-color: #f2f2f2;
}

/* Unsichtbare Trennung der Zeilen über weißen Rand */
.pw-table tbody tr {
    border-bottom: 2px solid #ffffff; 
}

/* Hover-Effekt für bessere Zeilen-Orientierung */
.pw-table tbody tr:hover td {
    background-color: #fff9e6; /* Sehr helles Gelb beim Drüberfahren */
    transition: background-color 0.2s ease;
}

/* ==========================================================================
   Formular-Elemente (Eingabe & Auswahl)
   ========================================================================== */
.pw-calc-form {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.pw-calc-input,
.pw-calc-select {
    padding: 10px 15px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

/* Fokus-Zustand mit Shop-Gelb */
.pw-calc-input:focus,
.pw-calc-select:focus {
    border-color: #ffcc00;
}

.pw-calc-input {
    width: 140px;
}

.pw-calc-select {
    min-width: 180px;
    cursor: pointer;
}

/* ==========================================================================
   Ergebnis-Box
   ========================================================================== */
.pw-calc-result {
    display: none; /* Wird dynamisch per JS eingeblendet */
    background-color: #f9f9f9;
    border-left: 5px solid #ffcc00; /* Gelber Balken links */
    padding: 15px 20px;
    font-size: 16px;
    color: #333;
    margin-top: 10px;
    border-radius: 0 4px 4px 0;
    max-width: 480px; /* Breite optimiert für den längeren Ergebnistext */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pw-calc-result strong {
    font-size: 18px;
    color: #000;
}