/* EOTC app 1.0.0: install invitations, iPhone / Android steps, notifications card and the in-app tab bar. */
:root{--eotc-g:#0f7b4b;--eotc-g2:#0b5d39;--eotc-gs:#e7f4ec;--eotc-ink:#1f2937;--eotc-mute:#5b6472;--eotc-line:#e5e7eb}
.eotc-flag{height:4px;background:linear-gradient(90deg,#078930 0 33.3%,#fcdd09 33.3% 66.6%,#da121a 66.6%)}
.eotc-app-card button,.eotc-app-pill button,.eotc-sheet button{font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none;box-shadow:none;text-transform:none;letter-spacing:0;margin:0;line-height:1.2}

/* Install card (My Account) */
.eotc-install-card{position:relative;overflow:hidden;margin:0 0 20px;border-radius:18px;color:#fff;background:radial-gradient(120% 140% at 100% 0%,#1a9a62 0,#0f7b4b 45%,#0b5d39 100%);box-shadow:0 10px 28px rgba(11,93,57,.28);font-size:15px;line-height:1.45}
.eotc-install-card .eotc-flag{position:absolute;top:0;left:0;right:0}
.eotc-install-top{display:flex;align-items:center;gap:14px;padding:22px 20px 6px}
.eotc-install-top img{width:56px;height:56px;border-radius:14px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.2);flex:none}
.eotc-install-card .eotc-app-card-t strong{display:block;font-size:19px;font-weight:700;color:#fff;margin:0}
.eotc-install-card .eotc-app-card-t span{color:rgba(255,255,255,.82);font-size:14px}
.eotc-perks{list-style:none;margin:10px 0 0!important;padding:0 20px!important;display:grid;gap:7px}
.eotc-perks li{display:flex;align-items:flex-start;gap:9px;margin:0!important;padding:0!important;color:#fff;font-size:15px;list-style:none}
.eotc-perks li::before{content:none!important}
.eotc-perks svg{flex:none;width:20px;height:20px;margin-top:1px;padding:3px;border-radius:50%;background:rgba(255,255,255,.18);fill:none;stroke:#fcdd09;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.eotc-install-card .eotc-app-card-b{display:flex;flex-wrap:wrap;gap:10px;padding:18px 20px 20px}
.eotc-install-card .eotc-app-go{flex:1 1 140px;background:#fff;color:var(--eotc-g2);border:0;border-radius:12px;padding:13px 18px;font-weight:700;font-size:16px;min-height:48px;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.eotc-install-card .eotc-app-go:hover{background:#f2fbf6}
.eotc-install-card .eotc-app-later{flex:0 1 auto;background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.45);border-radius:12px;padding:12px 16px;font-weight:600;min-height:48px}

/* Notifications card (inside the app) */
.eotc-push-card{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin:0 0 20px;padding:16px 18px;border:1.5px solid #cfe6d8;border-radius:18px;background:#f4fbf7;color:var(--eotc-ink);font-size:15px;line-height:1.45}
.eotc-push-card .eotc-app-card-t{flex:1 1 200px;min-width:0}
.eotc-push-card .eotc-app-card-t strong{display:block;font-size:17px;margin-bottom:2px}
.eotc-push-card .eotc-app-card-t span{color:#4b5563}
.eotc-push-card .eotc-app-card-b{display:flex;gap:8px;flex-wrap:wrap}
.eotc-push-card .eotc-app-go{background:var(--eotc-g);color:#fff;border:0;border-radius:12px;padding:12px 18px;font-weight:700;min-height:46px}
.eotc-push-card .eotc-app-later{background:#fff;color:#374151;border:1.5px solid #d1d5db;border-radius:12px;padding:11px 14px;font-weight:600;min-height:46px}
.eotc-bell{width:46px;height:46px;flex:none;padding:10px;border-radius:14px;background:#fff;fill:none;stroke:var(--eotc-g);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;box-shadow:0 2px 8px rgba(0,0,0,.1)}

/* "Get the EOTC app" button on phones */
.eotc-app-pill{position:fixed;z-index:99998;left:50%;bottom:calc(16px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;gap:2px;padding:5px 5px 5px 6px;border-radius:999px;background:linear-gradient(135deg,#118a55,#0b5d39);box-shadow:0 10px 30px rgba(11,93,57,.4),0 0 0 1px rgba(255,255,255,.12) inset;max-width:calc(100% - 32px)}
@media (prefers-reduced-motion:no-preference){.eotc-app-pill{animation:eotc-rise .5s cubic-bezier(.2,.8,.2,1) both}}
@keyframes eotc-rise{from{opacity:0;transform:translate(-50%,24px)}to{opacity:1;transform:translate(-50%,0)}}
.eotc-app-pill{width:max-content}
.eotc-app-pill .eotc-app-go{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:10px;background:transparent;border:0;color:#fff;font-weight:700;font-size:15px!important;line-height:1.2!important;letter-spacing:0!important;padding:7px 10px 7px 6px;min-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eotc-app-pill .eotc-app-go img{flex:none;width:32px;height:32px;border-radius:9px;background:#fff}
.eotc-app-pill .eotc-app-later{flex:none;width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;font-size:21px!important;line-height:1!important;padding:0;margin-left:4px}

/* Install banner on phones (first visit) */
.eotc-app-banner{position:fixed;z-index:99998;left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));bottom:calc(12px + env(safe-area-inset-bottom,0px));max-width:460px;margin:0 auto;overflow:hidden;border-radius:20px;color:#fff;background:radial-gradient(120% 160% at 100% 0%,#1a9a62 0,#0f7b4b 45%,#0b5d39 100%);box-shadow:0 14px 40px rgba(0,0,0,.35);transition:opacity .25s ease,transform .25s ease}
@media (prefers-reduced-motion:no-preference){.eotc-app-banner{animation:eotc-bannerup .45s cubic-bezier(.2,.8,.2,1) both}}
@keyframes eotc-bannerup{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
.eotc-app-banner.is-leaving{opacity:0;transform:translateY(20px)}
.eotc-banner-in{display:flex;align-items:center;gap:12px;padding:16px 10px 4px 16px}
.eotc-banner-in img{flex:none;width:52px;height:52px;border-radius:13px;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.eotc-banner-t{flex:1 1 auto;min-width:0}
.eotc-banner-t strong{display:block;font-size:17px;line-height:1.25;color:#fff}
.eotc-banner-t span{display:block;font-size:13.5px;line-height:1.35;color:rgba(255,255,255,.85);margin-top:2px}
.eotc-app-banner .eotc-app-later{flex:none;align-self:flex-start;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;font-size:22px!important;line-height:1!important;padding:0}
.eotc-app-banner .eotc-app-go{display:block;width:calc(100% - 32px);margin:12px 16px 16px!important;border:0;border-radius:13px;background:#fff;color:#0b5d39;font-weight:700;font-size:16px!important;line-height:1.2!important;letter-spacing:0!important;padding:14px;min-height:50px;box-shadow:0 4px 12px rgba(0,0,0,.15);cursor:pointer;font-family:inherit;text-transform:none}
.eotc-app-banner .eotc-app-go:active{transform:scale(.98)}

/* Steps window */
.eotc-sheet{position:fixed;inset:0;z-index:100000;background:rgba(17,24,39,.55);display:flex;align-items:flex-end;justify-content:center;padding:12px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
@media (prefers-reduced-motion:no-preference){.eotc-sheet{animation:eotc-fade .2s ease both}.eotc-sheet-box{animation:eotc-up .32s cubic-bezier(.2,.8,.2,1) both}}
@keyframes eotc-fade{from{opacity:0}to{opacity:1}}
@keyframes eotc-up{from{transform:translateY(40px)}to{transform:none}}
.eotc-sheet-box{position:relative;width:100%;max-width:440px;background:#fff;color:var(--eotc-ink);border-radius:22px;padding:0 18px 16px;font-size:15.5px;line-height:1.45;max-height:92vh;overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.eotc-sheet-box>.eotc-flag{margin:0 -18px 16px;border-radius:22px 22px 0 0}
.eotc-sheet-head{display:flex;align-items:center;gap:14px;padding-right:44px;margin-bottom:12px}
.eotc-sheet-head img{width:60px;height:60px;border-radius:15px;box-shadow:0 3px 10px rgba(0,0,0,.15);flex:none}
.eotc-sheet-box h2{font-size:19px!important;line-height:1.25!important;margin:0 0 2px!important;color:var(--eotc-ink);letter-spacing:0!important;text-transform:none!important;font-weight:700}
.eotc-sheet-head p{margin:0;color:var(--eotc-mute);font-size:14.5px}
.eotc-sheet-x{position:absolute;top:16px;right:12px;width:40px;height:40px;border-radius:50%;border:0;background:#f3f4f6;color:var(--eotc-ink);font-size:22px;line-height:1;padding:0}
.eotc-warn{background:#fff3d6;color:#6b4500;border-radius:12px;padding:10px 12px;margin:0 0 12px;font-size:14.5px}
ol.eotc-steps{list-style:none;margin:0!important;padding:0!important;display:grid;gap:12px}
ol.eotc-steps>li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px 10px;margin:0!important;padding:12px!important;border-radius:16px;background:#f6f8f7;list-style:none}
ol.eotc-steps>li::before{content:none!important}
.eotc-step-n{grid-row:1/3;width:28px;height:28px;border-radius:50%;background:var(--eotc-g);color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}
.eotc-step-t{font-size:15px}
.eotc-sheet-done{display:block;width:100%;margin-top:14px!important;border:0;border-radius:14px;background:var(--eotc-g);color:#fff;font-weight:700;font-size:16px;padding:14px;min-height:50px}

/* The little phone drawings */
.eotc-mock{grid-column:2;margin-top:6px;border-radius:12px;background:#fff;border:1px solid var(--eotc-line);font-size:13px;color:#111827;overflow:hidden}
.eotc-mock svg{width:20px;height:20px;fill:none;stroke:#0a84ff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.eotc-mock .m-hit{position:relative;border-radius:10px;box-shadow:0 0 0 2.5px #f5a400;background:#fff7e0}
@media (prefers-reduced-motion:no-preference){.eotc-mock .m-hit{animation:eotc-pulse 1.6s ease-in-out infinite}}
@keyframes eotc-pulse{0%,100%{box-shadow:0 0 0 2.5px #f5a400}50%{box-shadow:0 0 0 5px rgba(245,164,0,.35)}}
.m-url{display:block;margin:8px 10px 6px;padding:6px 10px;border-radius:9px;background:#f1f2f4;color:#374151;font-size:12.5px;text-align:center}
.m-safari .m-bar{display:flex;justify-content:space-around;align-items:center;padding:6px 6px 9px}
.m-safari .m-bar>svg,.m-safari .m-hit{padding:5px;box-sizing:content-box}
.m-safari .m-hit{display:inline-flex}
.m-menu .m-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-top:1px solid #f0f1f3}
.m-menu .m-row:first-child{border-top:0}
.m-menu .m-row svg{stroke:#374151}
.m-menu .m-row.m-hit{margin:3px;border-top:0;font-weight:600}
.m-menu .m-row.m-hit svg{stroke:#111827}
.m-dialog .m-top{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border-bottom:1px solid #f0f1f3;font-size:12.5px}
.m-dialog .m-top span{color:#0a84ff;padding:3px 6px}
.m-dialog .m-top b{font-size:12.5px}
.m-app{display:flex;align-items:center;gap:10px;padding:10px 12px}
.m-app img{width:38px;height:38px;border-radius:10px;box-shadow:0 1px 4px rgba(0,0,0,.18)}
.m-app b{font-size:14px}
.m-chrome{display:flex;align-items:center;gap:6px;padding:6px 6px 6px 0}
.m-chrome .m-url{flex:1;margin:0 0 0 8px}
.m-chrome .m-hit{display:inline-flex;padding:4px}
.m-chrome svg circle,.m-menu svg circle{fill:#374151;stroke:none}
.m-android{padding:10px 12px}
.m-android>b{display:block;font-size:14px}
.m-android .m-app{padding:8px 0}
.m-android .m-btns{display:flex;justify-content:flex-end;gap:8px}
.m-android .m-btns span{padding:6px 12px;border-radius:999px;color:#0b57d0;font-weight:600}

/* In the app (opened from the home screen) */
.eotc-tabbar{position:fixed;z-index:99990;left:0;right:0;bottom:0;display:flex;justify-content:space-around;background:rgba(255,255,255,.88);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);border-top:1px solid rgba(0,0,0,.07);padding:6px max(6px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px))}
.eotc-tabbar::before{content:"";position:absolute;left:0;right:0;top:-3px;height:3px;background:linear-gradient(90deg,#078930 0 33.3%,#fcdd09 33.3% 66.6%,#da121a 66.6%);opacity:.9}
.eotc-tab{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;padding:2px;border:0;background:transparent;color:#5b6472!important;text-decoration:none!important;font-family:inherit;font-weight:600;font-size:11.5px!important;line-height:1.1!important;letter-spacing:0!important;text-transform:none!important;cursor:pointer;margin:0;box-shadow:none;-webkit-tap-highlight-color:transparent;transition:transform .15s ease}
.eotc-tab span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.eotc-tab:active{transform:scale(.93)}
.eotc-tab svg{width:46px;height:28px;padding:3px 11px;box-sizing:border-box;border-radius:999px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:background .2s ease}
.eotc-tab[aria-current="page"]{color:var(--eotc-g)!important}
.eotc-tab[aria-current="page"] svg{background:var(--eotc-gs);stroke-width:2.3}
.eotc-tab:focus-visible{outline:3px solid #0b5cad;outline-offset:-3px;border-radius:12px}
body.eotc-has-tabbar{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))!important}
.eotc-app .fusion-top-top-link,.eotc-app #toTop,.eotc-app .to-top-container{display:none!important}
.eotc-offline-note{position:fixed;z-index:99991;left:12px;right:12px;bottom:calc(78px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:10px;background:#1f2937;color:#fff;border-radius:14px;padding:11px 14px;font-size:14px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.eotc-offline-note::before{content:"";flex:none;width:10px;height:10px;border-radius:50%;background:#fcdd09;box-shadow:0 0 0 4px rgba(252,221,9,.25)}
@media (min-width:700px){.eotc-sheet{align-items:center}}
@media print{.eotc-tabbar,.eotc-app-pill,.eotc-app-banner,.eotc-app-card,.eotc-sheet,.eotc-offline-note{display:none!important}}

/* ---------- Notifications step (first open of the app, full screen) ---------- */
html.eotc-push-open, html.eotc-push-open body { overflow: hidden !important; }
.eotc-push-ask { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: flex-end; justify-content: center; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); background: rgba(6, 40, 24, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: eotc-pushfade .3s ease both; }
.eotc-push-ask .eotc-push-box { width: 100%; max-width: 440px; background: #fff; border-radius: 24px; padding: 28px 22px 20px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.35); position: relative; overflow: hidden; animation: eotc-bannerup .45s cubic-bezier(.2,.9,.3,1.2) both; }
.eotc-push-ask .eotc-push-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #078930 0 33.3%, #fcdd09 33.3% 66.6%, #da121a 66.6%); }
.eotc-push-ask .eotc-bell { width: 64px; height: 64px; padding: 16px; box-sizing: border-box; margin: 0 auto 14px; display: block; border-radius: 50%; background: #e7f5ec; fill: none; stroke: #0f7b4b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: eotc-ring 1.6s ease-in-out .5s 2; transform-origin: 50% 20%; }
.eotc-push-ask .eotc-app-card-t strong { display: block; font-size: 21px !important; line-height: 1.25; color: #0b3d26; margin-bottom: 8px; }
.eotc-push-ask .eotc-app-card-t span { display: block; font-size: 15.5px !important; line-height: 1.5; color: #4a5a52; }
.eotc-push-ask .eotc-app-card-b { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.eotc-push-ask .eotc-app-go { width: 100%; min-height: 52px; border: 0; border-radius: 14px; background: #0f7b4b; color: #fff; font: inherit; font-size: 17px !important; font-weight: 700; cursor: pointer; }
.eotc-push-ask .eotc-app-later { width: 100%; min-height: 44px; border: 0; background: none; color: #5b6b63; font: inherit; font-size: 15px !important; cursor: pointer; }
.eotc-push-ask .eotc-app-go:focus-visible, .eotc-push-ask .eotc-app-later:focus-visible { outline: 3px solid #fcdd09; outline-offset: 2px; }
@keyframes eotc-pushfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes eotc-ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } }
@media (prefers-reduced-motion: reduce) { .eotc-push-ask, .eotc-push-ask .eotc-push-box, .eotc-push-ask .eotc-bell { animation: none; } }
@media print { .eotc-push-ask { display: none !important; } }
