/* Eterano visual system v0.4.0
   Approved blue growth identity applied without changing application logic. */
:root{
  --ink:#0d1b38;
  --ink-2:#354766;
  --cream:#f4f7fc;
  --paper:#ffffff;
  --line:#e2e9f4;
  --muted:#6b7a96;
  --accent:#1479f8;
  --accent-2:#09c8f5;
  --accent-soft:#e9f5ff;
  --success:#10845f;
  --danger:#c44755;
  --warning:#b87312;
  --brand-navy:#06194d;
  --brand-deep:#071035;
  --brand-blue:#0757d8;
  --brand-cyan:#13d5ff;
  --shadow:0 18px 50px rgba(22,45,92,.09);
  --shadow-soft:0 8px 28px rgba(22,45,92,.07);
  --radius:22px;
  --radius-sm:14px;
  --sidebar:264px;
}
html{background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{background:
  radial-gradient(circle at 78% -10%,rgba(19,213,255,.10),transparent 25rem),
  linear-gradient(180deg,#f8faff 0,#f3f7fd 100%);color:var(--ink)}
::selection{background:rgba(20,121,248,.18)}
.brand{gap:11px;font-weight:850;letter-spacing:-.02em}.brand-word{font-size:1.05rem}.brand-mark,.auth-logo{background:transparent!important;color:transparent!important;box-shadow:none!important;overflow:visible}.brand-mark{width:40px;height:40px;border-radius:13px}.brand-mark img,.auth-logo img{display:block;width:100%;height:100%;object-fit:contain}.auth-logo{width:92px;height:92px;border-radius:26px;filter:drop-shadow(0 20px 30px rgba(0,121,255,.28))}
.eyebrow{color:#526786;font-size:.69rem;letter-spacing:.18em}.eyebrow.light{color:#bfeeff}
.panel,.stat-card,.order-card,.receipt-card,.customer-card,.product-card{background:rgba(255,255,255,.94);border:1px solid rgba(190,204,225,.48);box-shadow:var(--shadow-soft)}
.panel{backdrop-filter:blur(12px)}
.primary,.secondary,.language-btn,.icon-button,.text-button,.button-link,.details-button{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.primary{background:linear-gradient(135deg,var(--brand-blue),#118ef2 62%,var(--brand-cyan));color:#fff;box-shadow:0 10px 25px rgba(5,101,221,.25);border:1px solid rgba(255,255,255,.16)}
.primary:hover{background:linear-gradient(135deg,#064bc0,#087be8 62%,#08bde9);transform:translateY(-1px);box-shadow:0 14px 30px rgba(5,101,221,.3)}
.secondary,.details-button{background:var(--accent-soft);color:#0952bd;border:1px solid #cce6ff}.secondary:hover,.details-button:hover{background:#dcedff;border-color:#afd7ff;transform:translateY(-1px)}
.language-btn,.icon-button{background:#fff;border:1px solid var(--line);box-shadow:0 4px 14px rgba(21,45,89,.05)}.language-btn:hover,.icon-button:hover{border-color:#bdd8f7;background:#f5faff}.icon-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.text-button{color:#0b60ce}.text-button.subtle{color:var(--muted)}
input,textarea,select{border-color:#dbe4f1;border-radius:13px;background:#fbfdff;box-shadow:inset 0 1px 1px rgba(29,55,97,.02)}
input:hover,textarea:hover,select:hover{border-color:#c7d7ea}input:focus,textarea:focus,select:focus{border-color:#3ba8ff;box-shadow:0 0 0 4px rgba(20,121,248,.11);background:#fff}
.slug-field{border-color:#dbe4f1;background:#fbfdff}.slug-field:focus-within{border-color:#3ba8ff;box-shadow:0 0 0 4px rgba(20,121,248,.11)}
/* Authentication and onboarding */
.auth-page{position:relative;overflow:hidden;background:linear-gradient(108deg,var(--brand-deep) 0 51%,#f5f8fd 51% 100%);padding:clamp(28px,5vw,72px)}
.auth-page:before{content:"";position:absolute;inset:0 49% 0 0;background:
  radial-gradient(circle at 16% 12%,rgba(19,213,255,.38),transparent 18rem),
  radial-gradient(circle at 90% 82%,rgba(5,89,223,.40),transparent 22rem),
  linear-gradient(145deg,rgba(255,255,255,.03),transparent 55%);pointer-events:none}
.auth-page:after{content:"";position:absolute;width:520px;height:520px;left:-240px;bottom:-260px;border:1px solid rgba(96,219,255,.18);border-radius:50%;box-shadow:0 0 0 70px rgba(96,219,255,.04),0 0 0 140px rgba(96,219,255,.025);pointer-events:none}
.auth-brand{position:relative;z-index:1;padding:40px 6vw 40px 3vw}.auth-brand .eyebrow{color:#7ae5ff;margin-top:20px}.auth-brand h1{font-family:inherit;font-weight:820;letter-spacing:-.055em;line-height:1.02;font-size:clamp(2.7rem,5.5vw,5.4rem);max-width:720px}.auth-brand p:last-child{color:#c8d6ef;font-size:1.12rem;line-height:1.7}.auth-card{position:relative;z-index:1;border-radius:28px;padding:38px;width:min(480px,100%);box-shadow:0 30px 80px rgba(13,34,73,.18)}.auth-card h2{font-family:inherit;font-weight:820;letter-spacing:-.035em}.auth-top{align-items:center}.demo-notice{background:#eef7ff;border:1px solid #cfe9ff}
/* App chrome */
.sidebar{background:
  radial-gradient(circle at 18% 0,rgba(19,213,255,.19),transparent 15rem),
  linear-gradient(180deg,#071b58 0,#06153f 58%,#050e2b 100%);padding:20px 15px;border-right:1px solid rgba(104,186,255,.12);box-shadow:14px 0 40px rgba(4,15,49,.10)}
.sidebar-brand{padding:5px 9px 27px}.sidebar-brand .brand-mark{width:47px;height:47px}.sidebar-brand strong{font-size:1.14rem;letter-spacing:-.025em}.sidebar-brand small{color:#7edfff;font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;font-weight:750;margin-top:2px}
.nav-list{gap:6px}.nav-item{grid-template-columns:28px 1fr auto;min-height:50px;border-radius:14px;color:#b9c9e9;padding:0 14px;font-size:.91rem}.nav-item:hover{background:rgba(56,160,255,.10);color:#fff}.nav-item.active{color:#fff;background:linear-gradient(110deg,rgba(14,102,230,.65),rgba(17,196,244,.22));box-shadow:inset 0 0 0 1px rgba(133,223,255,.18),0 9px 24px rgba(1,8,30,.18)}
.nav-icon{display:grid;place-items:center}.nav-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.badge{background:linear-gradient(135deg,#63e5ff,#16bcf4);color:#04234f;box-shadow:0 4px 12px rgba(14,207,255,.3)}
.sidebar-footer{border-top-color:rgba(167,208,255,.15)}.sidebar-footer small{color:#86a0cb}.sidebar-footer .icon-button{border-color:rgba(142,196,255,.20);background:rgba(255,255,255,.05);color:#d9e7ff}.sidebar-footer .icon-button:hover{background:rgba(31,142,255,.15);border-color:rgba(114,202,255,.38)}
.app-main{background:transparent}.desktop-header{height:104px;padding:22px 34px 17px;background:rgba(247,250,255,.88);border-color:#e1e8f3;box-shadow:0 7px 20px rgba(22,45,92,.035)}.desktop-header h1{font-family:inherit;font-weight:830;letter-spacing:-.04em;color:#0b1b39}.header-actions{align-items:center}
.content{padding-top:26px}.hero-card{min-height:210px;background:
  linear-gradient(120deg,rgba(6,24,75,.96),rgba(5,87,205,.93) 58%,rgba(15,183,235,.90));border-radius:26px;box-shadow:0 24px 55px rgba(6,57,145,.20);isolation:isolate}.hero-card:before{content:"";position:absolute;width:260px;height:260px;right:40px;top:-25px;background:url('/brand/eterano-mark.png') center/contain no-repeat;opacity:.18;filter:saturate(1.1);z-index:-1}.hero-card:after{width:360px;height:360px;right:-125px;top:-195px;border:70px solid rgba(138,231,255,.12)}.hero-card h2{font-family:inherit;font-weight:830;letter-spacing:-.045em;font-size:2.45rem}.hero-card p:last-child{color:#d5e5fb}.hero-date{font-family:inherit;font-size:1rem;font-weight:750;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.18);box-shadow:0 10px 30px rgba(2,18,59,.16)}
.stats-grid{gap:14px;margin:17px 0}.stat-card{position:relative;border-radius:18px;padding:21px;overflow:hidden}.stat-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,var(--accent),var(--accent-2))}.stat-card span{color:#657693}.stat-card strong{color:#0d2550;letter-spacing:-.035em}.stat-card small{color:#7a89a2}
.dashboard-grid{gap:17px}.section-heading h2,.modal-header h2,.order-detail-section h3,.calendar-toolbar h2{font-family:inherit;font-weight:820;letter-spacing:-.035em}.panel{border-radius:21px}.order-row{background:#f6f9fe;border:1px solid #e5edf7}.date-chip{border-color:#dbe6f4;background:#fff;color:#0b4baf}.workload-track{background:#e9eff7}.workload-fill{background:linear-gradient(90deg,var(--brand-blue),var(--brand-cyan))}
.toolbar{gap:10px}.search-field{background:#fff;border-color:#dbe4f1;box-shadow:0 5px 17px rgba(21,45,89,.04)}
.order-card,.receipt-card{border-radius:18px;box-shadow:0 7px 22px rgba(22,45,92,.045)}.order-card:hover,.receipt-card:hover,.customer-card:hover,.product-card:hover{border-color:#c9def5;box-shadow:0 14px 34px rgba(13,68,139,.09);transform:translateY(-1px)}.clickable-card:hover{border-color:#b9d8f7}.clickable-card:focus-visible{outline-color:rgba(20,121,248,.36)}
.status-requested{background:#fff1d9;color:#8b590d}.status-confirmed{background:#e0f6ee;color:#087052}.status-in_production{background:#eee7ff;color:#6841aa}.status-ready{background:#dff4ff;color:#08669f}.status-completed{background:#e8eef7;color:#4c5e79}.status-cancelled{background:#ffe5e8;color:#a92c42}
.customer-card,.product-card{border-radius:18px;transition:.18s ease}.product-price{color:#075bcf}.calendar-grid{border-color:#dbe4f1;box-shadow:var(--shadow-soft);border-radius:18px;overflow:hidden}.calendar-day{border-color:#e3eaf4;background:#fff}.calendar-day.outside{background:#f5f7fb}.calendar-day.today{box-shadow:inset 0 0 0 2px #2494ff}.calendar-event{background:#e4f3ff;color:#0753b7}.calendar-event.requested{background:#fff0d6;color:#895707}.calendar-event.cancelled{background:#ffe3e7;color:#a42f44}
.settings-grid{gap:17px}.invite-code{background:#f3f8ff;border:1px solid #dcecff}.plan-card{background:linear-gradient(135deg,#071b58,#0758d3 65%,#11bce8);box-shadow:0 18px 40px rgba(5,74,176,.20)}.plan-card .eyebrow,.plan-card .muted{color:#c7e6ff}
/* Dialogs and order details */
.modal{border-radius:26px;box-shadow:0 35px 100px rgba(6,22,58,.28);background:#fff}.modal::backdrop{background:rgba(3,13,39,.58);backdrop-filter:blur(7px)}.dialog-close{background:#eff5fc;color:#34506f}.dialog-close:hover{background:#e1edfa}.order-reference{background:#eef5ff;color:#3a5f8f}.order-detail-section{background:#f7faff;border-color:#dfe9f5}.order-detail-section dl>div{border-color:#e5ecf5}.order-inspiration-preview{border-color:#dbe5f2;box-shadow:0 8px 24px rgba(21,45,89,.08)}
/* Customer-facing ordering page */
.public-page{background:
  radial-gradient(circle at 100% 0,rgba(21,199,246,.13),transparent 28rem),
  linear-gradient(180deg,#f5f9ff,#edf5ff 52%,#f8fbff)}.public-header{height:78px;background:rgba(255,255,255,.88);border-color:#dde8f5;box-shadow:0 6px 22px rgba(20,55,105,.04)}.public-header .brand-mark{width:42px;height:42px}.public-shell{padding-top:32px}.public-bakery-card{position:relative;background:linear-gradient(115deg,#06194d 0,#0754ca 62%,#14bee8 100%);border-radius:27px;padding:32px;box-shadow:0 24px 55px rgba(6,64,151,.20);overflow:hidden}.public-bakery-card:after{content:"";position:absolute;width:250px;height:250px;right:-50px;top:-65px;background:url('/brand/eterano-mark.png') center/contain no-repeat;opacity:.13}.public-bakery-card>div{position:relative;z-index:1}.public-bakery-card .eyebrow{color:#80e8ff}.public-bakery-card h1{font-family:inherit;font-weight:840;letter-spacing:-.045em}.public-pickup{color:#d7e8fb}.public-logo{position:relative;z-index:1;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.24);color:#fff;font-family:inherit;box-shadow:0 14px 30px rgba(2,24,70,.18);backdrop-filter:blur(8px)}.public-form{border-radius:24px}.public-product{background:rgba(255,255,255,.93);border-color:#dce7f4;box-shadow:0 8px 25px rgba(22,45,92,.05)}.public-product:hover{border-color:#b9d8f7;box-shadow:0 12px 30px rgba(12,75,155,.08)}.qty-btn{border-color:#cfe0f2;background:#f2f8ff;color:#075bcf}.qty-btn:hover{background:#e4f2ff}.public-total{border-color:#e1e9f3}.form-message{background:#e4f8f0;color:#086a4d;border:1px solid #c8eedf}.inspiration-link-fallback{background:#f8fbff;border-color:#cfdeef}.public-footer{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:34px;color:#8291aa;font-size:.82rem}.public-footer .brand{gap:6px}.public-footer .brand-mark{width:25px;height:25px}.public-footer .brand-word{font-size:.9rem;color:#244d84}
.toast{background:#071b58;border:1px solid rgba(107,208,255,.18);box-shadow:0 18px 45px rgba(4,22,64,.27)}
.file-upload-field input[type=file]{background:#f8fbff}.public-image-preview{border-color:#dbe6f3;background:#f8fbff}.inspiration-link-fallback summary{color:#54708f}
@media(max-width:760px){
  .auth-page{background:linear-gradient(180deg,var(--brand-deep) 0 42%,#f5f8fd 42%);padding:18px}.auth-page:before{inset:0 0 58%}.auth-brand{padding:19px 7px 8px}.auth-brand h1{font-size:2.35rem;margin:8px 0 12px}.auth-brand p:last-child{font-size:.96rem;line-height:1.55}.auth-logo{width:62px;height:62px}.auth-card{padding:24px;border-radius:23px}
  .mobile-header{background:rgba(249,251,255,.93);border-color:#e1e8f3;box-shadow:0 6px 20px rgba(18,43,84,.04)}.mobile-header .brand-mark{width:37px;height:37px}.content{padding-top:14px}.hero-card{min-height:185px}.hero-card:before{right:-20px;top:6px;width:180px;height:180px}.hero-card h2{font-size:1.9rem}.stats-grid{gap:9px}.stat-card{padding:15px}.sidebar{box-shadow:20px 0 50px rgba(4,15,49,.28)}.public-bakery-card:after{right:-70px;top:-40px}.public-footer{margin-top:25px}
}
