/* Replace earlier dialog styles with this file. Header/nav button styles stay as they are. */
body.ee-callback-open { overflow: hidden; }
dialog.callback-dialog.ee-callback {
    position: fixed;
    inset: 0 0 0 auto;
    box-sizing: border-box;
    width: 580px;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    border-left: 5px solid #f7941e;
    border-radius: 0;
    background: #f0f4f7;
    color: #03366f;
    font-family: "Hind Regular", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    box-shadow: -12px 0 45px rgba(3, 54, 111, .2);
}
.ee-callback:not([open]) { display: none; }
dialog.ee-callback::backdrop { background: rgba(3, 30, 57, .6); }
dialog.ee-callback[open] { animation: ee-callback-enter .22s ease-out; }
@keyframes ee-callback-enter {
    from { transform: translateX(35px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.ee-callback *, .ee-callback *::before, .ee-callback *::after { box-sizing: border-box; }
.ee-callback .ee-callback__header { position: relative; padding: 32px 30px 24px; background: #03366f; color: #fff; }
.ee-callback .ee-callback__eyebrow { margin: 0 45px 8px 0; color: #ffb34f; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.ee-callback .ee-callback__header h2 { margin: 0 36px 12px 0; color: #fff; font-size: 29px; font-weight: 700; line-height: 1.2; }
.ee-callback .ee-callback__header p:last-child { margin: 0; max-width: 440px; font-size: 16px; color: #e1eaf3; }
.ee-callback .ee-callback__close {
    position: absolute; right: 20px; top: 20px; display: inline-flex;
    align-items: center; justify-content: center; width: 40px; height: 40px;
    margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%; background: transparent; color: #fff;
    font: 28px/1 Arial,sans-serif; cursor: pointer;
}
.ee-callback .ee-callback__close:hover { background: rgba(255,255,255,.15); }
.ee-callback .ee-callback__body { padding: 24px 30px 30px; }
.ee-callback .ee-callback__required, .ee-callback .ee-callback__hint { color: #506375; font-size: 13px; }
.ee-callback .ee-callback__required { margin: 0 0 18px; }
.ee-callback .ee-callback__field { min-width: 0; margin: 0 0 17px; }
.ee-callback .ee-callback__field label { display: block; margin: 0 0 6px; color: #03366f; font-size: 15px; font-weight: 600; }
.ee-callback .ee-callback__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.ee-callback .ee-callback__field input,
.ee-callback .ee-callback__field textarea,
.ee-callback .ee-callback__field select {
    display: block; width: 100%; height: auto; min-height: 46px;
    margin: 0; padding: 10px 11px; border: 1px solid #bdcbd7;
    border-radius: 4px; background: #fff; color: #193c5a;
    font: inherit; font-size: 16px; line-height: 1.4;
    box-shadow: none;
}
.ee-callback .ee-callback__field textarea { min-height: 100px; resize: vertical; }
.ee-callback .ee-callback__field select { padding-right: 26px; }
.ee-callback .ee-callback__field select:disabled { background: #e6ecf1; color: #627586; }
.ee-callback .ee-callback__field input:focus,
.ee-callback .ee-callback__field textarea:focus,
.ee-callback .ee-callback__field select:focus { outline: 2px solid #578899; outline-offset: 1px; border-color: #03366f; }
.ee-callback .ee-callback__hint { display: block; margin: 6px 0 14px; line-height: 1.5; }
.ee-callback .ee-callback__schedule { min-width: 0; margin: 6px 0 20px; padding: 20px 0 0; border: 0; border-top: 1px solid #cdd8e2; }
.ee-callback .ee-callback__schedule legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; border: 0; color: #03366f; font-size: 18px; font-weight: 700; line-height: 1.4; }
.ee-callback .ee-callback__schedule > .ee-callback__hint { clear: both; }
.ee-callback .ee-callback__notice { margin: 0 0 12px; color: #506375; font-size: 14px; line-height: 1.55; }
.ee-callback .ee-callback__sooner { margin: 0; padding: 13px 15px; border-left: 3px solid #f7941e; border-radius: 0 4px 4px 0; background: #fff; font-size: 15px; }
.ee-callback a { color: #03366f; text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.ee-callback a:hover { color: #8a4b00; }
.ee-callback .ee-callback__errors { color: #9e2525; font-size: 14px; }
.ee-callback .ee-callback__errors:empty { display: none; }
.ee-callback .ee-callback__errors ul { margin: 0 0 18px; padding: 12px 14px 12px 30px; border: 1px solid #e0b6b6; border-radius: 4px; background: #fff4f4; }
.ee-callback .ee-callback__submit {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; min-height: 48px; margin: 0; padding: 12px 18px;
    border: 0; border-radius: 5px; background: #f7941e; color: #03366f;
    font: inherit; font-size: 16px; font-weight: 700; line-height: 1.4;
    white-space: normal; cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.ee-callback .ee-callback__submit:hover { background: #03366f; color: #fff; }
.ee-callback .ee-callback__submit:disabled { opacity: .65; cursor: wait; }
.ee-callback button:focus-visible, .ee-callback input[type=submit]:focus-visible { outline: 2px solid #578899; outline-offset: 3px; }
.ee-callback .ee-callback__privacy { margin: 14px 0 0; color: #506375; font-size: 12px; line-height: 1.6; }
.ee-callback .ee-callback__test { margin: 0 0 18px; padding: 10px 13px; border: 1px solid #e5c16b; border-radius: 4px; background: #fff3ce; color: #65450a; font-size: 13px; }
.ee-callback .ee-callback__success { padding: 12px 0; }
.ee-callback .ee-callback__success-mark { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: #dcebe3; color: #246342; font-size: 28px; }
.ee-callback .ee-callback__success h3 { margin: 0 0 15px; color: #03366f; font-size: 25px; }
.ee-callback .ee-callback__success p { margin: 0 0 18px; }
.ee-callback .ee-callback__requested-time { padding: 15px; border-left: 3px solid #f7941e; background: #fff; font-weight: 600; }
.ee-callback .ee-callback__reset-row { margin: 16px 0 0; text-align: center; }
.ee-callback .ee-callback__reset { font-size: 14px; font-weight: 400; }
@media (max-width: 520px) {
    dialog.callback-dialog.ee-callback { width: 100%; border-left-width: 3px; }
    .ee-callback .ee-callback__header { padding: 26px 20px 22px; }
    .ee-callback .ee-callback__header h2 { font-size: 26px; }
    .ee-callback .ee-callback__body { padding: 22px 20px 26px; }
    .ee-callback .ee-callback__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (prefers-reduced-motion: reduce) { dialog.ee-callback[open] { animation: none; } }
