/* Trocknungs-Kostenrechner Styles */

.trocknungs-rechner-container {
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Header */
.trocknungs-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.header-icon {
    width: 48px;
    height: 48px;
    background: #E3F2FD;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-text h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.header-text .subtitle {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #666;
}

/* Form Groups */
.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

.flaeche-value {
    font-size: 18px;
    font-weight: 600;
    color: #00A8E8;
}

.info-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #e0e0e0;
    color: #666;
    border-radius: 50%;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    cursor: help;
    margin-left: 6px;
}

/* Slider */
.slider-container {
    margin-bottom: 8px;
}

.flaeche-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #666 0%, #00A8E8 0%, #00A8E8 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.flaeche-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #00A8E8;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.flaeche-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #00A8E8;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

/* Select Dropdown */
.form-select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #ffffff;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
    transition: border-color 0.2s;
}

.form-select:hover {
    border-color: #00A8E8;
}

.form-select:focus {
    outline: none;
    border-color: #00A8E8;
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.1);
}

/* Insurance Toggle */
.insurance-toggle {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon {
    flex-shrink: 0;
}

.toggle-container span {
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #00A8E8;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Results Container */
.results-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.result-item {
    text-align: center;
}

.result-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.result-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Total Cost */
.total-cost-container {
    background: #E3F2FD;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
}

.total-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.total-amount {
    font-size: 32px;
    font-weight: 700;
    color: #00A8E8;
    margin-bottom: 12px;
}

.insurance-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #00C853;
    font-weight: 500;
}

/* Disclaimer */
.disclaimer {
    font-size: 12px;
    color: #999;
    text-align: center;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .trocknungs-rechner-container {
        padding: 24px 20px;
    }
    
    .header-text h2 {
        font-size: 20px;
    }
    
    .results-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .total-amount {
        font-size: 28px;
    }
}
