/* RIDO v0.43.1 - rustige klantwerkruimte */
:root{--portal-navy:#08283a;--portal-blue:#087da8;--portal-soft:#eef5f8;--portal-line:#dce6ec;--portal-text:#122b3a;--portal-muted:#657b8a}
body.rido-portal-body{background:#f3f6f8;color:var(--portal-text)}
.portal-app-header{position:sticky;top:0;z-index:90;border-bottom:1px solid #d9e5eb;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);box-shadow:0 5px 22px rgba(10,42,60,.06)}
.portal-app-header-inner{min-height:68px;display:flex;align-items:center;gap:24px}
.portal-app-brand{display:flex;align-items:center;gap:10px;min-width:max-content;color:inherit;text-decoration:none}.portal-app-brand>.brand-mark{width:38px;height:38px;border-radius:12px}.portal-app-brand>span:last-child{display:grid;line-height:1.15}.portal-app-brand strong{font-size:15px}.portal-app-brand small{margin-top:3px;color:#708391;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.07em}
.portal-app-nav{display:flex;align-items:center;gap:5px;margin-left:auto}.portal-app-nav a{padding:9px 12px;border-radius:10px;color:#526878;text-decoration:none;font-size:13px;font-weight:800}.portal-app-nav a:hover,.portal-app-nav a.active{background:#eaf4f8;color:#075e83}
.portal-app-account{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid #d6e3ea;border-radius:12px;background:#fff;color:#24465a;text-decoration:none;font-size:13px;font-weight:850}.portal-app-account span{color:#18a271;font-size:10px}
.portal-menu-toggle{display:none;border:0;background:transparent}.portal-menu-toggle span{display:block;width:20px;height:2px;margin:3px;background:#17394d}.portal-menu-toggle b{font-size:0}
.rido-portal-body .site-footer{margin-top:36px}
.portal-compact-footer{padding:18px 0;border-top:1px solid #d9e5eb;background:#fff;color:#5e7382}.portal-compact-footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px}.portal-compact-footer nav{display:flex;gap:16px;flex-wrap:wrap}.portal-compact-footer a{color:#33566b;text-decoration:none;font-size:13px;font-weight:700}

/* Hoofdomgeving */
.rido-order-customer-app .order-admin{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px 22px;align-items:start;max-width:1380px}
.rido-order-customer-app .order-admin>.notice,.rido-order-customer-app .order-admin>.order-admin-hero{grid-column:1/-1}
.rido-order-customer-app .order-admin-hero{align-items:center;margin:0 0 2px;padding:9px 2px 5px}.rido-order-customer-app .order-admin-hero h1{font-size:clamp(28px,3vw,38px);margin:5px 0}.rido-order-customer-app .order-admin-hero p{font-size:14px}
.rido-order-customer-app .order-admin-status{min-width:210px;padding:11px 14px;border-radius:14px;box-shadow:none}
.rido-order-customer-app .order-workspace-nav{grid-column:1;position:sticky;top:88px;display:grid;align-content:start;gap:6px!important;margin:0!important;padding:10px!important;border:1px solid var(--portal-line);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(15,52,72,.06)}
.rido-order-customer-app .order-workspace-nav button{width:100%;justify-content:flex-start;min-height:44px;padding:10px 12px;border-radius:12px;font-size:13px}.rido-order-customer-app .order-workspace-nav button:before{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#edf5f8;color:#33708e;font-size:11px;font-weight:900}.rido-order-customer-app .order-workspace-nav button[data-order-tab="overview"]:before{content:"01"}.rido-order-customer-app .order-workspace-nav button[data-order-tab="menu"]:before{content:"02"}.rido-order-customer-app .order-workspace-nav button[data-order-tab="team"]:before{content:"03"}.rido-order-customer-app .order-workspace-nav button[data-order-tab="operations"]:before{content:"04"}.rido-order-customer-app .order-workspace-nav button[data-order-tab="orders"]:before{content:"05"}.rido-order-customer-app .order-workspace-nav button[data-order-tab="connections"]:before{content:"06"}.rido-order-customer-app .order-workspace-nav button.is-active:before{background:rgba(255,255,255,.16);color:#fff}
.rido-order-customer-app .order-toolbar,.rido-order-customer-app .order-workspace-panels{grid-column:2;min-width:0}
.rido-order-customer-app .order-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border-radius:15px;box-shadow:none}.rido-order-customer-app .order-venue-switch{min-width:0;flex-wrap:wrap}.rido-order-customer-app .order-toolbar nav{display:flex;overflow:auto;max-width:min(620px,65vw)}
.rido-order-customer-app .order-workspace-heading{padding:0 2px 2px}.rido-order-customer-app .order-workspace-heading h2{font-size:23px}.rido-order-customer-app .order-workspace-heading p{font-size:14px}
.rido-order-customer-app .order-workspace-panel{gap:16px}.rido-order-customer-app .order-admin .card{padding:20px;border-radius:18px;box-shadow:none}.rido-order-customer-app .order-admin .card:hover{box-shadow:none}
.rido-order-customer-app .order-process-card{gap:15px}.rido-order-customer-app .order-process-card>header{align-items:center}.rido-order-customer-app .order-process-card h2{font-size:20px}.rido-order-customer-app .order-process-steps{gap:8px}.rido-order-customer-app .order-process-steps button{padding:10px}.rido-order-customer-app .order-process-steps button>b{width:27px;height:27px}.rido-order-customer-app .order-process-steps button small{font-size:10px}
.order-plan-summary{min-width:180px;display:grid;justify-items:end;padding:10px 13px;border:1px solid #dce7ed;border-radius:14px;background:#f7fafb}.order-plan-summary span,.order-plan-summary small{color:#718491;font-size:11px}.order-plan-summary strong{font-size:14px}
.order-settings-optional,.order-branding-customize,.order-advanced-card{margin-top:16px;border:1px solid #dce6ec;border-radius:14px;background:#fafcfd}.order-settings-optional>summary,.order-branding-customize>summary,.order-advanced-card>summary{padding:14px 16px;cursor:pointer;list-style:none;color:#274b60;font-weight:850}.order-settings-optional>summary::-webkit-details-marker,.order-branding-customize>summary::-webkit-details-marker,.order-advanced-card>summary::-webkit-details-marker{display:none}.order-settings-optional>summary:after,.order-branding-customize>summary:after,.order-advanced-card>summary:after{content:"+";float:right;color:#087da8;font-size:20px;line-height:1}.order-settings-optional[open]>summary:after,.order-branding-customize[open]>summary:after,.order-advanced-card[open]>summary:after{content:"−"}.order-settings-optional>.check-grid{padding:0 16px 16px}
.order-advanced-card>summary span{display:grid;gap:2px}.order-advanced-card>summary small{color:#718491;font-weight:600}.order-advanced-card-body{padding:0 16px 18px}.order-danger-zone>summary{cursor:pointer;color:#7f2b27;font-weight:850}.order-danger-content{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px;padding-top:18px;border-top:1px solid #f0d9d6}

/* Compacte huisstijlkaart */
.order-branding-summary-card{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:20px;align-items:center;overflow:hidden}.order-branding-summary-media{height:132px;border-radius:15px;background-image:linear-gradient(135deg,rgba(4,26,39,.18),rgba(4,26,39,.02)),var(--branding-summary-image);background-size:cover;background-position:center;display:grid;place-items:center}.order-branding-summary-media>span{width:76px;height:76px;padding:9px;border-radius:18px;background:rgba(255,255,255,.92);box-shadow:0 12px 28px rgba(4,31,46,.18)}.order-branding-summary-media img{width:100%;height:100%;object-fit:contain}.order-branding-summary-copy h2{margin:7px 0 5px!important}.order-branding-summary-copy p{margin:0;color:#657b8a}.order-branding-state{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.order-branding-state>span{display:grid;padding:8px 10px;border-radius:11px;background:#f0f6f8}.order-branding-state b{font-size:12px}.order-branding-state small{color:#718491;font-size:10px}.order-branding-summary-actions{display:grid;gap:9px;min-width:190px}

/* Templatekeuze in dialoog */
body.order-dialog-open{overflow:hidden}.order-template-dialog{width:min(1380px,96vw);max-width:none;height:min(900px,93vh);max-height:93vh;margin:auto;padding:0;border:0;border-radius:24px;background:#fff;box-shadow:0 40px 120px rgba(4,27,42,.35);overflow:hidden}.order-template-dialog::backdrop{background:rgba(5,24,35,.66);backdrop-filter:blur(5px)}.order-template-dialog-form{height:100%;display:flex!important;flex-direction:column;gap:0!important;margin:0!important}.order-template-dialog-head{display:flex;justify-content:space-between;gap:24px;padding:22px 25px;border-bottom:1px solid #dce6ec;background:#fff}.order-template-dialog-head h2{margin:6px 0 4px;font-size:24px}.order-template-dialog-head p{max-width:780px;margin:0;color:#657b8a}.order-dialog-close{flex:0 0 42px;height:42px;border:0;border-radius:50%;background:#edf3f6;color:#294a5e;font-size:27px;cursor:pointer}.order-template-dialog-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr);gap:0;min-height:0;flex:1;overflow:hidden}.order-template-dialog-library{min-width:0;padding:20px;overflow:auto;border-right:1px solid #dce6ec}.order-template-dialog-preview{min-width:0;padding:20px;background:#f3f6f8;overflow:auto}.order-template-dialog .order-theme-picker{padding:0;border:0;background:transparent}.order-template-dialog .order-theme-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.order-template-dialog .order-theme-option{grid-template-columns:1fr;padding:0;overflow:hidden;border-radius:15px}.order-template-dialog .order-theme-card-media{height:92px}.order-template-dialog .order-theme-card-copy{padding:11px}.order-template-dialog .order-theme-card-copy em{min-height:30px}.order-template-dialog .order-theme-live{margin-top:12px}.order-template-dialog .order-theme-selection-note{margin-top:12px}.order-branding-customize{margin:14px 20px 0}.order-branding-customize-body{padding:0 16px 16px}.order-template-dialog .order-branding-colors{grid-template-columns:repeat(3,1fr)}.order-template-dialog .order-branding-media{margin-top:14px}.order-template-dialog .order-media-upload>img{height:96px}.order-template-dialog .order-kiosk-welcome-config{margin:0;padding:0 16px 16px;border:0;background:transparent}.order-demo-template-options{margin:14px 20px;padding:12px;border:1px dashed #d6a74b;border-radius:14px;background:#fffaf0}.order-template-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px;border-top:1px solid #dce6ec;background:#fff}.order-template-dialog-footer>span{display:grid}.order-template-dialog-footer small{color:#657b8a}.order-template-dialog-footer>div{display:flex;gap:9px}
.order-staff-access-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}

/* Hoofddashboard rustiger */
.rido-portal-body .customer-portal-hero{padding:34px 0 10px;background:none;color:inherit}.rido-portal-body .customer-portal-hero .visual-page-hero{grid-template-columns:1fr auto}.rido-portal-body .customer-portal-hero .page-title{font-size:clamp(30px,4vw,45px)}.rido-portal-body .customer-portal-hero .page-hero-image{width:250px;max-height:140px}.rido-portal-body .customer-commerce-nav{position:sticky;top:68px;z-index:40;background:#f3f6f8;padding:10px 0}.rido-portal-body .customer-dashboard-welcome,.rido-portal-body .customer-solution-panel,.rido-portal-body .customer-quick-actions>a{box-shadow:none}.rido-portal-body .customer-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}

@media(max-width:1120px){.rido-order-customer-app .order-admin{grid-template-columns:190px minmax(0,1fr)}.order-template-dialog .order-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-branding-summary-card{grid-template-columns:150px 1fr}.order-branding-summary-actions{grid-column:1/-1;grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){.portal-app-header-inner{min-height:62px}.portal-menu-toggle{display:block;margin-left:auto}.portal-app-nav{display:none;position:absolute;left:12px;right:12px;top:66px;padding:10px;border:1px solid #d7e4ea;border-radius:16px;background:#fff;box-shadow:0 20px 50px rgba(8,40,58,.16)}.portal-app-nav.open{display:grid}.portal-app-nav a{padding:12px}.portal-app-account{font-size:0;padding:9px}.portal-app-account span{font-size:11px}.rido-order-customer-app .order-admin{display:block}.rido-order-customer-app .order-admin-hero{margin-bottom:14px}.rido-order-customer-app .order-workspace-nav{position:sticky;top:62px;z-index:55;display:flex;overflow:auto;margin-bottom:12px!important;border-radius:14px}.rido-order-customer-app .order-workspace-nav button{width:auto}.rido-order-customer-app .order-workspace-nav button:before{display:none}.rido-order-customer-app .order-toolbar{margin-bottom:14px}.order-template-dialog{width:100vw;height:100dvh;max-height:none;border-radius:0}.order-template-dialog-layout{grid-template-columns:1fr;overflow:auto}.order-template-dialog-library,.order-template-dialog-preview{overflow:visible;border:0}.order-template-dialog-preview{border-top:1px solid #dce6ec}.order-template-dialog-form{overflow:auto}.order-template-dialog-footer{position:sticky;bottom:0}.order-branding-summary-card{grid-template-columns:110px 1fr}.order-branding-summary-media{height:110px}.rido-portal-body .customer-portal-hero .page-hero-image{display:none}.rido-portal-body .customer-quick-actions{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.portal-app-brand>span:last-child{display:none}.portal-app-account{display:none}.portal-compact-footer .wrap{align-items:flex-start;flex-direction:column}.rido-order-customer-app .order-admin-hero{align-items:flex-start;flex-direction:column}.rido-order-customer-app .order-admin-status{width:100%}.rido-order-customer-app .order-workspace-nav button{padding:9px 11px}.rido-order-customer-app .order-toolbar{align-items:stretch;flex-direction:column}.rido-order-customer-app .order-toolbar nav{max-width:100%}.rido-order-customer-app .order-process-steps{grid-template-columns:1fr 1fr}.order-branding-summary-card{grid-template-columns:1fr}.order-branding-summary-media{height:150px}.order-branding-summary-actions{grid-template-columns:1fr}.order-template-dialog .order-theme-grid{grid-template-columns:1fr}.order-template-dialog-head{padding:16px}.order-template-dialog-head h2{font-size:20px}.order-template-dialog-library,.order-template-dialog-preview{padding:14px}.order-template-dialog .order-branding-colors,.order-template-dialog .order-branding-media{grid-template-columns:1fr}.order-template-dialog-footer{align-items:stretch;flex-direction:column}.order-template-dialog-footer>div{display:grid;grid-template-columns:1fr 1fr}.order-danger-content{align-items:stretch;flex-direction:column}.rido-portal-body .customer-quick-actions{grid-template-columns:1fr}.rido-portal-body .customer-dashboard-welcome{padding:18px}}

/* De applicatieheader vervangt de oude dubbele klantnavigatie. */
.rido-portal-body .customer-commerce-nav{display:none!important}


/* Particuliere portal: uitsluitend huur, reserveringen en documenten */
.rido-portal-body.rido-audience-private .customer-portal-hero{padding-bottom:0}
.rido-portal-body.rido-audience-private .customer-dashboard-welcome{border-color:#dfe9ee;background:linear-gradient(135deg,#fff 0%,#f7fbfd 100%)}
.rido-portal-body.rido-audience-private .customer-private-actions{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:22px}
.rido-portal-body.rido-audience-private .customer-private-actions>a{min-height:118px;border-color:#dce8ed}
.rido-portal-body.rido-audience-private .customer-private-actions>a:nth-child(1){background:linear-gradient(145deg,#fff,#f1f8fb)}
.rido-portal-body.rido-audience-private .customer-private-actions>a:nth-child(2){background:linear-gradient(145deg,#fff,#f8f8f3)}
.rido-portal-body.rido-audience-private .portal-grid{align-items:start}
.rido-portal-body.rido-audience-private .portal-login-card,.rido-portal-body.rido-audience-private .portal-reservation-card{box-shadow:none;border-color:#dfe8ec}
.rido-portal-body.rido-audience-private .customer-solution-hub,.rido-portal-body.rido-audience-private .customer-software-overview{display:none!important}
@media(max-width:860px){.rido-portal-body.rido-audience-private .customer-private-actions{grid-template-columns:1fr 1fr}.rido-portal-body.rido-audience-private .customer-private-actions>a:last-child{grid-column:1/-1}}
@media(max-width:620px){.rido-portal-body.rido-audience-private .customer-private-actions{grid-template-columns:1fr}.rido-portal-body.rido-audience-private .customer-private-actions>a:last-child{grid-column:auto}}

/* RIDO v0.43.2 — templatevenster zonder samengedrukte panelen */
.order-template-dialog-tabs{display:flex;gap:6px;padding:10px 18px;border-bottom:1px solid #dce6ec;background:#f7fafb;overflow:auto}.order-template-dialog-tabs button{flex:0 0 auto;min-height:38px;padding:8px 13px;border:1px solid transparent;border-radius:10px;background:transparent;color:#536a79;font-weight:850;cursor:pointer}.order-template-dialog-tabs button.active{border-color:#bcd6e2;background:#fff;color:#08749d;box-shadow:0 5px 14px rgba(12,61,83,.08)}.order-template-dialog [data-template-panel][hidden]{display:none!important}.order-template-dialog-layout[data-template-panel="templates"]{min-height:0;flex:1}.order-template-settings-panel{flex:1;min-height:0;margin:0!important;padding:20px 24px;overflow:auto;border:0!important;border-radius:0!important;background:#f7fafb!important}.order-template-settings-panel>summary{display:none}.order-template-settings-panel .order-branding-customize-body,.order-template-settings-panel .order-kiosk-welcome-config{max-width:1120px;margin:auto;padding:0!important}.order-template-dialog .order-theme-live{min-height:430px}.order-template-dialog-preview{display:flex;flex-direction:column}.order-template-dialog-preview .order-theme-live{flex:1}.order-template-dialog-library,.order-template-dialog-preview{padding:18px}.order-template-dialog .order-theme-card-media{height:118px}.order-template-dialog .order-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rido-order-customer-app .order-workspace-panels{align-self:start}.rido-order-customer-app .order-workspace-panel[hidden]{display:none!important}.rido-order-customer-app .order-workspace-panel:not([hidden]){min-height:0!important}
@media(min-width:1180px){.order-template-dialog{height:min(920px,95vh);width:min(1500px,97vw)}.order-template-dialog-layout{grid-template-columns:minmax(560px,1.05fr) minmax(520px,.95fr)}}
@media(max-width:860px){.order-template-dialog-tabs{position:sticky;top:0;z-index:3}.order-template-dialog .order-theme-live{min-height:360px}.order-template-settings-panel{padding:16px}.order-template-dialog-layout[data-template-panel="templates"]{display:block}}
@media(min-width:861px){.rido-order-customer-app .order-admin{grid-template-rows:auto auto auto}.rido-order-customer-app .order-admin-hero{grid-row:1}.rido-order-customer-app .order-workspace-nav{grid-row:2 / 4}.rido-order-customer-app .order-toolbar{grid-row:2}.rido-order-customer-app .order-workspace-panels{grid-row:3}}


/* RIDO v0.43.3 — één duidelijke scrollzone in de template-pop-up */
.order-template-dialog{
  height:min(940px,calc(100dvh - 24px));
  max-height:calc(100dvh - 24px);
}
.order-template-dialog-form{min-height:0;overflow:hidden}
.order-template-dialog-head,
.order-template-dialog-tabs,
.order-template-dialog-footer{flex:0 0 auto}
.order-template-dialog-layout[data-template-panel="templates"]{
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  align-items:start;
}
.order-template-dialog-library{
  overflow:visible;
  min-height:100%;
}
.order-template-dialog-preview{
  overflow:visible;
  position:sticky;
  top:0;
  align-self:start;
  max-height:none;
}
.order-template-settings-panel{
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.order-template-dialog-layout::-webkit-scrollbar,
.order-template-settings-panel::-webkit-scrollbar{width:12px}
.order-template-dialog-layout::-webkit-scrollbar-thumb,
.order-template-settings-panel::-webkit-scrollbar-thumb{background:#b9cbd4;border:3px solid transparent;border-radius:999px;background-clip:padding-box}
.order-template-dialog-layout::-webkit-scrollbar-track,
.order-template-settings-panel::-webkit-scrollbar-track{background:#eef4f6}
@media(max-height:760px) and (min-width:861px){
  .order-template-dialog{height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}
  .order-template-dialog-head{padding:14px 20px}
  .order-template-dialog-head h2{font-size:21px}
  .order-template-dialog-head p{font-size:13px;line-height:1.4}
  .order-template-dialog-tabs{padding:7px 16px}
  .order-template-dialog-footer{padding:10px 18px}
}
@media(max-width:860px){
  .order-template-dialog{height:100dvh;max-height:100dvh}
  .order-template-dialog-form{overflow:hidden}
  .order-template-dialog-layout[data-template-panel="templates"]{display:block;overflow-y:auto}
  .order-template-dialog-library{min-height:0}
  .order-template-dialog-preview{position:static;border-top:1px solid #dce6ec}
  .order-template-dialog-footer{position:static}
}
