/* ================================================================
   CID Custom Fields — Frontend Styles
   ================================================================ */

/* -- Info Blocks (Honoraires, Copropriété, Loyer, Frais) -- */

.cid-block {
    margin: 30px 0;
    padding: 18px 22px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.cid-block-title {
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #d26a6b;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.cid-block-content {
    flex-direction: column;
    gap: 8px;
}

.cid-info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 5px 0;
    border-bottom: 1px dotted #ddd;
}

.cid-info-row:last-child {
    border-bottom: none;
}

.cid-label {
    font-weight: 600;
    color: #555;
    flex-shrink: 0;
    margin-right: 12px;
}

.cid-value {
    text-align: right;
    color: #333;
}

.cid-value-highlight {
    font-weight: 700;
    font-size: 1.05em;
    color: #d26a6b;
}

/* -- Energy Saving Clearfix (DPE + GES float fix) -- */

.property_energy_saving_info {
    overflow: hidden;
    margin: 30px 0;
}

/* -- GES Energy Block -- */

.cid-ges-saving-info {
    margin-top: 30px;
}

/* -- Géorisques Block -- */

.cid-block-georisques {
    background: #fff8e1;
    border-color: #f0d060;
}

.cid-block-georisques .cid-block-title {
    border-bottom-color: #f0a030;
}

.cid-block-georisques p {
    margin: 0 0 10px 0;
    color: #555;
}

.cid-georisques-link {
    display: inline-block;
    padding: 8px 18px;
    background: #f0a030;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.cid-georisques-link:hover {
    background: #e09020;
    color: #fff;
    text-decoration: none;
}

/* -- Responsive -- */

@media (max-width: 768px) {
    .cid-info-row {
        flex-direction: column;
        gap: 2px;
    }

    .cid-value {
        text-align: left;
    }

    .cid-block {
        padding: 14px 16px;
    }
}
