#modern-insurance-calc {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 24px;
    font-family: inherit;
    color: #000000;
    max-width: 850px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.calc-intro {
    text-align: center;
    margin-bottom: 32px;
}

.calc-intro h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.calc-intro p {
    color: #4a4a4a;
    font-size: 1rem;
    margin: 0;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.calc-card {
    background: #ffffff;
    border: 2px solid transparent;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.calc-card:focus-within {
    border-color: #ffcd57;
    box-shadow: 0 4px 16px rgba(255, 144, 0, 0.1);
    transform: translateY(-2px);
}

.calc-card.card-sensitive {
    background: #fffdf5;
    border: 1px solid #ffcd57;
}

.calc-card legend {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0 8px;
    margin-left: -8px;
}

.card-help {
    font-size: 0.85rem;
    color: #666666;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.input-wrapper {
    margin-bottom: 16px;
}

.input-wrapper label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #000000;
}

.input-with-symbol {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-symbol input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    color: #000000;
    background: #f9f9f9;
    transition: all 0.2s ease;
    -moz-appearance: textfield;
}

.input-with-symbol input:focus {
    outline: none;
    border-color: #ff9000;
    background: #ffffff;
}

.input-with-symbol .currency-symbol {
    position: absolute;
    right: 16px;
    color: #888888;
    font-weight: 600;
    pointer-events: none;
}

.calc-summary {
    background: #fafafa;
    border-radius: 10px;
    padding: 24px;
    border: 2px dashed #ffcd57;
}

.summary-details {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #4a4a4a;
}

.margin-line {
    font-size: 0.9rem;
    color: #888888;
}

.tooltip {
    cursor: help;
    font-size: 0.8rem;
}

.summary-grand-total {
    text-align: center;
    margin-bottom: 0; /* Ajusté puisque le CTA a disparu */
}

.total-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.total-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ff9000;
}

.sensitive-note {
    font-size: 0.9rem;
    color: #d97700;
    margin-top: 8px;
}

@media (max-width: 600px) {
    #modern-insurance-calc {
        padding: 20px 16px;
    }
    .total-amount {
        font-size: 2rem;
    }
}