/* ===== LOKALE SCHRIFTART (DSGVO-konform) ===== */
@font-face {
    font-family: 'Ubuntu';
    src: url('fonts/ubuntu-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('fonts/ubuntu-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('fonts/ubuntu-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== GLOBALE SCHRIFTART ===== */
.cpt_container,
.cpt_container *,
.cpt_results_wrapper,
.cpt_results_wrapper * {
    font-family: 'Ubuntu', sans-serif !important;
}

/* ===== HAUPTCONTAINER ===== */
.cpt_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 100px 20px 100px;
    position: relative;
    border: 3px solid #233977;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: visible;
    box-sizing: border-box;
}

/* Icon */
.cpt_header_icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 84px;
    z-index: 2;
}

/* Überschrift */
.cpt_container .h3,
.cpt_container h1.h3,
.cpt_results_wrapper .h3,
.cpt_results_wrapper h1.h3 {
    text-align: center;
    font-size: 39px;
    color: #233977;
    margin: 0 0 8px;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    z-index: 1;
    padding-top: 10px;
}

/* ===== NAVIGATION ===== */
.cpt_navigation_numbers {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: 40px;
}

.cpt_navigation_background_line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 1px;
}

.cpt_navigation_foreground_line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: #233977;
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.3s ease;
    border-radius: 1px;
}

#cpt_navigation_items {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 3;
}

#cpt_navigation_items div {
    width: 40px;
    height: 40px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    transition: background-color 0.3s ease;
    font-size: 16px;
    border: none;
}

#cpt_navigation_items .cpt_navigation_visited {
    background: #233977;
    color: #fff;
}

#cpt_navigation_items .cpt_navigation_active_item {
    background: #233977;
    color: #fff;
    box-shadow: none;
}

.cpt_navigation_numbers {
    padding: 0;
}

.cpt_navigation_background_line,
.cpt_navigation_foreground_line {
    height: 2px;
}

/* ===== FIELDSET ===== */
.cpt_container fieldset {
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.cpt_container fieldset p {
    font-size: 16px;
    line-height: 1.6;
    color: #233977;
    text-align: center;
}

.validation-warning {
    display: none;
    align-items: center;
    margin-top: 5px;
    color: #e67e22; 
    font-size: 12px;
    clear: both;
    width: 100%;
}

.validation-warning.show {
    display: flex;
    flex-direction: row; 
    flex-wrap: nowrap; 
}

.validation-warning img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    filter: brightness(0) saturate(100%) invert(54%) sepia(88%) saturate(1252%) hue-rotate(1deg) brightness(96%) contrast(93%);
    flex-shrink: 0;
}

.validation-warning p {
    margin: 0;
    color: #e67e22 !important;
    white-space: nowrap;
}

/* Für kleinere Bildschirme: Text umbrechen lassen */
@media (max-width: 768px) {
    .validation-warning {
        flex-wrap: wrap;
    }
    
    .validation-warning p {
        white-space: normal;
    }
}

.input-group {
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 250px;
}

/* Input mit Fehler - Orange Border */
input.validation-error,
select.validation-error {
    border-color: #e67e22 !important;
    box-shadow: 0 0 0 1px #e67e22 !important;
}

/* Radio-Gruppe mit Fehler - Orangener Rahmen */
.option-group.has-error {
    background-color: #fff8f0;
    border: 1px solid #e67e22;
}

/* Für mc-input-wrapper Inputs mit Fehler */
.mc-input-wrapper input.validation-error {
    border-color: #e67e22 !important;
    box-shadow: 0 0 0 1px #e67e22 !important;
}

/* ===== MODUL-CHECKER STYLE INPUTS ===== */
.mc-input-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
}

.mc-input-wrapper input {
    width: 150px;
    min-width: 150px;
    flex-shrink: 0;
    padding: 12px 16px;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 16px;
}

.mc-input-wrapper input:focus {
    border-color: #233977;
    outline: none;
    box-shadow: 0 0 0 3px rgba(35, 57, 119, 0.1);
}

.mc-unit {
    min-width: 60px;
    flex-shrink: 0;
    padding: 12px 5px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    color: #233977;
}

/* ===== SCHRITT 2 & 5: Wrapper-Struktur ===== */
.cpt_strings-dependent-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.string-row-voltage {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.string-row-voltage .string-label {
    white-space: nowrap;
    font-size: 16px;
    color: #233977;
    font-weight: bold;
    flex-shrink: 0;
    padding-top: 20px;
}

.string-row-voltage .input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: auto;
    min-width: 250px;
}

.string-row-voltage .validation-warning {
    flex-basis: 100%;
    margin-left: 0;
    margin-top: 5px;
}

.string-row-voltage input {
    width: 150px;
    text-align: center;
    padding: 12px 16px;
    border: 1px solid #000;
    background: #fff;
    border-radius: 4px;
    font-size: 16px;
}

.string-row-voltage label {
    font-size: 16px;
    color: #233977;
    margin: 0;
}

/* ===== SCHRITT 3: Anzahl Strings ===== */
.cpt_container fieldset .input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
}

.cpt_container fieldset .input-group select {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
    padding: 12px 16px !important;
    /* Theme-Hoehe / zu kleine Zeilenhoehe ueberschreiben, sonst wird der
       Text im Dropdown unten abgeschnitten */
    height: auto !important;
    min-height: 48px;
    line-height: 1.4 !important;
    font-size: 16px;
    border: 1px solid #000;
    border-radius: 4px;
    background: #fff;
}

.cpt_container fieldset .input-group select:focus {
    border-color: #233977;
    outline: none;
    box-shadow: 0 0 0 3px rgba(35, 57, 119, 0.1);
}

.cpt_container fieldset .input-group .validation-warning {
    justify-content: center;
    margin-top: 8px;
    width: 200px;
}

/* ===== SCHRITT 4: Module pro String ===== */
.cpt_strings-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.string-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.string-row .string-label {
    white-space: nowrap;
    font-size: 16px;
    color: #233977;
    font-weight: bold;
    flex-shrink: 0;
    padding-top: 20px;
}

.string-row .input-group,
.string-row-voltage .input-group {
    width: auto;
    min-width: 200px;
}

.string-row .validation-warning,
.string-row-voltage .validation-warning {
    width: auto;
    min-width: 200px;
}

.string-row input,
.string-row-voltage input {
    width: 150px !important;
    min-width: 150px;
    max-width: 150px;
}

/* ===== SCHRITT 6: Verschattung und Neigung ===== */
.cpt_images-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.image-card {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.image-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.image-caption {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.cpt_strings-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
}

.string-card {
    width: 580px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.string-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.string-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #233977;
}

.string-header .string-number {
    font-size: 20px;
    font-weight: bold;
    color: #233977;
    background: #f0f4fa;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.string-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #233977;
}

.string-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.option-group:hover {
    background: #f0f2f5;
}

.option-group .validation-warning {
    flex-basis: 100%;
    margin-left: 0;
    margin-top: 5px;
}

.option-group.has-error {
    background-color: #fff5f5;
    border: 1px solid #cb0404;
}

.option-label {
    flex: 0 0 320px;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    margin: 0;
    text-align: left !important;
}

.option-buttons {
    display: inline-flex;
    gap: 20px;
    align-items: center;
}

.option-buttons input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #233977;
    border-radius: 50%;
    margin: 0 5px 0 0;
    position: relative;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.2s ease;
}

.option-buttons input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    border: 2px solid #233977 !important;
    border-radius: 50% !important;
    margin: 0 5px 0 0 !important;
    padding: 0 !important;
    position: relative;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.2s ease;
    vertical-align: middle;
}

/* Ausgewählter Radio-Button */
.option-buttons input[type="radio"]:checked {
    background-color: #233977 !important;
    border-color: #233977 !important;
}

/* Innerer weißer Punkt */
.option-buttons input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
}

/* Hover-Effekt */
.option-buttons input[type="radio"]:hover {
    border-color: #1a295c !important;
    transform: scale(1.05) !important;
}

/* Label-Stil */
.option-buttons label {
    cursor: pointer;
    font-size: 14px;
    color: #555;
    margin-right: 15px;
}

.option-buttons label:hover {
    color: #233977;
}

.shaded-modules-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    padding-left: 20px;
}

.shaded-modules-group p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.shaded-modules-group input {
    width: 100px !important;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

/* ===== BUTTONS ===== */
.cpt_btn-container {
    text-align: center;
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.cpt_btn-primary {
    background: #233977;
    color: #fff;
}

.cpt_btn-primary:hover {
    background: #1a295c;
    color: #fff;
}

.cpt_btn-secondary {
    background: #6c757d;
    color: #fff;
}

.cpt_btn-secondary:hover {
    background: #5a6268;
    color: #fff;
}

/* ===== RADIO BUTTONS ===== */
.radio-toggle {
    margin: 0 5px 0 15px;
    cursor: pointer;
    width: auto !important;
    display: inline-block !important;
}

.radio-toggle + label {
    cursor: pointer;
    margin-right: 15px;
    display: inline-block;
    font-weight: normal;
}

/* ===== UTILITY CLASSES ===== */
.d-none {
    display: none;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.me-2 {
    margin-right: 0.5rem;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.ctp_nowrap {
    white-space: nowrap;
    margin: 0;
    font-weight: bold;
    font-size: 16px;
    color: #233977;
}

/* ===== ERGEBNISSEITE ===== */
.cpt_results_wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

#cpt_summary {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

#cpt_summary tr {
    border-bottom: 1px solid #e0e0e0;
}

#cpt_summary td {
    padding: 20px 10px;
    vertical-align: top;
}

.cpt_summary-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cpt_summary-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border-left: 5px solid;
    border-left-color: #233977;
}

.cpt_summary-result.error {
    background-color: #fff5f5;
    border-left-color: #dc3545;
}

.cpt_summary-result.success {
    background-color: #f0f9f0;
    border-left-color: #28a745;
}

.cpt_summary-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cpt_summary-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block;
}

.cpt_summary-icon svg * {
    transform-origin: center;
}

.cpt_summary-text {
    flex: 1;
}

.cpt_summary-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.cpt_summary-text p strong {
    font-weight: bold !important;
}

.cpt_summary-text p.small {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Disclaimer */
.cpt_disclaimer {
    margin: 20px 0;
    padding: 12px;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.disclaimer-text {
    margin: 0;
    font-size: 12px;
    color: #666;
    font-style: italic;
    text-align: center;
}

/* Ergebnis-Buttons */
.cpt_summary-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
}

.cpt_summary-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    background: #233977;
    color: #fff;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}

.cpt_summary-actions .btn:hover {
    background: #1a295c;
}

.cpt_summary-actions .btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ===== NEUSTART-BUTTON===== */
.cpt-restart-container {
    text-align: center;
    margin: 30px 0 10px 0;
}

.cpt-btn-restart {
    background: transparent;
    color: #233977;
    border: 2px solid #233977;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cpt-btn-restart:hover {
    background: #233977;
    color: #fff;
    border-color: #233977;
}

.cpt-btn-restart:active {
    transform: translateY(1px);
}

.cpt-btn-restart:hover .refresh-icon {
    animation: spin 1s ease infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .cpt_container {
        padding: 70px 50px 20px 50px;
    }
    
    .cpt_container .h3,
    .cpt_container h1.h3 {
        font-size: 32px;
    }
    
    .btn {
        width: 100%;
        padding: 12px;
    }
    
    .cpt_btn-container {
        flex-direction: column;
    }
    
    .option-label {
        flex: 0 0 280px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .cpt_container {
        padding: 60px 20px 20px 20px;
    }
    
    .cpt_header_icon {
        top: -35px;
        width: 80px;
        height: 67px;
    }
    
    .cpt_container .h3,
    .cpt_container h1.h3 {
        font-size: 32px;
        padding-top: 5px;
    }
    
    #cpt_navigation_items div {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .btn {
        width: 100%;
        padding: 14px;
    }
    
    .cpt_navigation_numbers {
        margin: 20px 0 30px;
    }
    
    .cpt_summary-actions {
        flex-direction: column;
    }
    
    .cpt_summary-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .ctp_nowrap {
        white-space: normal !important;
        margin-bottom: 10px !important;
    }
    
    #cpt_summary td {
        display: block;
        width: 100%;
        padding: 15px;
    }
    
    #cpt_summary tr {
        display: block;
        margin-bottom: 20px;
        border-bottom: 2px solid #e0e0e0;
    }
    
    .string-row,
    .string-row-voltage {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding-bottom: 15px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .string-row .input-group,
    .string-row-voltage .input-group {
        justify-content: center;
    }
    
    .string-row input,
    .string-row-voltage input {
        width: 120px;
    }
    
    .validation-warning {
        justify-content: center;
    }
    
    .cpt_images-wrapper {
        gap: 20px;
    }
    
    .image-card {
        min-width: 150px;
        max-width: 200px;
    }
    
    .string-card {
        padding: 15px;
    }
    
    .option-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .option-label {
        flex: auto;
        width: 100%;
    }
    
    .option-buttons {
        gap: 15px;
    }
    
    .shaded-modules-group {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .cpt_container {
        padding: 50px 15px 15px 15px;
    }
    
    .cpt_header_icon {
        top: -30px;
        width: 70px;
        height: 59px;
    }
    
    .cpt_container .h3,
    .cpt_container h1.h3 {
        font-size: 24px;
        padding-top: 0;
    }
    
    #cpt_navigation_items div {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .cpt_container fieldset p {
        font-size: 14px;
    }
    
    .cpt_disclaimer {
        margin: 15px 0;
        padding: 10px;
    }
    
    .disclaimer-text {
        font-size: 11px;
    }
    
    .cpt_images-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .image-card {
        max-width: 220px;
    }
    
    .string-header .string-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .string-header h4 {
        font-size: 16px;
    }
    
    .option-buttons {
        gap: 12px;
    }
    
    .option-buttons label {
        font-size: 13px;
    }
}

/* ===== DRUCK ===== */
@media print {
    .cpt_header_icon,
    .cpt_summary-actions,
    .cpt_btn-container,
    .cpt_navigation_numbers {
        display: none;
    }
    
    .cpt_summary-result {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .cpt_disclaimer {
        background-color: #fff;
        border: 1px solid #ccc;
        margin-top: 20px;
    }
    
    .disclaimer-text {
        color: #333;
        font-size: 10px;
    }
    
    .cpt_container {
        border: 1px solid #ccc;
        padding: 20px;
    }
}

/* ===== EINGABEDATEN - MINIMALISTISCH ===== */
.cpt_input-summary {
    background: #f5f5f5;
    padding: 16px 20px;
    margin: 20px 0 30px;
    border-radius: 6px;
}

.input-summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #233977;
    margin: 0 0 15px 0;
}

.input-summary-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.input-summary-card {
    flex: 1;
    min-width: 180px;
}

.input-summary-card h4 {
    font-size: 13px;
    font-weight: 600;
    color: #233977;
    margin: 0 0 8px 0;
}

.input-summary-row {
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.input-summary-row:last-child {
    border-bottom: none;
}

.input-summary-row .input-label {
    color: #888;
    font-size: 11px;
    margin-bottom: 2px;
}

.input-summary-row .input-value {
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

.input-summary-card .input-summary-row {
    gap: 10px;
}

/* Tabelle - minimalistisch */
.input-summary-table-wrapper {
    margin-top: 15px;
}

.input-summary-table-wrapper h4 {
    font-size: 13px;
    font-weight: 600;
    color: #233977;
    margin: 0 0 10px 0;
}

.input-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
}

.input-summary-table th {
    background: #f0f0f0;
    color: #333;
    padding: 8px 6px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

.input-summary-table td {
    padding: 6px;
    border-bottom: 1px solid #eee;
}

.input-summary-table tr:last-child td {
    border-bottom: none;
}

/* Ergebnisse Überschrift - minimalistisch */
.results-summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #233977;
    margin: 15px 0 12px 0;
}

/* Druck-Styles */
@media print {
    .cpt_input-summary {
        background: none;
        border: 1px solid #ccc;
    }
    
    .input-summary-table th {
        background: #f0f0f0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .input-summary-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .input-summary-table {
        font-size: 10px;
    }
    
    .input-summary-table th,
    .input-summary-table td {
        padding: 5px 3px;
    }
}