/* Only the new control has light-mode styling. Existing light page styles are untouched. */
body .depo-language #depo-theme-toggle{box-sizing:border-box;min-width:44px;width:44px;height:40px;min-height:40px;padding:8px;border:1px solid #fff;border-radius:24px;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
#depo-theme-toggle svg{width:22px;height:22px;display:block;flex:none}
#depo-theme-toggle:focus-visible{outline:3px solid #8c83ff;outline-offset:3px}
@media(min-width:981px){body .depo-language{display:flex;gap:8px;align-items:center}}
@media(max-width:980px){body .depo-language #depo-theme-toggle{position:absolute;right:0;bottom:calc(100% + 8px)}}
html[data-depo-theme=dark]{color-scheme:dark;background:#111318}
html[data-depo-theme=dark] body{background:#111318!important;color:#edf0f5!important}
html[data-depo-theme=dark] [data-depo-dark-surface]{background-color:#191d25!important}
html[data-depo-theme=dark] [data-depo-dark-text]{color:#e4e8f0!important}
html[data-depo-theme=dark] [data-depo-dark-border]{border-color:#3b4353!important}
html[data-depo-theme=dark] :is(#main-content,#page-container,#et-main-area){background-color:#111318!important}
html[data-depo-theme=dark] :is(input,textarea,select){background-color:#242a35!important;color:#f0f2f7!important;border-color:#4d576b!important}
html[data-depo-theme=dark] ::placeholder{color:#b5bdcb!important;opacity:1}
html[data-depo-theme=dark] :is(.dm-eyebrow,.ds-more,.dm-text-link){color:#b0a8ff!important}
html[data-depo-theme=dark] :is(.dm-stars,.h5-review-summary .dm-stars){color:#fbbc04!important}
html[data-depo-theme=dark] .ds-visual:after{background:linear-gradient(90deg,#191d25 0%,#191d25ed 10%,#191d2550 28%,transparent 45%)!important}
html[data-depo-theme=dark] .ds-visual:before{background-image:radial-gradient(circle,#191d25 1.5px,transparent 2px)!important}
html[data-depo-theme=dark] :is(.depo-consent,.depo-language #depo-language-options){background:#191d25!important;color:#edf0f5!important;border-color:#3b4353!important}
html[data-depo-theme=dark] :is(.depo-service-large,.depo-service-small,.dm-review,.dr-car,.dr-selected-car){box-shadow:0 8px 26px #0004!important}
html[data-depo-theme=dark] a:focus-visible,html[data-depo-theme=dark] button:focus-visible{outline:3px solid #b0a8ff;outline-offset:3px}


/* Legacy Divi uses multiple IDs and !important. Match that specificity, dark only. */
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc [data-depo-dark-surface]{background-color:#191d25!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc [data-depo-dark-text]{color:#edf0f6!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc [data-depo-dark-border]{border-color:#424b5c!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc :is(h1,h2,h3,h4,h5,h6),
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc header :is(a,button,.mobile_menu_bar),
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .et_mobile_menu a{color:#fff!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc :is(.depo-service-small,.depo-service-large,.et_pb_blurb_description) :is(p,span,a,strong){color:#e2e6ee!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dx-slogan,
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dx-slogan *{color:#262d38!important;animation:none!important;text-shadow:none!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dx-copy h1,
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .ds-copy h1,
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .header-content h1{color:#fff!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dx-copy h1 span{color:#aaa0ff!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]),textarea,select){background:#242c39!important;color:#fff!important;border:1px solid #58657b!important;box-sizing:border-box}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc :is(input,textarea)::placeholder{color:#c5ccda!important;opacity:1}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc :is(input,textarea,select):focus{outline:2px solid #b0a8ff!important;outline-offset:2px}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .mobile_menu_bar:before,
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-more-toggle{color:#fff!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc :is(.dm-stars,.dm-review .dm-stars){color:#fbbc04!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc :is(.dm-eyebrow,.ds-more,.dm-text-link){color:#b0a8ff!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc :is(.dm-button,.depo-action,.dr-detail-cta){color:#fff!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dm-outline{background:#242c39!important;border-color:#68748b!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dx-copy{isolation:isolate}

html[data-depo-theme=dark] .depo-theme-icon{filter:invert(1)!important;background:transparent!important;mix-blend-mode:screen;border-radius:0!important}
html[data-depo-theme=dark] header img[src*="Znacka-na-barevne-pozadi"]{filter:invert(1)!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-more-toggle span{background-color:#fff!important}

html[data-depo-theme=dark] :is(input[type=checkbox],input[type=radio]){accent-color:#9e93ff}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc :is(input,textarea,select):disabled{color:#bac3d1!important;background:#202530!important}

/* Retained light gradient panels need dark text over the whole surface. */
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc [data-depo-light-panel]{background:transparent!important;background-image:linear-gradient(90deg,rgba(255,255,255,.88) 0%,rgba(255,255,255,.68) 50%,rgba(255,255,255,.52) 100%)!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc [data-depo-light-panel] .et_pb_promo_description,html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc [data-depo-light-panel] .et_pb_promo_description *{color:#111111!important;text-shadow:none!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc [data-depo-light-panel] .et_pb_promo_button{background:#3822ff!important;color:#fff!important;border-color:#3822ff!important}
.dm-review-photos{display:flex;gap:8px;margin:12px 0}.dm-review-photos a{display:block;flex:0 1 112px}.dm-review-photos img{display:block;width:112px;height:80px;max-width:100%;object-fit:cover;border-radius:10px;filter:none!important}.dm-review-photos a:focus-visible{outline:3px solid #8c83ff;outline-offset:3px}

/* 0.18.40: scoped component states; no tracking or form changes. */
.dm-review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.dm-review-toolbar .h5-review-summary{flex:1;margin:0}.dm-review-toolbar .dm-review-tools{margin:0;flex:none}.dm-review-toolbar .dm-review-tools>div{display:flex;gap:6px}
.dm-review-track .dm-review>.dm-review-photos{margin-top:auto;padding-top:12px;min-height:80px;flex-shrink:0}.dm-review-track .dm-review>.dm-review-photos+.dm-text-link{margin-top:16px;padding-top:0}.dm-review-photos a{flex:0 0 112px;width:112px;height:80px;overflow:hidden;border-radius:10px}.dm-review-photos img{width:112px!important;height:80px!important;object-fit:cover!important}
@media(max-width:767px){.dm-review-toolbar .h5-review-summary{flex-basis:100%}.dm-review-toolbar .dm-review-tools{margin-left:auto}}
@media(prefers-reduced-motion:no-preference){.dx-home #main-content .depo-service-small{transition:transform .2s,box-shadow .2s}.dx-home #main-content .depo-service-small:hover{transform:translateY(-6px);box-shadow:0 18px 40px #3020ff16}}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-career .et_pb_toggle_open{background:#242a35!important;border-color:#424b5c!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-career .et_pb_toggle_open :is(h1,h2,h3,h4,h5,p,li,span,div){color:#edf0f6!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-insurance .di-hero{background:radial-gradient(ellipse at 90% 20%,#3020ff24,transparent 42%),linear-gradient(125deg,#191d25,#242a35)!important;color:#edf0f6!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-insurance .di-hero :is(h1,p,strong,span),
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-insurance .di-hero .di-button-outline{color:#edf0f6!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc #post-241616 .et_pb_section_1:empty{filter:invert(1);background-color:transparent!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .car-card-col{border-radius:28px!important;overflow:hidden!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .car-card-col .et_pb_promo{background:#101217!important;background-image:none!important;border-radius:0 0 28px 28px!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .car-card-col .et_pb_promo .et_pb_promo_description,
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .car-card-col .et_pb_promo .et_pb_promo_description *{color:#edf0f6!important}
.dr-public .dr-days .busy{background:#f4c5c0!important;color:#80251e!important;border:1px solid #b95c53!important;text-decoration:line-through!important}.dr-public .dr-days .selected{background:#3020ff!important;color:#fff!important;border:2px solid #3020ff!important}.dr-public .dr-days .in-range:not(.selected){background:#dedaff!important;color:#25117e!important}.dr-public .dr-days .dr-day:disabled{opacity:.65}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dr-public{--r-bg:#191d25;--r-ink:#edf0f6;--r-muted:#bcc5d2;--r-line:#536078;--r-soft:#303948;--r-busy:#733b37}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dr-public .dr-calendar{background:#191d25!important;color:#edf0f6!important;border-color:#536078!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dr-public .dr-days .dr-day{background:#303948!important;color:#f4f6fa!important;border:1px solid #536078!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dr-public .dr-days .busy{background:#733b37!important;color:#fff0ed!important;border-color:#dd8e81!important;text-decoration:line-through!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dr-public .dr-days .selected{background:#6855ff!important;color:#fff!important;border:2px solid #c4bcff!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dr-public .dr-days .in-range:not(.selected){background:#423866!important;color:#fff!important;border-color:#9c8fd4!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .dr-public .dr-legend span{background:#733b37!important;color:#fff0ed!important}

/* 0.18.41: preserve light-mode geometry, paint the complete rental card. */
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .car-card-col{background-color:#101217!important;background-image:none!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .car-card-col .et_pb_promo{border-radius:0!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-insurance .di-hero h1 span,
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-insurance .di-eyebrow,
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-insurance .di-hotline-icon{color:#3020ff!important}

/* 0.18.42: dark photograph blend and compact rental detail copy. */
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-insurance .di-hero{background:#191d25!important}
html[data-depo-theme=dark] body #page-container#page-container#page-container #et-boc .depo-insurance .di-hero::before{background:linear-gradient(90deg,#191d25 0%,rgba(25,29,37,.96) 12%,rgba(25,29,37,.68) 35%,rgba(25,29,37,.24) 72%,rgba(25,29,37,.16) 100%),url('/assets/site/insurance-tow.png') center 55%/cover no-repeat!important;opacity:1!important}

/* Same typography in both themes; leave the vehicle H1 and calendar untouched. */
#et-main-area .dr-detail-page .dr-detail-info .dr-detail-chips{margin-bottom:18px}
#et-main-area .dr-detail-page .dr-detail-info .dr-detail-summary{font-size:15px;line-height:1.65;margin-bottom:22px}
#et-main-area .dr-detail-page .dr-detail-info h3{font-size:20px;line-height:1.3;margin-bottom:16px}
#et-main-area .dr-detail-page .dr-detail-prices{font-size:15px;line-height:1.65}
#et-main-area .dr-detail-page .dr-detail-deposit{font-size:14px;line-height:1.6}
#et-main-area .dr-detail-page .dr-detail-terms{font-size:15px;line-height:1.65}
#et-main-area .dr-detail-page .dr-detail-terms h2{font-size:23px;line-height:1.3;margin-bottom:20px}
#et-main-area .dr-detail-page .dr-detail-terms :is(p,.dr-copy,table,th,td){font-size:15px;line-height:1.65}
#et-main-area .dr-detail-page .dr-detail-table th{padding:13px 18px}
#et-main-area .dr-detail-page .dr-detail-table td{padding:12px 18px}
#et-main-area .dr-detail-page .dr-detail-terms .dr-copy{margin-top:24px}
@media(max-width:480px){#et-main-area .dr-detail-page .dr-detail-table :is(th,td){padding:10px}}

/* 0.18.43: main rental description, 15% smaller at both breakpoints. */
#et-main-area .dr-detail-page .dr-detail-description.dr-copy{font-size:17px;line-height:1.75}
@media(max-width:480px){#et-main-area .dr-detail-page .dr-detail-description.dr-copy{font-size:14.45px}}
.dr-photo-dialog{border:0;padding:0;width:96vw;max-width:1400px;height:92vh;max-height:92vh;background:#101217;color:#fff;border-radius:16px;overflow:hidden}
.dr-photo-dialog::backdrop{background:rgba(0,0,0,.88)}
.dr-photo-dialog .dr-photo-stage{height:100%;display:flex;align-items:center;justify-content:center;padding:58px 56px;box-sizing:border-box}
.dr-photo-dialog img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.dr-photo-dialog button{position:absolute;border:1px solid #ffffff70;border-radius:50%;background:#171b22;color:#fff;width:44px;height:44px;padding:0;display:grid;place-items:center;font:28px/1 Arial;cursor:pointer}
.dr-photo-dialog button:focus-visible{outline:3px solid #8c83ff;outline-offset:3px}
.dr-photo-dialog .dr-photo-close{right:12px;top:10px}
.dr-photo-dialog .dr-photo-prev{left:8px;top:calc(50% - 22px)}
.dr-photo-dialog .dr-photo-next{right:8px;top:calc(50% - 22px)}
.dr-photo-dialog .dr-photo-count{position:absolute;left:20px;top:20px;color:#fff;font:16px/1.4 Arial}
@media(max-width:600px){.dr-photo-dialog .dr-photo-stage{padding:60px 8px}.dr-photo-dialog .dr-photo-prev,.dr-photo-dialog .dr-photo-next{top:auto;bottom:10px}}

/* 0.18.44: rental description emphasis and mouse selection without a frame. */
#et-main-area .dr-detail-description.dr-copy strong,
#et-main-area .dr-detail-description.dr-copy b{font-weight:700!important}
#et-main-area .dr-detail-gallery .dr-detail-strip a img{outline:none!important;box-shadow:none!important;border:0!important}
#et-main-area .dr-detail-gallery [data-detail-hero],
#et-main-area .dr-detail-gallery [data-detail-photo]{border:0;box-shadow:none}
#et-main-area .dr-detail-gallery [data-detail-hero]:focus:not(:focus-visible),
#et-main-area .dr-detail-gallery [data-detail-photo]:focus:not(:focus-visible){outline:none!important;box-shadow:none!important}
/* 0.18.45: no frames on rental gallery photo links, including restored focus. */
#et-main-area .dr-detail-gallery [data-detail-hero],
#et-main-area .dr-detail-gallery [data-detail-photo],
#et-main-area .dr-detail-gallery [data-detail-hero]:focus,
#et-main-area .dr-detail-gallery [data-detail-photo]:focus,
#et-main-area .dr-detail-gallery [data-detail-hero]:focus-visible,
#et-main-area .dr-detail-gallery [data-detail-photo]:focus-visible,
#et-main-area .dr-detail-gallery [data-detail-hero] img,
#et-main-area .dr-detail-gallery [data-detail-photo] img{outline:none!important;outline-offset:0!important;border:0!important;box-shadow:none!important}

/* 0.18.46: geometric chevrons centered independently of font metrics. */
#et-main-area .dr-detail-gallery button[data-gallery-direction],
.dr-photo-dialog button.dr-photo-prev,
.dr-photo-dialog button.dr-photo-next{display:grid!important;place-items:center!important;padding:0!important;line-height:1!important;box-sizing:border-box;text-indent:0}
#et-main-area .dr-detail-gallery button[data-gallery-direction]::before,
#et-main-area .dr-detail-gallery button[data-gallery-direction]::after,
.dr-photo-dialog button.dr-photo-prev::before,
.dr-photo-dialog button.dr-photo-prev::after,
.dr-photo-dialog button.dr-photo-next::before,
.dr-photo-dialog button.dr-photo-next::after{content:none!important}
#et-main-area .dr-detail-gallery .dr-gallery-chevron,
.dr-photo-dialog .dr-gallery-chevron{display:block!important;width:24px!important;height:24px!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;pointer-events:none}

/* 0.18.48: matte dark-mode artwork; light originals stay unchanged. */
html[data-depo-theme=dark] body img[src$="/icons/autoservis-brzdy.png"]{content:url("/assets/site/icons/autoservis-brzdy-dark-matte.png");filter:none!important;mix-blend-mode:screen!important;background:transparent!important;box-shadow:none!important;text-shadow:none!important}

/* 0.18.48: matte dark-mode artwork; light originals stay unchanged. */
html[data-depo-theme=dark] body img[src$="/icons/pojistne-udalosti.png"]{content:url("/assets/site/icons/pojistne-udalosti-dark-matte.png");filter:none!important;mix-blend-mode:screen!important;background:transparent!important;box-shadow:none!important;text-shadow:none!important}
