/* Unified Uzmantool navigation matching the approved reference */
.site-global-header{position:sticky;top:0;z-index:40;min-height:80px;height:80px;display:flex;align-items:center;gap:18px;padding:0 28px 0 22px;background:#0b101a;border-bottom:1px solid #263449;box-shadow:0 7px 24px #0004;color:#f5f8ff}
.site-header-brand{height:100%;width:218px;flex:0 0 218px;display:flex;align-items:center;gap:11px;padding-right:18px;border-right:1px solid #293448;color:#fff;text-decoration:none;min-width:0}
.site-header-brand img{width:43px;height:43px;object-fit:contain;flex:0 0 43px}.site-header-brand span{display:flex;flex-direction:column;gap:3px;min-width:0}
.site-header-brand b{font:700 17px/1 "Space Grotesk",sans-serif;letter-spacing:.2px;white-space:nowrap}.site-header-brand small{font:700 7px/1.2 "DM Sans",sans-serif;letter-spacing:1px;color:#a9bbd2;white-space:nowrap}
.site-global-nav{display:flex;align-items:center;gap:7px;min-width:0;flex:1}.site-nav-link{height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 13px;border:1px solid transparent;border-radius:11px;color:#e8eef8;text-decoration:none;white-space:nowrap;font:600 13px "DM Sans",sans-serif;transition:background .16s,border-color .16s}
.site-nav-link:hover{background:#17263a;border-color:#2c4868}.site-nav-link.active{background:linear-gradient(135deg,#1679f8,#0752c8);border-color:#2188ff;box-shadow:0 6px 18px #006eff42;color:#fff}
.site-nav-icon{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:7px;background:#14263d;color:#c7e5ff;font-size:19px;line-height:1}.site-nav-link.active .site-nav-icon{background:#ffffff20;color:#fff}.site-nav-chevron{margin-left:1px;color:#a9bad0;font-size:15px}
.site-header-actions,.site-global-header .dash-top-actions{display:flex;align-items:center;gap:14px;flex:0 0 auto}.site-global-header .dash-top-actions{margin-left:auto}
.site-global-header .language-control{position:relative;height:44px;min-width:91px;display:flex;align-items:center;justify-content:center;gap:9px;padding:0 12px;border:1px solid #345779;border-radius:14px;background:linear-gradient(145deg,#142b45 0%,#0d1b2d 100%);color:#eaf4ff;box-shadow:inset 0 1px 0 #ffffff12,0 4px 14px #0002;transition:border-color .2s,background .2s,box-shadow .2s,transform .2s}.site-global-header .language-control:hover{border-color:#4b9cff;background:linear-gradient(145deg,#1a3858 0%,#10243b 100%);box-shadow:inset 0 1px 0 #ffffff18,0 5px 18px #087bff26;transform:translateY(-1px)}.site-global-header .language-control:focus-within{border-color:#58a8ff;box-shadow:0 0 0 3px #1685ff28,0 5px 18px #087bff20}.site-global-header .language-control select{width:35px;min-width:35px;padding:4px 0;border:0;outline:0;background:transparent;color:#fff;font:800 13px/1 "DM Sans",sans-serif;letter-spacing:.6px;text-align:center;cursor:pointer;appearance:none}.site-global-header .language-control option{background:#101a29;color:#fff}.site-global-header .language-globe{width:25px;height:25px;display:grid;place-items:center;border-radius:9px;background:#238cff1c;color:#8ecaff}.site-global-header .language-globe svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.site-global-header .language-control .top-chevron{width:13px;height:13px;color:#9fb9d5;pointer-events:none}.site-global-header .top-chevron{font-size:15px;color:#a9bad0}.site-global-header .top-separator{height:30px;margin:0 3px;background:#2b3b51}
.site-global-header .notification-button{width:35px;height:40px;display:grid;place-items:center;font-size:23px;color:#e5efff;cursor:pointer}.site-global-header .notification-button i{right:0;top:0}
.site-global-header .header-auth{display:flex;align-items:center;gap:8px}.site-global-header .top-profile{min-height:54px;padding:4px 10px;border:1px solid #294766;border-radius:13px;background:#10233a;gap:10px}.site-global-header .top-profile .avatar{width:42px;height:42px}.site-global-header .top-account b{font-size:13px}.site-global-header .top-account small{font-size:10px}
.site-archive-auth{display:flex;align-items:center}.site-profile-button{height:54px;display:flex;align-items:center;gap:9px;padding:4px 10px;border:1px solid #294766;border-radius:13px;background:#10233a;color:#fff;cursor:pointer}.site-profile-button>span:nth-child(2){display:flex;flex-direction:column;gap:3px;text-align:left}.site-profile-button b{font-size:12px}.site-profile-button small{font-size:9px;color:#9eb2cb}.site-profile-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#238fff,#0755c8);font-size:25px}
.site-mobile-nav-toggle{display:none;border:1px solid #294766;border-radius:9px;background:#10233a;color:#fff;padding:9px 12px;font-size:20px}
body.dashboard-page .dash-main{margin-left:0}body.dashboard-page .dash-content{padding-top:23px}body.archive-shell .archive-stage{grid-template-columns:minmax(0,1fr);width:min(1470px,calc(100% - 32px))}body.archive-shell .archive-main-column{width:100%}
@media(max-width:1250px){.site-global-header{gap:10px;padding:0 15px}.site-header-brand{width:190px;flex-basis:190px}.site-nav-link{padding:0 9px;gap:6px;font-size:12px}.site-global-nav{gap:3px}.site-header-actions,.site-global-header .dash-top-actions{gap:8px}}
@media(max-width:980px){.site-global-header{height:auto;min-height:72px;flex-wrap:wrap;padding:9px 14px}.site-header-brand{height:54px;width:auto;flex:1 1 180px;border-right:0;padding-right:0}.site-mobile-nav-toggle{display:block;order:2}.site-global-nav{display:none;order:4;flex:1 0 100%;flex-wrap:wrap;padding:7px 0 3px}.site-global-nav.is-open{display:flex}.site-nav-link{flex:1 1 135px;justify-content:flex-start}.site-header-actions,.site-global-header .dash-top-actions{order:3;margin-left:0}.site-global-header .dash-top-actions{margin-left:auto}.site-global-header .language-control{height:38px}.site-archive-auth{display:none}}
@media(max-width:560px){.site-global-header{gap:8px}.site-header-brand img{width:38px;height:38px;flex-basis:38px}.site-header-brand b{font-size:15px}.site-header-brand small{font-size:6px}.site-global-header .dash-top-actions{gap:5px}.site-global-header .top-separator{display:none}.site-global-header .notification-button{width:30px}.site-global-header .header-auth .header-login,.site-global-header .header-auth .header-register{padding:8px}.site-global-header .top-profile .top-account{display:none}.site-nav-link{flex-basis:calc(50% - 5px)}}

.site-content-search{width:min(560px,100%);margin:0 0 18px auto}
.site-content-search input{font-size:12px}
@media(max-width:980px){.site-content-search{margin:12px 0 16px}}

/* Full-bleed layout: override legacy dashboard sidebar offset and centered max width */
body.dashboard-page .dash-main{margin-left:0!important;width:100%;max-width:none}
body.dashboard-page .dash-topbar.site-global-header{width:100%;left:0;right:0}
body.dashboard-page .dash-content{width:100%;max-width:none;margin:0;padding:23px clamp(18px,2vw,38px) 24px}
body.dashboard-page .dash-layout{width:100%;max-width:none;margin:0;grid-template-columns:minmax(0,2.15fr) minmax(300px,.88fr)}
body.dashboard-page .dash-primary,body.dashboard-page .dash-secondary{min-width:0}


/* Responsive viewport fit: remove inherited sidebar/container offsets */
html,body.dashboard-page,body.archive-shell{width:100%;min-width:320px;max-width:100%;margin:0}
body.dashboard-page{overflow-x:clip}
body.dashboard-page .dash-sidebar{display:none!important}
body.dashboard-page .dash-main,
body.dashboard-page .dash-main:where(*){position:relative;left:auto!important;right:auto!important;float:none!important;margin-left:0!important;margin-right:0!important;width:100%!important;max-width:none!important;min-width:0!important}
body.dashboard-page .dash-topbar.site-global-header{position:sticky;inset-inline:0;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box}
body.dashboard-page .dash-content{width:100%!important;max-width:none!important;margin:0!important;padding-inline:clamp(12px,2vw,32px)!important;box-sizing:border-box}
body.dashboard-page .dash-layout{width:100%!important;max-width:none!important;margin:0!important;min-width:0!important}
body.dashboard-page .dash-primary,
body.dashboard-page .dash-secondary,
body.dashboard-page .dash-account-grid,
body.dashboard-page .premium-grid,
body.dashboard-page .dash-package-grid,
body.dashboard-page .pro-download,
body.dashboard-page .pro-detail-grid{min-width:0;max-width:100%}
body.dashboard-page .pro-download{width:100%!important;margin-inline:0!important}
body.dashboard-page .dash-footer{width:100%;max-width:none;padding-inline:clamp(12px,2vw,32px);box-sizing:border-box}
body.dashboard-page img,body.archive-shell img{max-width:100%;height:auto}
body.dashboard-page .dash-layout>*,
body.dashboard-page .dash-account-grid>*,
body.dashboard-page .premium-grid>*,
body.dashboard-page .dash-package-grid>*{min-width:0}
body.archive-shell{overflow-x:clip}
body.archive-shell .site-global-header{width:100%;max-width:none;margin:0;box-sizing:border-box}
body.archive-shell .archive-stage{width:calc(100% - clamp(20px,3vw,56px))!important;max-width:none!important;margin-inline:auto!important;grid-template-columns:minmax(0,1fr)!important;min-width:0}
body.archive-shell .archive-main-column{grid-column:1!important;width:100%!important;min-width:0}
@media(min-width:761px){
 body.dashboard-page .dash-content{padding-top:clamp(14px,1.4vw,24px)!important}
 body.dashboard-page .dash-layout{display:block!important}
 body.dashboard-page .dash-primary{width:100%}
 body.dashboard-page .dash-account-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.dashboard-page .premium-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.dashboard-page .dash-package-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1100px) and (min-width:761px){
 body.dashboard-page .dash-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.dashboard-page .premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.dashboard-page .dash-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 body.dashboard-page .dash-content{padding:12px!important}
 body.dashboard-page .dash-account-grid,
 body.dashboard-page .premium-grid,
 body.dashboard-page .dash-package-grid{grid-template-columns:1fr!important}
 body.dashboard-page .dash-topbar.site-global-header{height:auto;min-height:68px}
 body.dashboard-page .dash-top-actions{min-width:0}
 body.dashboard-page .dash-footer{padding-inline:12px}
}
@media(max-width:420px){
 body.dashboard-page .site-header-brand{flex-basis:150px}
 body.dashboard-page .site-header-brand small{letter-spacing:.4px}
 body.dashboard-page .dash-top-actions .language-control{padding-inline:7px}
 body.dashboard-page .dash-top-actions .notification-button{width:26px}
}


/* Global fixed navigation: identical top menu across every portal page */
.site-global-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:99999!important}
body:has(.site-global-header){padding-top:80px!important}
@media(max-width:980px){body:has(.site-global-header){padding-top:72px!important}}

/* Language selector uses the active language flag instead of a globe */
.site-global-header .language-globe{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:20px;line-height:1;background:transparent!important;color:inherit!important}
.site-global-header .language-globe svg{display:none!important}

/* Render actual flag artwork, independent of Windows emoji font support */
.site-global-header .language-globe{display:inline-flex!important;align-items:center;justify-content:center;width:26px;height:20px;flex:0 0 26px;font-size:0!important;line-height:0!important;background:none!important;border-radius:0!important;overflow:visible}
.site-global-header .language-globe::before{content:"";display:block;width:24px;height:16px;border-radius:2px;background-size:cover;background-position:center;background-repeat:no-repeat;box-shadow:0 0 0 1px #ffffff30}
.site-global-header .language-globe[data-lang="tr"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23e30a17'/%3E%3Ccircle cx='24' cy='20' r='10' fill='white'/%3E%3Ccircle cx='27' cy='20' r='8' fill='%23e30a17'/%3E%3Cpath fill='white' d='m38 12 2.2 5.3 5.7.4-4.4 3.6 1.4 5.5-4.9-3-4.8 3 1.4-5.5-4.4-3.6 5.7-.4z'/%3E%3C/svg%3E")}
.site-global-header .language-globe[data-lang="en"]::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23012169'/%3E%3Cpath d='M0 0 60 40M60 0 0 40' stroke='white' stroke-width='9'/%3E%3Cpath d='M0 0 60 40M60 0 0 40' stroke='%23c8102e' stroke-width='4'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='white' stroke-width='13'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23c8102e' stroke-width='7'/%3E%3C/svg%3E")}
.site-global-header .language-globe svg{display:none!important}

/* Make the complete language control open the native language menu */
.site-global-header .language-control{position:relative;cursor:pointer}
.site-global-header .language-control select{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;opacity:0!important;z-index:6!important;cursor:pointer!important}
.site-global-header .language-control{justify-content:flex-start!important;gap:11px!important;padding:0 12px!important;box-sizing:border-box!important}.site-global-header .language-control::after{content:attr(data-current);position:static!important;display:inline-block;transform:none!important;z-index:2;pointer-events:none;color:#fff;font:800 13px/1 "DM Sans",sans-serif;letter-spacing:.6px}.site-global-header .language-control .language-globe{position:relative;z-index:1;flex:0 0 26px!important;width:26px!important;height:20px!important}.site-global-header .language-control select{z-index:6!important}
.site-global-header .language-control .language-globe,.site-global-header .language-control .top-chevron{pointer-events:none}
