:root{--portal-navy:#071a33;--portal-gold:#d6b36a;--portal-bg:#f5f7fa;--portal-ink:#15253b;--portal-muted:#6d7b8e;--portal-border:#e3e8ef}
body{background:var(--portal-bg);color:var(--portal-ink)}
.portal-back{white-space:nowrap}.portal-main{min-height:calc(100vh - 80px)}
.portal-hero{background:linear-gradient(135deg,#071a33,#0c2a4a);color:#fff;padding:72px 0}.portal-hero-grid{display:grid;grid-template-columns:1.35fr .75fr;gap:60px;align-items:center}.portal-hero h1{font-size:clamp(40px,5vw,66px);line-height:1.04;margin:10px 0 22px}.portal-hero h1 span{color:var(--portal-gold)}.portal-hero .lead{max-width:760px;color:#c8d3df;line-height:1.75}.portal-status{display:inline-flex;align-items:center;gap:8px;margin-top:25px;padding:10px 14px;border:1px solid rgba(214,179,106,.3);border-radius:999px;color:#e5d09d;background:rgba(214,179,106,.08);font-size:12px;font-weight:700}.status-dot{width:8px;height:8px;border-radius:50%;background:#d6b36a;box-shadow:0 0 0 4px rgba(214,179,106,.12)}
.login-card{background:#fff;color:var(--portal-ink);border-radius:22px;padding:26px;box-shadow:0 25px 70px rgba(0,0,0,.24)}.login-card-head{display:flex;gap:13px;align-items:center;margin-bottom:22px}.login-card-head>span{width:48px;height:48px;display:grid;place-items:center;background:#f4efe4;border-radius:14px;font-size:22px}.login-card-head strong,.login-card-head small{display:block}.login-card-head small{margin-top:4px;color:var(--portal-muted);font-size:11px}.login-card label{display:block;font-size:12px;font-weight:800;margin:13px 0}.login-card input,.catalog-toolbar input{width:100%;box-sizing:border-box;border:1px solid var(--portal-border);border-radius:11px;padding:13px 14px;margin-top:7px;background:#fff;color:var(--portal-ink);outline:none}.login-card input:focus,.catalog-toolbar input:focus{border-color:var(--portal-gold);box-shadow:0 0 0 3px rgba(214,179,106,.13)}.full{width:100%}.login-note{display:block;color:#8190a1;line-height:1.55;margin-top:13px;font-size:10px}.otp-area.hidden{display:none}.login-status{margin-top:10px;min-height:18px;font-size:11px;font-weight:700;color:#526477}
.portal-catalog{background:#fff}.catalog-toolbar{display:flex;gap:14px;justify-content:space-between;align-items:center;margin:28px 0}.segmented{display:flex;background:#eef2f6;border-radius:12px;padding:4px}.segmented button{border:0;background:transparent;padding:11px 14px;border-radius:9px;font-weight:800;color:#5c6a7c;cursor:pointer}.segmented button.active{background:#fff;color:var(--portal-navy);box-shadow:0 3px 12px rgba(7,26,51,.08)}.catalog-toolbar input{max-width:360px;margin:0}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.catalog-card{border:1px solid var(--portal-border);border-radius:16px;padding:19px;background:#fff;display:flex;flex-direction:column;min-height:190px;transition:.2s}.catalog-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(7,26,51,.08)}.catalog-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.catalog-code{font-size:9px;letter-spacing:.12em;color:#8b98a8;font-weight:900}.catalog-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#f5f0e6}.catalog-card h3{font-size:17px;margin:13px 0 8px}.catalog-card p{font-size:12px;line-height:1.6;color:var(--portal-muted);margin:0 0 14px}.catalog-meta{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px}.price{font-weight:900;color:var(--portal-navy)}.preview-btn{border:1px solid #dbe1e8;background:#f8fafc;color:#43546a;border-radius:9px;padding:8px 10px;font-size:10px;font-weight:900;cursor:pointer}.preview-btn:hover{border-color:var(--portal-gold)}.catalog-empty{grid-column:1/-1;text-align:center;padding:45px;color:var(--portal-muted)}
.portal-flow{background:#f5f7fa}.flow-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.flow-grid article{background:#fff;border:1px solid var(--portal-border);border-radius:16px;padding:22px}.flow-grid b{display:block;color:var(--portal-gold);font-size:12px;letter-spacing:.12em}.flow-grid span{display:block;font-size:17px;font-weight:900;margin:13px 0 8px}.flow-grid p{font-size:12px;color:var(--portal-muted);line-height:1.65;margin:0}.public-box{display:flex;justify-content:space-between;gap:30px;align-items:center;padding:30px;border-radius:20px;background:#071a33;color:#fff}.public-box h2{margin:5px 0 12px}.public-box p{max-width:730px;color:#c5d1dd;line-height:1.65;font-size:13px}.public-pills{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.public-pills span{padding:10px 12px;border:1px solid rgba(214,179,106,.28);border-radius:999px;color:#e1c98f;font-size:10px;font-weight:900}
footer{background:#071a33;color:#fff}.legal{display:flex;justify-content:space-between;gap:15px;padding:20px 0;font-size:10px;color:#aab7c6}.legal a{color:#d6b36a}
@media(max-width:900px){.portal-hero-grid{grid-template-columns:1fr;gap:35px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-grid{grid-template-columns:repeat(2,1fr)}.public-box{flex-direction:column;align-items:flex-start}.public-pills{justify-content:flex-start}}
@media(max-width:650px){.portal-hero{padding:48px 0}.catalog-toolbar{flex-direction:column;align-items:stretch}.segmented{overflow:auto}.segmented button{white-space:nowrap}.catalog-toolbar input{max-width:none}.catalog-grid{grid-template-columns:1fr}.flow-grid{grid-template-columns:1fr}.portal-back{font-size:11px;padding:10px 12px}.login-card{padding:20px}}

.demo-otp-note{margin:10px 0 12px;padding:10px 12px;border:1px dashed #d6b36a;border-radius:10px;background:#fff9ea;color:#5c4a25;font-size:12px;line-height:1.5}
.client-workspace{margin-top:14px;padding:16px;border:1px solid rgba(11,31,58,.12);border-radius:14px;background:#f8fafc}
.client-workspace.hidden{display:none}
.workspace-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.workspace-head h3{margin:0;font-size:18px}
.workspace-meta{font-size:12px;color:#667085}
.client-doc{border:1px solid #dfe5ec;border-radius:12px;background:#fff;padding:14px;margin-top:10px}
.client-doc-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.client-doc h4{margin:0 0 5px}
.client-doc p{margin:0;color:#667085;font-size:12px}
.locked-badge,.paid-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:700}
.locked-badge{background:#fff1d6;color:#8a5a00}
.paid-badge{background:#e9f8ef;color:#18794e}
.doc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.doc-actions button{border:1px solid #d7dee8;border-radius:8px;padding:8px 10px;background:#fff;cursor:pointer}
.doc-actions button[disabled]{opacity:.45;cursor:not-allowed}
.preview-panel{margin-top:12px;border-top:1px solid #edf0f4;padding-top:12px}
.preview-panel iframe{width:100%;height:420px;border:1px solid #dfe5ec;border-radius:10px;background:#fff}
.preview-placeholder{padding:18px;border:1px dashed #ccd5e0;border-radius:10px;color:#667085;background:#fafbfc}

.auth-shop.hidden{display:none}
.shop-nav{display:flex;gap:8px;margin:28px 0 22px;padding:5px;background:#eef2f6;border-radius:13px;width:max-content;max-width:100%;overflow:auto}
.shop-tab{border:0;background:transparent;color:#5c6a7c;padding:11px 16px;border-radius:9px;font-weight:900;cursor:pointer;white-space:nowrap}
.shop-tab.active{background:#fff;color:var(--portal-navy);box-shadow:0 3px 12px rgba(7,26,51,.08)}
.shop-tab span{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:4px;padding:0 5px;border-radius:999px;background:#d6b36a;color:#071a33;font-size:10px}
.shop-view.hidden{display:none}
.catalog-price-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 13px}
.catalog-price-row>div{display:flex;flex-direction:column;gap:3px}
.discount-note{font-size:9px;color:#8a5a00;font-weight:800}
.old-price{text-decoration:line-through;color:#9aa5b3;font-size:12px;margin-right:5px}
.archive-mini{font-size:9px;font-weight:900;color:#18794e;background:#e9f8ef;border-radius:999px;padding:5px 8px}
.add-btn{padding:8px 11px!important;font-size:10px!important}
.add-btn[disabled]{opacity:.55;cursor:not-allowed}
.cart-layout{display:grid;grid-template-columns:1.45fr .7fr;gap:20px}
.shop-panel,.checkout-card{background:#fff;border:1px solid var(--portal-border);border-radius:18px;padding:22px}
.checkout-card{align-self:start;position:sticky;top:20px}
.panel-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:15px}
.panel-title h3{margin:4px 0 0;font-size:24px}
.panel-title>span{font-size:10px;color:var(--portal-muted);font-weight:800}
.cart-item,.archive-item{display:flex;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid #edf0f4}
.cart-item:first-child,.archive-item:first-child{border-top:0}
.cart-item h4,.archive-item h4{margin:5px 0 4px;font-size:15px}
.cart-item p,.archive-item p{margin:0;color:var(--portal-muted);font-size:11px;line-height:1.5}
.cart-item-right{display:flex;flex-direction:column;align-items:flex-end;gap:9px;white-space:nowrap}
.remove-btn,.back-small{border:1px solid #d7dee8;background:#fff;color:#43546a;border-radius:8px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}
.remove-btn:hover,.back-small:hover{border-color:var(--portal-gold)}
.summary-line{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf0f4;font-size:11px}
.summary-line span{color:#617084}
.summary-total{display:flex;justify-content:space-between;gap:12px;padding:15px 0 18px;font-size:16px}
.checkout-card h3{margin:5px 0 15px}
.checkout-card .btn:disabled,.checkout-wrap .btn:disabled{opacity:.45;cursor:not-allowed}
.checkout-wrap{max-width:760px;margin:0 auto}
.checkout-customer{padding:14px;border-radius:12px;background:#f7f9fb;margin-bottom:15px}
.checkout-customer span,.checkout-customer strong,.checkout-customer small{display:block}
.checkout-customer span{font-size:10px;color:#718096;font-weight:800}
.checkout-customer strong{margin-top:5px}
.checkout-customer small{color:#718096;margin-top:3px}
.checkout-line{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid #edf0f4}
.checkout-line small{display:block;color:#718096;margin-top:4px;font-size:10px}
.checkout-total{display:flex;justify-content:space-between;padding:17px 0;margin:8px 0 18px;border-top:2px solid #dce3eb;font-size:18px}
.demo-payment-note{padding:12px 14px;border:1px dashed #d6b36a;border-radius:11px;background:#fff9ea;color:#5c4a25;font-size:11px;line-height:1.55;margin:15px 0}
.empty-cart{padding:35px 15px;text-align:center;color:#6d7b8e;border:1px dashed #ccd5e0;border-radius:12px;background:#fafbfc;line-height:1.7}
.archive-item{align-items:center}
.archive-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.archive-actions .btn{font-size:10px;padding:8px 10px}
@media(max-width:900px){.cart-layout{grid-template-columns:1fr}.checkout-card{position:static}.archive-item{align-items:flex-start;flex-direction:column}.archive-actions{justify-content:flex-start}}
@media(max-width:650px){.shop-nav{width:100%}.shop-tab{padding:10px 11px;font-size:10px}.cart-item{flex-direction:column}.cart-item-right{align-items:flex-start}.checkout-line{flex-direction:column;gap:7px}}

.customer-dashboard.hidden{display:none}.customer-dashboard{margin:22px 0 8px;padding:24px;border:1px solid var(--portal-border);border-radius:20px;background:linear-gradient(180deg,#fff,#f7f9fb);box-shadow:0 10px 30px rgba(7,26,51,.06)}
.dashboard-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.dashboard-head h2{margin:4px 0;font-size:27px}.dashboard-head h2 span{color:var(--portal-gold)}.dashboard-head p:last-child{margin:0;color:var(--portal-muted);font-size:12px}.dashboard-secure{font-size:10px;font-weight:900;color:#18794e;background:#e9f8ef;border-radius:999px;padding:8px 11px}
.dashboard-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}.dash-card{border:1px solid #dfe5ec;border-radius:14px;background:#fff;padding:17px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:6px}.dash-card:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(7,26,51,.08)}.dash-card b{font-size:23px}.dash-card strong{font-size:14px;color:var(--portal-navy)}.dash-card span{font-size:10px;color:var(--portal-muted)}
.dashboard-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.dashboard-summary div{padding:12px 14px;background:#eef2f6;border-radius:11px;display:flex;justify-content:space-between}.dashboard-summary span{font-size:10px;color:#617084}.dashboard-summary strong{font-size:18px;color:var(--portal-navy)}
@media(max-width:800px){.dashboard-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:550px){.dashboard-head{flex-direction:column}.dashboard-cards,.dashboard-summary{grid-template-columns:1fr}}

/* V25.2 – customer tariff indicator */
.customer-tariff{display:inline-flex;align-items:center;margin:0 0 12px;padding:7px 11px;border-radius:999px;background:#f4ead3;color:#8b6828;font-size:12px;font-weight:700;letter-spacing:.02em}

.archive-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.archive-tools .preview-btn{cursor:pointer}


/* V30 – σύνδεση τιμοκαταλόγου πελάτη με Portal */
.personal-price-note{display:block;margin-top:4px;font-size:11px;font-weight:600;opacity:.78}
