/* ─── 24flats Property Manager — Frontend Table ──────── */

.tfpm-description {
    margin-bottom: 8px;
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    background: #f5f5f5;
    border-radius: 2px;
}

.tfpm-desc-has-icon {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tfpm-desc-icon {
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.tfpm-desc-icon svg {
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.tfpm-desc-text {
    flex: 1;
}

.tfpm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.tfpm-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.tfpm-table tr:last-child td {
    border-bottom: none;
}

/* Label column */
.tfpm-table .tfpm-label {
    font-weight: 600;
    color: #222;
    width: 35%;
    background: #fafafa;
    border-right: 1px solid #eee;
}

/* Value column */
.tfpm-table .tfpm-value {
    color: #444;
}

/* Amenity rows - alternating */
.tfpm-amenity-row:nth-child(even) .tfpm-label {
    background: #f5f5f5;
}

.tfpm-amenity-row:nth-child(even) .tfpm-value {
    background: #fafafa;
}

/* Divider - line only (no label) */
.tfpm-divider td {
    padding: 4px 16px;
    background: #fff;
}

.tfpm-divider hr {
    border: none;
    border-top: 2px solid #ddd;
    margin: 0;
}

/* Divider heading (with label like "Preise") */
.tfpm-divider-heading {
    margin: 8px 0 8px;
    padding: 12px 20px;
    font-size: 15px;
    color: #333;
    background: #f5f5f5;
    border-left: 4px solid #2271b1;
    border-radius: 2px;
    font-weight: 400;
}

/* Spacer */
.tfpm-spacer td {
    padding: 0;
    height: 20px;
    background: #fff;
    border-bottom: none;
}

/* Pricing rows */
.tfpm-pricing-row .tfpm-label {
    background: #fffdf5;
    border-right-color: #f0e6c8;
    color: #8b6914;
    font-weight: 700;
}

.tfpm-pricing-row .tfpm-value {
    background: #fffdf5;
    color: #333;
    font-weight: 600;
}

/* Error */
.tfpm-error {
    padding: 12px 16px;
    background: #fce8e6;
    color: #c5221f;
    border-radius: 4px;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 600px) {
    .tfpm-table .tfpm-label,
    .tfpm-table .tfpm-value {
        display: block;
        width: 100%;
        border-right: none;
    }

    .tfpm-table .tfpm-label {
        padding-bottom: 2px;
        border-bottom: none;
    }

    .tfpm-table .tfpm-value {
        padding-top: 2px;
    }
}
