html{background:#070808}
body.dashboard-page{
  min-height:100vh;
  min-height:100dvh;
  margin:0;
  color:#f1f2ef;
  background:#070808;
  font-family:inherit;
  overflow-x:hidden;
}
/* Shared cinematic BG — same asset as homepage (full-res PNG, light overlays).
   Fixed + 100vw/100dvh so browser zoom never leaves empty side/bottom strips. */
body.dashboard-page::before{
  content:"";
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  height:100dvh;
  min-width:100vw;
  min-height:100vh;
  min-height:100dvh;
  z-index:-3;
  background-color:#070808;
  background-image:
    linear-gradient(90deg,rgba(7,8,8,.34),rgba(7,8,8,.08) 52%,rgba(7,8,8,.14)),
    linear-gradient(180deg,rgba(7,8,8,.22) 0%,transparent 36%,rgba(7,8,8,.28) 72%,rgba(7,8,8,.72) 100%),
    url("/assets/kaze-night-yard.png");
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  image-rendering:auto;
  opacity:1;
  filter:none;
}
body.dashboard-page::after{
  content:"";
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  height:100dvh;
  min-width:100vw;
  min-height:100vh;
  min-height:100dvh;
  z-index:-2;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:96px 96px;
  /* Keep grid visible through bottom — old mask faded to transparent at 85% */
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.45) 0%,rgba(0,0,0,.55) 40%,rgba(0,0,0,.75) 100%);
  mask-image:linear-gradient(180deg,rgba(0,0,0,.45) 0%,rgba(0,0,0,.55) 40%,rgba(0,0,0,.75) 100%);
  opacity:.32;
}
body.dashboard-page.applications-page,
body.dashboard-page.team-page,
body.dashboard-page.destek-page,
body.dashboard-page.admin-page{
  background:transparent;
}
/* Admin control center: no night-yard photo (solid charcoal). Homepage/applications/team keep image. */
body.dashboard-page.admin-page.admin-cc::before{
  background-color:#0a0b0c!important;
  background-image:
    radial-gradient(ellipse 90% 55% at 18% -10%,rgba(255,255,255,.045),transparent 55%),
    radial-gradient(ellipse 70% 45% at 88% 8%,rgba(255,255,255,.03),transparent 50%),
    linear-gradient(165deg,#121416 0%,#0a0b0c 42%,#070808 100%)!important;
  filter:none!important;
}
body.dashboard-page.admin-page.admin-cc::after{
  opacity:.07;
}
body.dashboard-page.applications-page::after,
body.dashboard-page.team-page::after,
body.dashboard-page.destek-page::after{
  opacity:.3;
}
.dashboard-page *{box-sizing:border-box}
.dashboard-page a{color:inherit}
.dashboard-page a.dashboard-button,
.dashboard-page a.dashboard-login{color:#151718}
.dashboard-page a.dashboard-button.secondary,
.dashboard-page a.dashboard-button.danger{color:#eef0ec}
.dashboard-page button,.dashboard-page input,.dashboard-page textarea,.dashboard-page select{font:inherit}
#application-login-link[hidden],
#admin-login-link[hidden],
#team-login-link[hidden],
#application-account[hidden],
#admin-account[hidden],
#team-account[hidden]{display:none!important}
.dashboard-nav{
  width:min(1320px,calc(100% - 48px));
  height:78px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:24px;
  border-bottom:1px solid rgba(255,255,255,.13);
}
.dashboard-brand{font-size:23px;font-weight:700;letter-spacing:.18em;text-decoration:none}
.dashboard-nav-links{display:flex;align-items:center;gap:8px;margin:0;padding:0;list-style:none}
.dashboard-nav-links a,.dashboard-nav-link{display:inline-flex;align-items:center;min-height:40px;padding:0 17px;border:1px solid transparent;border-radius:11px;color:#afb3b0;text-decoration:none;font-size:12px;font-weight:500;transition:color .2s,background .2s,border-color .2s}
.dashboard-nav-links a:hover,.dashboard-nav-links a[aria-current="page"]{color:#f6f7f4;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.13)}
.dashboard-nav-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px}
.dashboard-back{display:inline-flex;align-items:center;gap:9px;color:#c8ccc8;text-decoration:none;font-size:12px;transition:color .2s}
.dashboard-back:hover{color:#fff}
.dashboard-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dashboard-login{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border:1px solid rgba(255,255,255,.2);border-radius:11px;background:rgba(255,255,255,.08);color:#f1f2ef;text-decoration:none;font-size:12px;font-weight:600}
.dashboard-user{display:flex;align-items:center;gap:10px;min-width:190px;padding:6px 10px 6px 7px;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:rgba(22,24,25,.48)}
.dashboard-user[hidden],.dashboard-login[hidden],.dashboard-section[hidden]{display:none}
.dashboard-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#f0f1ed;color:#151718;font-size:14px;font-weight:700;position:relative;overflow:visible;flex-shrink:0}
.dashboard-avatar.has-image{background:transparent;color:transparent;padding:0}
.dashboard-avatar .account-avatar-img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;pointer-events:none;position:relative;z-index:0}
.dashboard-avatar::after{content:"";position:absolute;right:-3px;bottom:-3px;width:10px;height:10px;border:2px solid #191b1c;border-radius:50%;background:#b8f36b;box-shadow:0 0 0 1px rgba(0,0,0,.35),0 0 10px rgba(184,243,107,.48);z-index:2;pointer-events:none}
.dashboard-user-copy{min-width:0;display:grid;gap:1px}
.dashboard-user-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.dashboard-user-copy small{color:#a9aeaa;font-size:10px}
.dashboard-logout{display:grid;place-items:center;margin-left:auto;width:28px;height:28px;border:0;background:none;color:#aeb3af;cursor:pointer;border-radius:8px}
.dashboard-logout:hover{background:rgba(255,255,255,.1);color:#fff}
.dashboard-logout svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dashboard-shell{width:min(1180px,calc(100% - 48px));margin:auto;padding:76px 0 110px}
.dashboard-kicker{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}
.dashboard-kicker span:first-child{color:#bfc4c0;font-size:10px;letter-spacing:.2em;text-transform:uppercase}
.dashboard-status{display:inline-flex;align-items:center;gap:8px;color:#c4c9c5;font-size:11px}
.dashboard-status i{width:7px;height:7px;border-radius:50%;background:#f0f1ed;box-shadow:0 0 14px rgba(255,255,255,.6)}
.dashboard-title{max-width:800px;margin:0;font-size:clamp(38px,6vw,76px);line-height:1.02;letter-spacing:-.065em;font-weight:600}
.dashboard-lead{max-width:640px;margin:17px 0 0;color:#aeb3b0;font-size:14px;line-height:1.75}
.dashboard-divider{height:1px;margin:36px 0 22px;background:rgba(255,255,255,.13)}
.dashboard-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}
.metric-card,.surface-card{border:1px solid rgba(255,255,255,.16);background:linear-gradient(145deg,rgba(255,255,255,.095),rgba(12,14,15,.57));box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 18px 55px rgba(0,0,0,.15)}
.metric-card{min-height:118px;padding:20px;border-radius:16px}
.metric-card span{display:block;color:#aeb3b0;font-size:10px;letter-spacing:.14em;text-transform:uppercase}
.metric-card strong{display:block;margin-top:13px;font-size:34px;line-height:1;font-weight:600;letter-spacing:-.05em}
.metric-card em{display:block;margin-top:9px;color:#aeb3b0;font-size:11px;font-style:normal}
.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.surface-card{border-radius:18px;padding:25px}
.surface-card-wide{grid-column:1/-1}
.surface-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.12)}
.surface-kicker{margin:0 0 8px;color:#aeb3b0;font-size:10px;letter-spacing:.16em;text-transform:uppercase}
.surface-heading h2{margin:0;font-size:21px;line-height:1.15;letter-spacing:-.04em;font-weight:600}
.surface-heading p:not(.surface-kicker){max-width:540px;margin:8px 0 0;color:#9da39f;font-size:12px;line-height:1.6}
.surface-count{display:grid;place-items:center;min-width:40px;height:40px;border:1px solid rgba(255,255,255,.16);border-radius:12px;color:#f2f3f0;font-size:17px;font-weight:600}
.application-list{min-height:145px;padding-top:4px}
.application-item{display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px;padding:17px 0;border-bottom:1px solid rgba(255,255,255,.09)}
.application-item:last-child{border-bottom:0}
.application-item strong{display:block;color:#f1f2ef;font-size:13px;font-weight:600}
.application-item small{display:block;margin-top:5px;color:#949b96;font-size:11px}
.application-status{display:inline-flex;align-items:center;gap:7px;color:#d5d8d5;font-size:10px;white-space:nowrap}
.application-status::before{content:"";width:7px;height:7px;border-radius:50%;background:#d5d8d5}
.status-approved{color:#e7e9e6}.status-approved::before{background:#f0f1ed;box-shadow:0 0 10px rgba(255,255,255,.45)}
.status-rejected{color:#aeb3b0}.status-rejected::before{background:#767d79}
.empty-state,.surface-message{padding:30px 0;color:#8f9792;font-size:12px}
.new-application-panel{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:36px;align-items:start}
.new-application-panel>div>p:last-child{color:#a1a8a3;font-size:12px;line-height:1.7}
.application-form{display:grid;gap:15px;padding-left:36px;border-left:1px solid rgba(255,255,255,.12)}
.form-row{display:grid;grid-template-columns:110px 1fr;gap:13px}
.dashboard-page label{display:block;color:#c4c9c5;font-size:11px;font-weight:500}
.dashboard-page input,.dashboard-page textarea,.dashboard-page select{display:block;width:100%;margin-top:7px;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:rgba(4,5,6,.48)!important;color:#f1f2ef!important;color-scheme:dark;outline:0;padding:12px 13px;transition:border-color .2s,background .2s,box-shadow .2s}
.dashboard-page input{height:46px}
.dashboard-page textarea{min-height:108px;resize:vertical;line-height:1.55}
.dashboard-page input:focus,.dashboard-page textarea:focus,.dashboard-page select:focus{border-color:rgba(255,255,255,.48);background:rgba(4,5,6,.68)!important;box-shadow:0 0 0 3px rgba(255,255,255,.05)}
.dashboard-page input:-webkit-autofill,.dashboard-page input:-webkit-autofill:hover,.dashboard-page input:-webkit-autofill:focus{-webkit-text-fill-color:#f1f2ef!important;-webkit-box-shadow:0 0 0 1000px #111416 inset!important;box-shadow:0 0 0 1000px #111416 inset!important}
.dashboard-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:0 18px;border:1px solid rgba(255,255,255,.22);border-radius:12px;background:#f0f1ed;color:#151718;text-decoration:none;font-size:12px;font-weight:600;cursor:pointer;transition:transform .2s,background .2s,border-color .2s}
.dashboard-button:hover{transform:translateY(-1px);background:#fff;border-color:#fff}
.dashboard-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dashboard-button.secondary{background:rgba(255,255,255,.06);color:#eef0ec;border-color:rgba(255,255,255,.18)}
.dashboard-button.secondary:hover{background:rgba(255,255,255,.13);border-color:rgba(255,255,255,.35)}
.dashboard-button.danger{background:rgba(255,255,255,.04);color:#d7dad6;border-color:rgba(255,255,255,.17)}
.dashboard-button:disabled{opacity:.45;cursor:not-allowed;transform:none}
.form-message{min-height:18px;margin:0;color:#cbd0cb;font-size:11px}
.access-card{max-width:650px;margin-top:30px;padding:30px;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.1),rgba(10,12,13,.6))}
.access-card h2{margin:0;font-size:23px;letter-spacing:-.04em}.access-card p{margin:10px 0 22px;color:#a5aca7;font-size:13px;line-height:1.7}
.review-list{display:grid;gap:12px;padding-top:18px}
.review-card{padding:18px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:rgba(0,0,0,.15)}
.review-card-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.review-card h3{margin:0;font-size:14px}.review-card small{display:block;margin-top:5px;color:#949b96;font-size:10px}.review-card p{margin:15px 0 0;color:#b6bcb7;font-size:12px;line-height:1.65;white-space:pre-wrap}.review-card p strong{color:#eef0ec;font-weight:500}.review-note{border-left:2px solid #9da39f;padding-left:10px}.review-status{font-size:10px;color:#d9ddd9;white-space:nowrap}.review-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.review-muted{margin:0;padding:14px 0;color:#919993;font-size:12px}
.review-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.review-answers p{min-width:0;overflow-wrap:anywhere}
.content-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px}.content-toolbar h3{margin:0;font-size:15px;font-weight:600}.content-toolbar select{width:auto;min-width:190px;height:42px;margin:0;padding:0 12px}
.content-form{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:18px;padding:17px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:rgba(0,0,0,.14)}
.content-form label:nth-of-type(3),.content-form .content-form-actions{grid-column:1/-1}.content-form textarea{min-height:105px}.content-form-actions{display:flex;gap:9px;flex-wrap:wrap}
.table-scroll{overflow:auto;margin-top:18px;border:1px solid rgba(255,255,255,.11);border-radius:13px}.dashboard-table{width:100%;border-collapse:collapse;min-width:700px;font-size:12px}.dashboard-table th,.dashboard-table td{padding:14px;border-bottom:1px solid rgba(255,255,255,.09);text-align:left;white-space:nowrap}.dashboard-table th{color:#9fa6a1;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:500}.dashboard-table td{color:#d9ddd9}.dashboard-table tr:last-child td{border-bottom:0}.table-actions{display:flex;gap:7px}.table-action{border:1px solid rgba(255,255,255,.16);border-radius:8px;background:rgba(255,255,255,.05);color:#e9ebe8;padding:7px 9px;font-size:10px;cursor:pointer}.table-action:hover{background:rgba(255,255,255,.13)}
.admin-content[hidden],.admin-access[hidden],#admin-content[hidden],#admin-access[hidden]{display:none!important}
.dashboard-toast{position:fixed;right:24px;bottom:24px;z-index:20;max-width:360px;padding:13px 16px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:#151819;color:#f1f2ef;font-size:12px;box-shadow:0 18px 50px rgba(0,0,0,.35);transform:translateY(20px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.dashboard-toast.show{opacity:1;transform:none}
.dashboard-page .account-wrap{position:relative}
.dashboard-page .account-menu{
  position:absolute;right:0;top:calc(100% + 10px);z-index:45;width:252px;padding:9px;
  border:1px solid rgba(255,255,255,.18);border-radius:16px;
  background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(17,19,21,.92));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 22px 50px rgba(0,0,0,.28);
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
.dashboard-page .account-menu[hidden]{display:none}
.dashboard-page .account-menu a,.dashboard-page .account-menu button{
  display:flex;justify-content:space-between;align-items:center;width:100%;min-height:48px;
  border:0;border-radius:12px;background:none;color:#e8ebe7;text-decoration:none;text-align:left;
  padding:10px 12px;font:inherit;font-size:12px;cursor:pointer;transition:background .2s;
}
.dashboard-page .account-menu a:hover,.dashboard-page .account-menu button:hover{background:rgba(255,255,255,.1);color:#fff}
.dashboard-page .account-menu .menu-left{display:flex;align-items:center;gap:10px}
.dashboard-page .account-menu svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dashboard-page .dashboard-user{cursor:pointer;border:1px solid rgba(255,255,255,.2);font:inherit;color:inherit;text-align:left}
.dashboard-page .dashboard-logout{pointer-events:auto}
.dashboard-nav{position:fixed;inset:0 0 auto;z-index:40;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;width:100%;height:82px;margin:0;padding:0 clamp(24px,5vw,72px);gap:12px;border:0;background:transparent;box-shadow:none}
.dashboard-nav::after{content:"";position:absolute;left:clamp(24px,5vw,72px);right:clamp(24px,5vw,72px);bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.18) 18%,rgba(255,255,255,.1) 82%,transparent);opacity:.7;pointer-events:none}
.dashboard-brand{display:flex;align-items:center;grid-column:1;justify-self:start;min-width:190px;padding:0;color:#f4f5f2;font-size:23px;line-height:1;font-weight:700;letter-spacing:.16em}
.dashboard-nav-links{grid-column:2;justify-self:center;position:static;left:auto;transform:none;display:flex;align-items:center;gap:3px;margin:0;width:max-content}
.dashboard-nav-actions{grid-column:3;justify-self:end;margin-left:0;display:flex;align-items:center;gap:10px}
.dashboard-nav-links a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 17px;border:1px solid transparent;border-radius:12px;color:#f8f9f6;background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);font-size:13px;font-weight:500;text-decoration:none;transition:background .2s,border-color .2s,transform .2s}
.dashboard-nav-links a:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.26);transform:translateY(-1px)}
.dashboard-back{display:none!important}
.dashboard-login{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 18px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.08);color:#f4f5f2;font-size:12px;font-weight:600;text-decoration:none}
.dashboard-user{display:flex;align-items:center;width:252px;height:58px;min-width:252px;padding:6px 14px 6px 7px;gap:10px;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:linear-gradient(135deg,rgba(255,255,255,.13),rgba(255,255,255,.065));box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 28px rgba(0,0,0,.12)}
.dashboard-avatar{width:42px;height:42px;min-width:42px;border-radius:12px;font-size:15px}
.dashboard-user-copy strong{font-size:14px;letter-spacing:-.01em}.dashboard-user-copy small{font-size:10px;margin-top:3px}.dashboard-logout{width:28px;height:28px}
@media(max-width:850px){.dashboard-nav{height:72px;padding:0 18px}.dashboard-nav::after{left:18px;right:18px}.dashboard-brand{min-width:0;font-size:20px}.dashboard-user{width:206px;min-width:206px;height:54px}.dashboard-avatar{width:40px;height:40px;min-width:40px}.dashboard-nav-links{display:none}}
@media(max-width:480px){.dashboard-user{width:52px;min-width:52px;padding:5px}.dashboard-user-copy,.dashboard-logout{display:none}}
.site-header .account-area[hidden],.site-header .account-menu[hidden]{display:none!important}
@media(max-width:860px){.dashboard-nav{grid-template-columns:1fr auto;width:min(100% - 32px,680px)}.dashboard-nav-links{display:none}.dashboard-shell{width:min(100% - 32px,680px);padding-top:48px}.dashboard-grid{grid-template-columns:1fr}.surface-card-wide{grid-column:auto}.new-application-panel{grid-template-columns:1fr}.application-form{padding:20px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.12)}.dashboard-metrics{grid-template-columns:1fr 1fr}.metric-card:last-child{grid-column:1/-1}}
@media(max-width:560px){.dashboard-nav{height:68px}.dashboard-brand{font-size:19px}.dashboard-back{display:none}.dashboard-user{min-width:0}.dashboard-user-copy{display:none}.dashboard-shell{padding-bottom:70px}.dashboard-kicker{align-items:flex-start;flex-direction:column;gap:10px}.dashboard-title{font-size:43px}.dashboard-lead{font-size:13px}.dashboard-metrics{grid-template-columns:1fr}.metric-card:last-child{grid-column:auto}.surface-card{padding:20px}.form-row,.content-form{grid-template-columns:1fr}.content-form label:nth-of-type(3),.content-form .content-form-actions{grid-column:auto}.content-toolbar{align-items:flex-start;flex-direction:column}.content-toolbar select{width:100%}.review-card-top{flex-direction:column;gap:9px}}
@media(max-width:640px){.review-answers{grid-template-columns:1fr}}
@media(max-width:860px){.dashboard-nav{width:100%;height:72px;grid-template-columns:none}.dashboard-nav-links{display:none}.dashboard-brand{font-size:20px}.dashboard-user{width:206px;min-width:206px}}
@media(max-width:480px){.dashboard-user{width:52px;min-width:52px;padding:5px}.dashboard-user-copy,.dashboard-logout{display:none}}
