/* PKV/GKV Vergleichsrechner Styles */
/* PKV/GKV Vergleichsrechner Styles - MIT ZENTRIERUNG */
.pkv-gkv-calculator-wrapper {
    display: flex !important;           /* Flexbox FÜR Zentrierung */
    justify-content: center !important; /* Horizontal zentrieren */
    align-items: center !important;     /* Vertikal zentrieren */
    min-height: 50vh;                  /* Volle Höhe (kannst du reduzieren) */
	  padding: 10px 20px !important; /* Oben/unten nur 10px statt 20px */
    margin-top: -50px !important; /* Optional: Nach oben schieben */
    font-family: Arial, sans-serif;
    /* KEIN grauer Hintergrund: background-color entfernt */
    /* WENIGER Abstand: padding reduziert oder entfernt */
    padding: 10px;                      /* Statt 20px - anpassbar */
    margin: 0;
}

.pkv-gkv-main-wrapper {
    /* ENTFERNT: position: relative; display: flex; flex-direction: column; align-items: center; */
    position: relative;
    display: block; /* Statt flex */
    /* Das Formular wird sich jetzt natürlich in den Seiteninhalt einfügen */
    flex-direction: column;
    align-items: center;
}

.pkv-gkv-container {
    position: relative;
    width: 870px;
    height: 449px;
    margin-bottom: 20px;
}

.pkv-gkv-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.pkv-gkv-input-field {
    position: absolute;
    z-index: 2;
    border: 1px solid #000;
    background: white;
    font-size: 10pt;
    text-align: center;
    padding: 0 5px;
    line-height: 24px;
    font-family: Arial, sans-serif;
    color: #000;
    font-weight: normal;
    -moz-appearance: textfield;
    -webkit-appearance: none;
    appearance: none;
    /* AUTOFILL DEAKTIVIEREN */
    -webkit-autofill: none;
    -moz-autofill: none;
    -o-autofill: none;
    -khtml-autofill: none;
    autofill: none;
}

/* Chrome Autofill Styling korrigieren */
.pkv-gkv-input-field:-webkit-autofill,
.pkv-gkv-input-field:-webkit-autofill:hover, 
.pkv-gkv-input-field:-webkit-autofill:focus {
    -webkit-text-fill-color: #000 !important;
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

.pkv-gkv-input-field::-webkit-outer-spin-button,
.pkv-gkv-input-field::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pkv-gkv-result-field {
    position: absolute;
    z-index: 2;
    border: 1px solid #000;
    background: #edecec;
    font-size: 10pt;
    text-align: center;
    padding: 0 5px;
    height: 24px;
    line-height: 24px;
    color: #000;
    font-family: Arial, sans-serif;
    font-weight: normal;
}

.pkv-gkv-checkbox-field {
    position: absolute;
    z-index: 2;
    margin: 0;
    cursor: pointer;
    transform: scale(1.2);
}

.pkv-gkv-dropdown-kinder {
    position: absolute;
    z-index: 10;
    border: 1px solid #000;
    background: white;
    font-size: 10pt;
    height: 24px;
    padding: 0 5px;
    font-family: Arial, sans-serif;
    font-weight: normal;
    color: #000 !important;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
}

.pkv-gkv-dropdown-kinder option {
    color: #000;
    background: white;
    font-size: 10pt;
    padding: 2px;
}

.pkv-gkv-input-field-klein {
    width: 33px;
}

.pkv-gkv-result-field-klein {
    width: 33px;
}

/* EXAKTE POSITIONEN */
.pkv-gkv-field-A1 { left: 109px; top: 72px; width: 70px; height: 24px; }
.pkv-gkv-field-A2 { left: 351px; top: 72px; width: 22px; height: 22px; }
.pkv-gkv-field-A3 { left: 628px; top: 72px; width: 22px; height: 22px; }
.pkv-gkv-field-A4 { left: 733px; top: 72px; width: 22px; height: 22px; }
.pkv-gkv-field-PD { 
    left: 820px; 
    top: 72px; 
    width: 40px !important;
    height: 24px; 
    z-index: 10;
    background-color: white !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

.pkv-gkv-field-A5 { left: 469px; top: 120px; width: 22px; height: 22px; }
.pkv-gkv-field-A6 { left: 544px; top: 120px; width: 22px; height: 22px; }
.pkv-gkv-field-A7 { left: 784px; top: 119px; width: 65px; height: 24px; }

.pkv-gkv-field-A8 { left: 272px; top: 170px; width: 66px; height: 24px; }
.pkv-gkv-field-E1 { left: 767px; top: 170px; width: 72px; height: 24px; }

.pkv-gkv-field-E2 { left: 287px; top: 295px; width: 72px; height: 24px; }
.pkv-gkv-field-E3 { left: 531px; top: 295px; width: 72px; height: 24px; }
.pkv-gkv-field-E5 { left: 768px; top: 295px; width: 72px; height: 24px; }

.pkv-gkv-field-E6 { left: 320px; top: 372px; width: 72px; height: 24px; }
.pkv-gkv-field-A9 { left: 475px; top: 370px; width: 32px; height: 24px; }
.pkv-gkv-field-E7 { left: 609px; top: 370px; width: 39px; height: 24px; }
.pkv-gkv-field-E8 { left: 767px; top: 372px; width: 72px; height: 24px; }

.pkv-gkv-field-E9 { left: 125px; top: 403px; width: 72px; height: 24px; }
.pkv-gkv-field-E10 { left: 309px; top: 403px; width: 72px; height: 24px; }
.pkv-gkv-field-E11 { left: 566px; top: 402px; width: 72px; height: 24px; }
.pkv-gkv-field-E12 { left: 765px; top: 403px; width: 75px; height: 24px; }

.pkv-gkv-reset-button {
    display: block;
    position: relative;
    margin: 20px auto 0;
    background-color: #0a14dc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
    padding: 8px 20px;
    height: 33px;
    white-space: nowrap;
    min-width: 120px;
    z-index: 10;
}

.pkv-gkv-reset-button:hover {
    background-color: #0810b8;
}

/* Responsive Design */
@media (max-width: 900px) {
    .pkv-gkv-container {
        width: 100%;
        height: auto;
        max-width: 870px;
        min-height: 449px;
		overflow: hidden;
    }

    /* STELLE SICHER, dass auch die Felder angepasst werden */
    .pkv-gkv-input-field, .pkv-gkv-result-field, .pkv-gkv-dropdown-kinder {
        max-width: 100%;
        box-sizing: border-box; /* Wichtig: Padding ist in der Breite enthalten */
    }
    
    /* SPEZIELL für das Bruttoeinkommen-Feld (Feld A7) */
    .pkv-gkv-field-A7 {
        max-width: 95% !important; /* Gibt etwas Spielraum */
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .pkv-gkv-background-image {
        width: 100%;
        height: auto;
    }
}/* Desktop-Rechner auf Mobilgeräten komplett ausblenden */
@media (max-width: 768px) {
    .pkv-gkv-calculator-wrapper,
    .pkv-gkv-main-wrapper,
    .pkv-gkv-container {
        display: none !important;
    }
}/