/* evya-estimator.css — styles de l'estimateur public de tarif (widget price_estimator). */
.evya-est { width: 100%; }
.evya-est__card {
    max-width: 560px; margin: 0 auto;
    background: var(--ds-surface, #fff);
    border: 1px solid var(--ds-border, #e6e2d6);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(8, 26, 69, .10);
    padding: 26px 22px;
    box-sizing: border-box;
}
.evya-est__head { margin-bottom: 18px; text-align: center; }
.evya-est__title { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--ds-text, #081A45); letter-spacing: -.4px; }
.evya-est__sub { margin: 0; font-size: 14px; color: var(--ds-text-muted, #6b7280); line-height: 1.4; }
.evya-est__panel { display: none; }
.evya-est__panel.is-active { display: block; animation: evyaEstIn .2s ease; }
@keyframes evyaEstIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.evya-est__flabel { font-size: 12px; font-weight: 700; color: var(--ds-text, #081A45); margin: 0 0 8px; display: flex; align-items: center; gap: 5px; }
.evya-est__flabel ion-icon { font-size: 15px; color: var(--ds-primary, #C9A44C); }
.evya-est__types { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin-bottom: 18px; }
.evya-est__type {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 12px 6px; background: var(--ds-bg-soft, #f7f4ec);
    border: 1.5px solid transparent; border-radius: 12px;
    cursor: pointer; font-family: inherit; font-size: 11.5px; font-weight: 600;
    color: var(--ds-text, #081A45); text-align: center; line-height: 1.2;
    transition: border-color .15s, background .15s;
}
.evya-est__type ion-icon { font-size: 22px; color: var(--ds-primary, #C9A44C); }
.evya-est__type.is-active { border-color: var(--ds-primary, #C9A44C); background: var(--ds-surface, #fff); }
.evya-est__fields { display: flex; flex-direction: column; gap: 14px; }
.evya-est__field { display: flex; flex-direction: column; }
.evya-est__input {
    width: 100%; min-height: 50px; padding: 0 14px; box-sizing: border-box;
    background: var(--ds-surface, #fff); color: var(--ds-text, #081A45);
    border: 1.5px solid var(--ds-border, #e6e2d6); border-radius: 12px;
    font-size: 15px; font-family: inherit;
}
.evya-est__input:focus { outline: none; border-color: var(--ds-primary, #C9A44C); box-shadow: 0 0 0 3px rgba(201, 164, 76, .18); }
.evya-est__err { margin: 14px 0 0; padding: 10px 12px; background: rgba(200, 40, 40, .08); border: 1px solid rgba(200, 40, 40, .3); color: #b42318; border-radius: 10px; font-size: 13px; }
.evya-est__cta {
    width: 100%; margin-top: 18px; min-height: 52px; padding: 0 20px;
    background: var(--ds-primary, #C9A44C); color: var(--ds-on-primary, #081A45);
    border: 0; border-radius: 12px; font-family: inherit; font-size: 15px; font-weight: 800;
    cursor: pointer; transition: filter .15s, opacity .15s;
}
.evya-est__cta:hover { filter: brightness(1.04); }
.evya-est__cta:disabled { opacity: .5; cursor: default; }
.evya-est__cta.is-loading { position: relative; color: transparent; }
.evya-est__cta.is-loading::after {
    content: ''; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
    border: 2.5px solid rgba(8,26,69,.35); border-top-color: #081A45; border-radius: 50%;
    animation: evyaEstSpin .7s linear infinite;
}
@keyframes evyaEstSpin { to { transform: rotate(360deg); } }
.evya-est__link { display: block; width: 100%; margin-top: 10px; background: none; border: 0; color: var(--ds-text-muted, #6b7280); font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.evya-est__pricebox { text-align: center; padding: 22px 16px; background: var(--ds-bg-soft, #f7f4ec); border-radius: 14px; }
.evya-est__pricelabel { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ds-text-muted, #6b7280); }
.evya-est__price { font-size: 40px; font-weight: 800; color: var(--ds-text, #081A45); margin: 6px 0 2px; letter-spacing: -1px; }
.evya-est__pricehint { font-size: 13px; color: var(--ds-text-muted, #6b7280); }
.evya-est__note { font-size: 12px; color: var(--ds-text-muted, #6b7280); line-height: 1.45; margin: 14px 0 0; text-align: center; }
