
*{box-sizing:border-box}
:root{
  --bg:#240832;--surface:#321046;--surface2:#43165c;--panel:rgba(255,255,255,.065);
  --line:rgba(230,210,238,.14);--text:#fff;--muted:#d2c5d8;--blue:#702f8a;
  --green:#a4832b;--gold:#a4832b;--purple:#702f8a;--danger:#ef7f7f;
  --pantone-2627:#3c1053;--pantone-8641:#a4832b;--pantone-526:#702f8a;
  --gold-light:#e2c96f;--gold-pale:#f3e7b1;--purple-light:#a95ac3;
  --metallic-gold:linear-gradient(120deg,#765a17 0%,#a4832b 28%,#e2c96f 52%,#a4832b 74%,#f3e7b1 100%);
}
html,body{min-height:100%}
body{margin:0;font-family:Poppins,sans-serif;font-size:16px;line-height:1.55;color:var(--text);background:
radial-gradient(circle at 8% 4%,rgba(112,47,138,.38),transparent 27%),
radial-gradient(circle at 92% 12%,rgba(164,131,43,.22),transparent 24%),
linear-gradient(145deg,#3c1053 0%,#240832 52%,#16041f 100%)}
body:before{content:"";position:fixed;inset:0;pointer-events:none;background-image:
linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:40px 40px}
a{color:inherit}button,input,select{font:inherit}
.app{min-height:100vh;display:grid;grid-template-columns:260px 1fr;position:relative;z-index:1}
.sidebar{min-height:100vh;padding:26px 18px;display:flex;flex-direction:column;background:rgba(28,6,40,.8);border-right:1px solid var(--line);backdrop-filter:blur(16px)}
.brand{display:flex;align-items:center;gap:12px;padding:0 8px 28px;border-bottom:1px solid var(--line)}
.brand-mark,.hero-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#702f8a,#3c1053);font-weight:800}
.brand strong{display:block}.brand span{color:var(--muted);font-size:11px}
.nav{display:grid;gap:7px;padding-top:24px}
.nav a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;text-decoration:none;color:#99a5b5;font-size:14px;font-weight:700}
.nav a span{width:20px}.nav a em{margin-left:auto;font-style:normal;font-size:9px;color:#637082}
.nav a.active,.nav a:hover{background:rgba(255,255,255,.06);color:#fff}
.sidebar-footer{margin-top:auto;padding-top:20px;border-top:1px solid var(--line)}
.mini-user{display:flex;gap:10px;align-items:center}.avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:rgba(255,255,255,.07);font-weight:800}
.mini-user strong{display:block;font-size:13px}.mini-user span{color:var(--muted);font-size:11px}
.logout{display:block;margin-top:14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;text-align:center;text-decoration:none;color:#c8d0da;font-size:12px}
.main{padding:34px 38px;min-width:0}
.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid var(--line)}
.topbar h1{margin:7px 0 5px;font-size:40px;letter-spacing:-.05em}.topbar p{margin:0;color:var(--muted)}
.overline{color:#e2c96f;font-size:10px;font-weight:800;letter-spacing:.16em}
.role-chip{padding:10px 13px;border:1px solid rgba(112,47,138,.22);border-radius:999px;background:rgba(112,47,138,.1);color:#f3e7b1;font-size:12px;font-weight:800}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
.metric-grid.compact .metric-card{min-height:120px}
.metric-card{min-height:150px;padding:22px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));box-shadow:0 18px 45px rgba(0,0,0,.16)}
.metric-card span{color:var(--muted);font-size:12px;font-weight:700}.metric-card strong{display:block;margin:18px 0 8px;font-size:34px}.metric-card small{color:#c7b8cd}
.accent-blue{border-top-color:var(--blue)}.accent-green{border-top-color:var(--green)}.accent-gold{border-top-color:var(--gold)}.accent-purple{border-top-color:var(--purple)}
.section-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}
.feature-card{min-height:220px;padding:24px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;text-decoration:none;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));transition:.25s}
.feature-card:hover{transform:translateY(-5px);border-color:rgba(112,47,138,.3)}.feature-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:rgba(112,47,138,.12);color:#e2c96f;font-size:22px}
.feature-card h2{margin:10px 0 8px;font-size:28px}.feature-card p{margin:0;color:var(--muted);line-height:1.6}.feature-arrow{font-size:24px}.muted-card{opacity:.55}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 16px;border-radius:12px;border:0;text-decoration:none;font-weight:800;cursor:pointer}
.btn.primary{color:#fff;background:linear-gradient(135deg,#702f8a,#3c1053)}.btn.ghost{color:#c4ccd7;background:rgba(255,255,255,.05);border:1px solid var(--line)}.btn.full{width:100%}
.notice{padding:14px 16px;margin-bottom:18px;border-radius:13px;border:1px solid transparent;font-size:13px}.notice.info{color:#f3e7b1;background:rgba(112,47,138,.09);border-color:rgba(112,47,138,.2)}.notice.success{color:#f3e7b1;background:rgba(164,131,43,.08);border-color:rgba(164,131,43,.2)}.notice.danger{color:#ffb5b5;background:rgba(239,127,127,.09);border-color:rgba(239,127,127,.2)}
.filter-bar{display:grid;grid-template-columns:1fr 180px 170px auto auto;gap:10px;padding:14px;margin-bottom:18px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.035)}
.search-field{display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:rgba(0,0,0,.14)}.search-field input{border:0;background:transparent;padding:13px 0}
input,select{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:12px;color:#fff;background:rgba(0,0,0,.14);outline:none}input::placeholder{color:#697586}select option{color:#172033;background:#fff}
.data-card{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025))}
.data-head,.data-row{display:grid;grid-template-columns:90px 1.2fr 130px 130px 100px 260px;gap:14px;align-items:center;padding:16px 18px}
.data-head{color:#c7b8cd;background:rgba(255,255,255,.035);font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.data-row{border-top:1px solid rgba(255,255,255,.055);font-size:13px}.data-row:hover{background:rgba(255,255,255,.02)}
.status-pill{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:10px;font-style:normal;font-weight:800}.status-pill.active{color:#f3e7b1;background:rgba(164,131,43,.09);border:1px solid rgba(164,131,43,.18)}.status-pill.inactive{color:#a7b0bc;background:rgba(255,255,255,.05);border:1px solid var(--line)}
.row-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.row-actions a,.text-btn{padding:0;border:0;background:none;color:#d9bd68;text-decoration:none;font-size:11px;font-weight:800;cursor:pointer}.row-actions form{margin:0}
.empty-state{padding:36px;text-align:center;color:var(--muted)}
.form-card,.placeholder-card{padding:24px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025))}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label span{display:block;margin-bottom:8px;color:#c8d0da;font-size:12px;font-weight:700}.check-row{grid-column:1/-1;display:flex;align-items:center;gap:10px}.check-row input{width:auto}.check-row span{margin:0!important}.form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px}
.back-link{display:inline-block;margin-bottom:12px;color:#d9bd68;text-decoration:none;font-size:12px;font-weight:800}
.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.detail-grid article{padding:18px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.04)}.detail-grid span{color:var(--muted);font-size:11px}.detail-grid strong{display:block;margin-top:8px;font-size:18px}.placeholder-card h2{margin:10px 0}.placeholder-card p{color:var(--muted)}
.login-body{overflow:hidden}.login-glow{position:fixed;border-radius:50%;filter:blur(80px)}.glow-one{width:420px;height:420px;left:-140px;top:-120px;background:rgba(112,47,138,.2)}.glow-two{width:360px;height:360px;right:-120px;bottom:-100px;background:rgba(164,131,43,.15)}
.login-shell{width:min(1080px,calc(100% - 32px));min-height:100vh;margin:auto;display:grid;grid-template-columns:1.1fr .9fr;gap:80px;align-items:center;position:relative;z-index:1}.hero-mark{width:62px;height:62px;border-radius:19px}.login-hero h1{margin:20px 0 10px;font-size:72px;letter-spacing:-.06em}.login-hero p{color:var(--muted);font-size:17px}.login-card{padding:34px;border:1px solid var(--line);border-radius:26px;background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));box-shadow:0 24px 70px rgba(0,0,0,.28);backdrop-filter:blur(18px)}.login-card h2{margin:10px 0 26px}.form-stack{display:grid;gap:18px}.form-stack label span{display:block;margin-bottom:8px;color:#c8d0da;font-size:12px;font-weight:700}.login-note{text-align:center;color:#727e8e;font-size:11px}
.error-page{display:grid;place-items:center;padding:24px}.error-card{max-width:560px;padding:40px;text-align:center;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.05)}.error-mark{width:58px;height:58px;margin:auto;display:grid;place-items:center;border-radius:50%;background:rgba(239,127,127,.09);color:#ff9b9b;font-size:28px;font-weight:800}
@media(max-width:1050px){.app{grid-template-columns:1fr}.sidebar{display:none}.main{padding:24px}.metric-grid{grid-template-columns:1fr 1fr}.section-grid{grid-template-columns:1fr}.filter-bar{grid-template-columns:1fr 1fr}.data-card{overflow:auto}.data-head,.data-row{min-width:900px}.login-shell{grid-template-columns:1fr;padding:40px 0}.login-hero h1{font-size:54px}}
@media(max-width:620px){.main{padding:18px}.topbar{flex-direction:column}.metric-grid{grid-template-columns:1fr}.filter-bar{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-actions,.check-row{grid-column:1}.detail-grid{grid-template-columns:1fr 1fr}.login-card{padding:24px}}

textarea{width:100%;min-height:110px;resize:vertical;padding:13px 14px;border:1px solid var(--line);border-radius:12px;color:#fff;background:rgba(0,0,0,.14);outline:none;font:inherit}
textarea:focus{border-color:#702f8a;box-shadow:0 0 0 4px rgba(112,47,138,.11)}
.hidden{display:none!important}
.student-filter{grid-template-columns:1fr 190px 160px auto auto}
.student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.student-card{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));box-shadow:0 18px 45px rgba(0,0,0,.14)}
.student-photo-link{display:block;aspect-ratio:4/3;overflow:hidden;background:rgba(255,255,255,.03)}
.student-photo{width:100%;height:100%;object-fit:cover;object-position:center 22%;display:block;transition:.25s}
.student-card:hover .student-photo{transform:scale(1.025)}
.student-photo.placeholder{display:grid;place-items:center;align-content:center;gap:8px;color:#d2c5d8}
.student-photo.placeholder span{font-size:44px;font-weight:800;color:#d9bd68}
.student-photo.placeholder small{font-size:11px}
.student-card-body{padding:18px}
.student-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.student-card h2{margin:7px 0 0;font-size:21px;letter-spacing:-.035em}
.student-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}
.student-meta span{padding:11px;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:rgba(255,255,255,.025);font-size:12px}
.student-meta small{display:block;margin-bottom:5px;color:#d2c5d8}
.student-card-actions{display:flex;gap:14px;padding-top:14px;border-top:1px solid var(--line)}
.student-card-actions a{color:#d9bd68;text-decoration:none;font-size:11px;font-weight:800}
.student-empty{grid-column:1/-1}
.student-form-layout{display:grid;grid-template-columns:300px 1fr;gap:20px;align-items:start}
.photo-panel{position:sticky;top:24px;padding:20px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025))}
.photo-preview-wrap{margin:16px 0}
.photo-preview{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center 20%;display:block;border-radius:18px;border:1px solid var(--line);background:rgba(0,0,0,.16)}
.photo-preview.placeholder{display:grid;place-items:center;align-content:center;gap:8px;color:#d2c5d8}
.photo-preview.placeholder span{font-size:28px;font-weight:800;color:#d9bd68}
.photo-preview.placeholder small{text-align:center;font-size:10px}
.upload-button{display:flex;justify-content:center;padding:12px;border-radius:12px;background:rgba(112,47,138,.12);border:1px solid rgba(112,47,138,.25);color:#f3e7b1;cursor:pointer}
.upload-button input{display:none}
.photo-help{color:#d2c5d8;font-size:11px;line-height:1.6}
.remove-photo{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:8px;margin-top:12px;color:#ffb2b2;font-size:11px}
.remove-photo input{width:auto}
.student-form-content{display:grid;gap:18px}
.form-section-title h2{margin:7px 0 20px;font-size:24px}
.full-span{grid-column:1/-1}
.sticky-save{position:sticky;bottom:16px;display:flex;justify-content:flex-end;gap:10px;padding:14px;border:1px solid var(--line);border-radius:16px;background:rgba(28,6,40,.88);backdrop-filter:blur(16px);z-index:3}
.student-profile{display:grid;grid-template-columns:320px 1fr;gap:20px;align-items:start}
.profile-photo-panel{position:sticky;top:24px;overflow:hidden;border:1px solid var(--line);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025))}
.profile-photo-large{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center 20%;display:block}
.profile-photo-large.placeholder{display:grid;place-items:center;align-content:center;gap:10px;background:rgba(0,0,0,.14);color:#d2c5d8}
.profile-photo-large.placeholder span{font-size:64px;font-weight:800;color:#d9bd68}
.profile-summary{padding:20px}.profile-summary h2{margin:8px 0 12px;font-size:26px}
.profile-content{display:grid;gap:18px}
.detail-section{padding:22px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025))}
.section-heading h2{margin:7px 0 20px;font-size:24px}
.profile-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.profile-info-grid article{padding:14px;border:1px solid rgba(255,255,255,.055);border-radius:14px;background:rgba(255,255,255,.025)}
.profile-info-grid span{display:block;color:#d2c5d8;font-size:10px}
.profile-info-grid strong{display:block;margin-top:7px;font-size:13px}
.parent-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.parent-card{padding:18px;border:1px solid rgba(255,255,255,.06);border-radius:16px;background:rgba(255,255,255,.025)}
.parent-card-head{display:flex;justify-content:space-between;gap:12px}.parent-card h3{margin:7px 0 0}.parent-card-head i{align-self:start;padding:6px 8px;border-radius:999px;background:rgba(164,131,43,.09);color:#f3e7b1;font-size:9px;font-style:normal;font-weight:800}
.parent-card dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0 0}.parent-card dt{color:#d2c5d8;font-size:9px}.parent-card dd{margin:5px 0 0;font-size:12px}
.text-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.text-detail-grid article{padding:16px;border:1px solid rgba(255,255,255,.055);border-radius:14px;background:rgba(255,255,255,.025)}.text-detail-grid span{color:#d2c5d8;font-size:10px}.text-detail-grid p{margin:8px 0 0;color:#c8d0da;line-height:1.65;font-size:13px}
@media(max-width:1180px){.student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-form-layout,.student-profile{grid-template-columns:260px 1fr}.profile-info-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.student-grid{grid-template-columns:1fr}.student-form-layout,.student-profile{grid-template-columns:1fr}.photo-panel,.profile-photo-panel{position:static}.photo-panel{max-width:420px}.profile-photo-panel{max-width:420px}.parent-grid,.text-detail-grid{grid-template-columns:1fr}}

.compact-student-list{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025));
}
.compact-student-head,
.compact-student-row{
  display:grid;
  grid-template-columns:minmax(280px,1.5fr) minmax(190px,.9fr) 90px 90px 150px;
  gap:18px;
  align-items:center;
  padding:14px 18px;
}
.compact-student-head{
  color:#c7b8cd;
  background:rgba(255,255,255,.035);
  font-size:10px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.compact-student-row{
  min-height:78px;
  border-top:1px solid rgba(255,255,255,.055);
  transition:.18s;
}
.compact-student-row:hover{background:rgba(255,255,255,.025)}
.compact-student-person{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.compact-photo-link{flex:0 0 auto}
.compact-photo{
  width:48px;
  height:56px;
  display:block;
  object-fit:cover;
  object-position:center 20%;
  border:1px solid rgba(255,255,255,.1);
  border-radius:13px;
  background:rgba(255,255,255,.04);
}
.compact-photo.placeholder{
  display:grid;
  place-items:center;
  color:#d8dff7;
  font-size:15px;
  font-weight:800;
}
.compact-student-name{
  display:block;
  overflow:hidden;
  color:#f4f7fb;
  text-decoration:none;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:800;
}
.compact-student-person div>span{
  display:block;
  margin-top:5px;
  color:#e2c96f;
  font-size:10px;
  font-weight:800;
}
.compact-id-info{
  display:grid;
  gap:7px;
  color:#9da9b9;
  font-size:11px;
}
.compact-id-info strong{color:#d9dfe8}
.compact-class{
  color:#9ca9bb;
  font-size:12px;
  font-weight:800;
}
.compact-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
}
.compact-actions form{margin:0}
.icon-action{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid var(--line);
  border-radius:11px;
  color:#9eacc2;
  background:rgba(255,255,255,.04);
  text-decoration:none;
  box-shadow:none;
  font-size:15px;
  cursor:pointer;
  transition:.18s;
}
.icon-action:hover{
  transform:translateY(-2px);
  color:#fff;
  background:rgba(255,255,255,.08);
}
.icon-action.edit:hover{
  color:#eadff0;
  border-color:rgba(112,47,138,.3);
}
.icon-action.delete:hover{
  color:#ffb2b2;
  border-color:rgba(239,127,127,.3);
  background:rgba(239,127,127,.08);
}
@media(max-width:1100px){
  .compact-student-list{overflow:auto}
  .compact-student-head,.compact-student-row{min-width:900px}
}

.teacher-filter{grid-template-columns:1fr 190px 160px auto auto}
.compact-teacher-list{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025));
}
.compact-teacher-head,
.compact-teacher-row{
  display:grid;
  grid-template-columns:minmax(250px,1.25fr) minmax(180px,.9fr) minmax(190px,.9fr) minmax(140px,.75fr) 90px 150px;
  gap:18px;
  align-items:center;
  padding:14px 18px;
}
.compact-teacher-head{
  color:#c7b8cd;
  background:rgba(255,255,255,.035);
  font-size:10px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.compact-teacher-row{
  min-height:78px;
  border-top:1px solid rgba(255,255,255,.055);
  transition:.18s;
}
.compact-teacher-row:hover{background:rgba(255,255,255,.025)}
.compact-teacher-person{display:flex;align-items:center;gap:14px;min-width:0}
.compact-teacher-photo{
  width:48px;height:56px;display:block;object-fit:cover;object-position:center 20%;
  border:1px solid rgba(255,255,255,.1);border-radius:13px;background:rgba(255,255,255,.04)
}
.compact-teacher-photo.placeholder{display:grid;place-items:center;color:#d8dff7;font-size:15px;font-weight:800}
.compact-teacher-name{display:block;overflow:hidden;color:#f4f7fb;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:800}
.compact-teacher-person div>span{display:block;margin-top:5px;color:#d2c5d8;font-size:10px;font-weight:700}
.teacher-role-info,.teacher-contact-info{display:grid;gap:6px;min-width:0}
.teacher-role-info strong{font-size:12px}.teacher-role-info span,.teacher-contact-info span{overflow:hidden;color:#96a2b2;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
.teacher-class-info{overflow:hidden;color:#9ca9bb;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700}
.class-selection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.class-check{display:flex!important;align-items:center;gap:8px;padding:11px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.025);cursor:pointer}
.class-check input{width:auto}.class-check span{margin:0!important;font-size:11px!important}
.assignment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.assignment-card{padding:16px;border:1px solid rgba(255,255,255,.06);border-radius:14px;background:rgba(255,255,255,.025)}
.assignment-card strong{display:block}.assignment-card span{display:block;margin-top:8px;color:#d8c9df;font-size:11px}.assignment-card small{display:block;margin-top:5px;color:#d2c5d8}
@media(max-width:1200px){.compact-teacher-list{overflow:auto}.compact-teacher-head,.compact-teacher-row{min-width:1050px}.class-selection-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.class-selection-grid{grid-template-columns:repeat(2,1fr)}.assignment-grid{grid-template-columns:1fr}}


/* Öğretmen sınıf seçimi - düzeltilmiş açılır panel */
.class-dropdown{
  position:relative;
  grid-column:1 / -1;
}

.class-dropdown-trigger{
  -webkit-appearance:none;
  appearance:none;
  width:100%;
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  color:var(--text);
  background:rgba(0,0,0,.16);
  box-shadow:none;
  text-align:left;
  cursor:pointer;
}

.class-dropdown-trigger:hover{
  border-color:rgba(112,47,138,.28);
  background:rgba(255,255,255,.035);
}

.class-dropdown-trigger > span{
  display:block;
  min-width:0;
}

.class-dropdown-trigger small{
  display:block;
  margin-bottom:5px;
  color:#d2c5d8;
  font-size:10px;
  font-weight:700;
}

.class-dropdown-trigger strong{
  display:block;
  overflow:hidden;
  color:#f4f7fb;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:800;
}

.class-dropdown-trigger i{
  flex:0 0 auto;
  color:#d8c9df;
  font-size:18px;
  font-style:normal;
  transition:transform .18s ease;
}

.class-dropdown.open .class-dropdown-trigger{
  border-color:rgba(112,47,138,.45);
  box-shadow:0 0 0 4px rgba(112,47,138,.08);
}

.class-dropdown.open .class-dropdown-trigger i{
  transform:rotate(180deg);
}

.class-dropdown-panel{
  position:absolute !important;
  top:calc(100% + 10px);
  left:0;
  right:0;
  z-index:50;
  display:none !important;
  max-height:430px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:#321046;
  box-shadow:0 26px 80px rgba(0,0,0,.45);
}

.class-dropdown.open .class-dropdown-panel{
  display:block !important;
}

.class-dropdown-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 15px;
  border-bottom:1px solid var(--line);
  color:#9ca8b8;
  font-size:11px;
  font-weight:700;
}

.class-dropdown-toolbar > div{
  display:flex;
  gap:12px;
}

.class-dropdown-toolbar .text-btn{
  color:#d9bd68;
}

.class-dropdown-search{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
}

.class-dropdown-search input{
  width:100%;
  padding:11px 12px;
}

.class-dropdown-panel .class-selection-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  max-height:300px;
  overflow:auto;
  padding:14px;
}

.class-dropdown-panel .class-check{
  display:flex !important;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:10px 11px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  background:rgba(255,255,255,.025);
  cursor:pointer;
}

.class-dropdown-panel .class-check:hover{
  border-color:rgba(112,47,138,.24);
  background:rgba(112,47,138,.055);
}

.class-dropdown-panel .class-check input{
  flex:0 0 auto;
  width:16px;
  height:16px;
  margin:0;
}

.class-dropdown-panel .class-check span{
  display:block;
  margin:0 !important;
  color:#d6dce6;
  font-size:11px !important;
  line-height:1.3;
}

@media(max-width:1100px){
  .class-dropdown-panel .class-selection-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:820px){
  .class-dropdown-panel{
    position:static !important;
    margin-top:10px;
  }

  .class-dropdown-panel .class-selection-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* v1.3.3 - Native details tabanlı sınıf seçici */
.class-picker{
  grid-column:1 / -1;
  position:relative;
}

.class-picker > summary{
  list-style:none;
}

.class-picker > summary::-webkit-details-marker{
  display:none;
}

.class-picker-summary{
  min-height:66px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  color:var(--text);
  background:rgba(0,0,0,.16);
  cursor:pointer;
  user-select:none;
}

.class-picker-summary:hover{
  border-color:rgba(112,47,138,.28);
  background:rgba(255,255,255,.035);
}

.class-picker[open] .class-picker-summary{
  border-color:rgba(112,47,138,.45);
  box-shadow:0 0 0 4px rgba(112,47,138,.08);
}

.class-picker-summary > span{
  min-width:0;
}

.class-picker-summary small{
  display:block;
  margin-bottom:5px;
  color:#d2c5d8;
  font-size:10px;
  font-weight:700;
}

.class-picker-summary strong{
  display:block;
  overflow:hidden;
  color:#f4f7fb;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:800;
}

.class-picker-summary i{
  flex:0 0 auto;
  color:#d8c9df;
  font-size:18px;
  font-style:normal;
  transition:transform .18s ease;
}

.class-picker[open] .class-picker-summary i{
  transform:rotate(180deg);
}

.class-picker-panel{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  right:0;
  z-index:100;
  max-height:430px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:#321046;
  box-shadow:0 26px 80px rgba(0,0,0,.45);
}

.class-picker-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 15px;
  border-bottom:1px solid var(--line);
  color:#9ca8b8;
  font-size:11px;
  font-weight:700;
}

.class-picker-toolbar > div{
  display:flex;
  gap:12px;
}

.class-picker-search{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
}

.class-picker-search input{
  width:100%;
  padding:11px 12px;
}

.class-picker-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  max-height:300px;
  overflow:auto;
  padding:14px;
}

.class-picker-item{
  display:flex !important;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:10px 11px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  background:rgba(255,255,255,.025);
  cursor:pointer;
}

.class-picker-item:hover{
  border-color:rgba(112,47,138,.24);
  background:rgba(112,47,138,.055);
}

.class-picker-item input{
  flex:0 0 auto;
  width:16px;
  height:16px;
  margin:0;
}

.class-picker-item span{
  margin:0 !important;
  color:#d6dce6;
  font-size:11px !important;
  line-height:1.3;
}

@media(max-width:1100px){
  .class-picker-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:820px){
  .class-picker-panel{
    position:static;
    margin-top:10px;
  }

  .class-picker-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* v1.3.4 - Atama türü select alanıyla aynı görünümde çoklu sınıf seçimi */
.multi-select{
  position:relative;
  width:100%;
}

.multi-select-trigger{
  width:100%;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  color:#fff;
  background:rgba(0,0,0,.14);
  box-shadow:none;
  text-align:left;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
}

.multi-select-trigger:hover{
  border-color:rgba(112,47,138,.28);
}

.multi-select.open .multi-select-trigger{
  border-color:#702f8a;
  box-shadow:0 0 0 4px rgba(112,47,138,.11);
}

.multi-select-trigger > span:first-child{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.multi-select-arrow{
  flex:0 0 auto;
  color:#9aa6b7;
  transition:transform .18s ease;
}

.multi-select.open .multi-select-arrow{
  transform:rotate(180deg);
}

.multi-select-menu{
  position:absolute;
  top:calc(100% + 7px);
  left:0;
  right:0;
  z-index:100;
  display:none;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:12px;
  background:#321046;
  box-shadow:0 22px 60px rgba(0,0,0,.42);
}

.multi-select.open .multi-select-menu{
  display:block;
}

.multi-select-search{
  padding:10px;
  border-bottom:1px solid var(--line);
}

.multi-select-search input{
  padding:10px 11px;
}

.multi-select-options{
  max-height:270px;
  overflow:auto;
  padding:6px;
}

.multi-select-option{
  display:flex !important;
  align-items:center;
  gap:10px;
  min-height:40px;
  padding:9px 10px;
  border-radius:8px;
  cursor:pointer;
}

.multi-select-option:hover{
  background:rgba(255,255,255,.06);
}

.multi-select-option input{
  width:15px;
  height:15px;
  margin:0;
}

.multi-select-option span{
  margin:0 !important;
  color:#e1e6ed;
  font-size:13px !important;
  font-weight:500;
}

.multi-select-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px;
  border-top:1px solid var(--line);
  background:rgba(0,0,0,.12);
}

.btn.small{
  padding:9px 14px;
  font-size:12px;
}

@media(max-width:820px){
  .multi-select-menu{
    position:static;
    margin-top:7px;
  }
}

.student-teacher-list{
  display:grid;
  gap:10px;
}

.student-teacher-card{
  display:grid;
  grid-template-columns:52px minmax(180px,1fr) minmax(200px,.9fr);
  gap:14px;
  align-items:center;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:15px;
  background:rgba(255,255,255,.025);
}

.student-teacher-photo-link{
  display:block;
}

.student-teacher-photo{
  width:46px;
  height:52px;
  display:block;
  object-fit:cover;
  object-position:center 20%;
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;
  background:rgba(255,255,255,.04);
}

.student-teacher-photo.placeholder{
  display:grid;
  place-items:center;
  color:#d8dff7;
  font-size:13px;
  font-weight:800;
}

.student-teacher-main{
  min-width:0;
}

.student-teacher-name{
  display:block;
  overflow:hidden;
  color:#f4f7fb;
  text-decoration:none;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
  font-weight:800;
}

.student-teacher-main > span{
  display:block;
  margin-top:5px;
  color:#d8c9df;
  font-size:10px;
  font-weight:700;
}

.student-teacher-main > small{
  display:block;
  margin-top:4px;
  color:#d2c5d8;
  font-size:10px;
}

.student-teacher-contact{
  display:grid;
  gap:6px;
  justify-items:end;
  color:#9ca8b8;
  font-size:10px;
}

.teacher-empty-state{
  padding:22px;
}

@media(max-width:760px){
  .student-teacher-card{
    grid-template-columns:52px 1fr;
  }

  .student-teacher-contact{
    grid-column:2;
    justify-items:start;
  }
}


/* v1.3.6 - Öğrenci profilinde kompakt öğretmen listesi */
.student-teacher-table{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  background:rgba(255,255,255,.02);
}

.student-teacher-head,
.student-teacher-row{
  display:grid;
  grid-template-columns:minmax(180px,1.1fr) minmax(150px,.9fr) minmax(150px,.9fr) minmax(120px,.7fr) minmax(190px,1fr);
  gap:14px;
  align-items:center;
  padding:13px 15px;
}

.student-teacher-head{
  color:#d2c5d8;
  background:rgba(255,255,255,.035);
  font-size:9px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.student-teacher-row{
  border-top:1px solid rgba(255,255,255,.055);
  transition:.18s;
}

.student-teacher-row:hover{
  background:rgba(255,255,255,.025);
}

.student-teacher-name{
  overflow:hidden;
  color:#f4f7fb;
  text-decoration:none;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
  font-weight:800;
}

.teacher-duty{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  padding:5px 8px;
  border:1px solid rgba(112,47,138,.18);
  border-radius:999px;
  color:#eadff0;
  background:rgba(112,47,138,.08);
  font-size:9px;
  font-weight:800;
}

.teacher-subject,
.teacher-phone,
.teacher-email{
  overflow:hidden;
  color:#a1acbb;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
}

.teacher-email{
  color:#d9bd68;
}

.teacher-empty-state{
  padding:24px;
}

@media(max-width:980px){
  .student-teacher-table{
    overflow:auto;
  }

  .student-teacher-head,
  .student-teacher-row{
    min-width:880px;
  }
}

/* v1.3.7 - Öğrenci profili sadeleştirme */
.teacher-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.teacher-info-card{
  padding:18px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  background:rgba(255,255,255,.025);
}

.teacher-info-head h3{
  margin:7px 0 0;
  font-size:18px;
  line-height:1.3;
}

.teacher-info-head h3 a{
  color:#f4f7fb;
  text-decoration:none;
}

.teacher-info-head h3 a:hover{
  color:#eadff0;
}

.teacher-info-card dl{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:18px 0 0;
}

.teacher-info-card dl > div:first-child{
  grid-column:1 / -1;
}

.teacher-info-card dt{
  color:#d2c5d8;
  font-size:9px;
  font-weight:700;
}

.teacher-info-card dd{
  margin:5px 0 0;
  color:#d5dbe4;
  font-size:12px;
  line-height:1.5;
  overflow-wrap:anywhere;
}

.student-profile .profile-summary h2,
.student-profile .topbar h1,
.parent-card h3,
.teacher-info-card h3{
  text-transform:none;
}

.detail-section{
  overflow:hidden;
}

.student-teacher-table,
.student-teacher-head,
.student-teacher-row{
  display:none !important;
}

.back-link{
  text-transform:none;
}

@media(max-width:900px){
  .teacher-card-grid{
    grid-template-columns:1fr;
  }
}

/* v1.4 - Profesyonel dashboard ve mobil uyumluluk */
.dashboard-topbar h1{
  font-size:54px;
  line-height:1;
  letter-spacing:-.055em;
}

.dashboard-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:20px;
}

.dashboard-stat-card{
  min-height:150px;
  display:flex;
  align-items:center;
  gap:18px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:20px;
  color:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
  text-decoration:none;
  box-shadow:0 18px 45px rgba(0,0,0,.15);
  transition:transform .2s ease,border-color .2s ease;
}

a.dashboard-stat-card:hover{
  transform:translateY(-4px);
  border-color:rgba(112,47,138,.3);
}

.dashboard-stat-icon{
  width:52px;
  height:52px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border:1px solid rgba(112,47,138,.2);
  border-radius:15px;
  color:#eadff0;
  background:rgba(112,47,138,.09);
  font-size:21px;
}

.dashboard-stat-card span{
  display:block;
  color:#9ba6b5;
  font-size:12px;
  font-weight:700;
}

.dashboard-stat-card strong{
  display:block;
  margin:7px 0 4px;
  font-size:34px;
  line-height:1;
  letter-spacing:-.04em;
}

.dashboard-stat-card small{
  color:#748091;
  font-size:10px;
}

.dashboard-content-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.dashboard-panel{
  min-height:300px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
}

.dashboard-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-bottom:18px;
  margin-bottom:18px;
  border-bottom:1px solid var(--line);
}

.dashboard-panel-head h2{
  margin:7px 0 0;
  font-size:23px;
  letter-spacing:-.03em;
}

.dashboard-panel-head > a{
  color:#d9bd68;
  text-decoration:none;
  font-size:11px;
  font-weight:800;
}

.quick-access-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.quick-access-card{
  min-height:150px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:16px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  color:#eef2f8;
  background:rgba(255,255,255,.025);
  text-decoration:none;
  transition:.18s;
}

.quick-access-card:hover{
  border-color:rgba(112,47,138,.26);
  background:rgba(112,47,138,.05);
}

.quick-access-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#eadff0;
  background:rgba(112,47,138,.1);
}

.quick-access-card strong{
  font-size:14px;
}

.recent-student-list{
  display:grid;
}

.recent-student-item{
  display:flex;
  align-items:center;
  gap:12px;
  padding:11px 0;
  border-bottom:1px solid rgba(255,255,255,.055);
  color:inherit;
  text-decoration:none;
}

.recent-student-item:last-child{
  border-bottom:0;
}

.recent-student-item img,
.recent-student-avatar{
  width:42px;
  height:46px;
  flex:0 0 auto;
  object-fit:cover;
  object-position:center 20%;
  border:1px solid rgba(255,255,255,.08);
  border-radius:11px;
  background:rgba(255,255,255,.04);
}

.recent-student-avatar{
  display:grid;
  place-items:center;
  color:#d8dff7;
  font-size:12px;
  font-weight:800;
}

.recent-student-item strong{
  display:block;
  font-size:12px;
}

.recent-student-item span{
  display:block;
  margin-top:4px;
  color:#d2c5d8;
  font-size:9px;
}

.mobile-topbar{
  display:none;
}

.mobile-overlay{
  display:none;
}

.sidebar-close{
  display:none;
}

@media(max-width:1180px){
  .dashboard-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .dashboard-content-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:1050px){
  .mobile-topbar{
    position:sticky;
    top:0;
    z-index:90;
    height:62px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:0 18px;
    border-bottom:1px solid var(--line);
    background:rgba(28,6,40,.9);
    backdrop-filter:blur(16px);
  }

  .mobile-menu-button{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid var(--line);
    border-radius:11px;
    color:#fff;
    background:rgba(255,255,255,.04);
    box-shadow:none;
    font-size:18px;
  }

  .mobile-brand{
    font-size:14px;
    font-weight:800;
  }

  .sidebar{
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    z-index:110;
    display:flex !important;
    width:280px;
    transform:translateX(-105%);
    transition:transform .25s ease;
    box-shadow:20px 0 60px rgba(0,0,0,.35);
  }

  .mobile-menu-open .sidebar{
    transform:translateX(0);
  }

  .mobile-overlay{
    position:fixed;
    inset:0;
    z-index:100;
    display:block;
    visibility:hidden;
    opacity:0;
    background:rgba(0,0,0,.5);
    transition:.2s;
  }

  .mobile-menu-open .mobile-overlay{
    visibility:visible;
    opacity:1;
  }

  .sidebar-close{
    position:absolute;
    top:28px;
    right:18px;
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    padding:0;
    border:1px solid var(--line);
    border-radius:10px;
    color:#fff;
    background:rgba(255,255,255,.04);
    box-shadow:none;
    font-size:21px;
  }

  .main{
    padding-top:24px;
  }
}

@media(max-width:700px){
  .dashboard-topbar h1{
    font-size:40px;
  }

  .dashboard-stat-grid{
    grid-template-columns:1fr;
  }

  .dashboard-stat-card{
    min-height:120px;
  }

  .quick-access-grid{
    grid-template-columns:1fr;
  }

  .quick-access-card{
    min-height:100px;
  }

  .topbar{
    padding-bottom:20px;
    margin-bottom:20px;
  }

  .topbar h1{
    font-size:34px;
  }
}

/* v1.5 - Kurumsal modül */
.corporate-hero-card{
  display:flex;
  align-items:center;
  gap:20px;
  padding:22px;
  margin-bottom:18px;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));
}

.corporate-logo-area{
  width:88px;
  height:88px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.04);
}

.corporate-logo-area img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:10px;
}

.corporate-logo-placeholder{
  color:#d8c9df;
  font-size:13px;
  font-weight:800;
}

.corporate-title-area h2{
  margin:8px 0 9px;
  font-size:28px;
  letter-spacing:-.04em;
}

.corporate-code{
  color:#8b97a7;
  font-size:11px;
}

.corporate-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-bottom:18px;
}

.corporate-card{
  padding:22px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
}

.corporate-card-head{
  padding-bottom:16px;
  margin-bottom:16px;
  border-bottom:1px solid var(--line);
}

.corporate-card-head h2{
  margin:7px 0 0;
  font-size:21px;
  letter-spacing:-.03em;
}

.corporate-info-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin:0;
}

.corporate-info-list .full{
  grid-column:1 / -1;
}

.corporate-info-list dt{
  color:#d2c5d8;
  font-size:9px;
  font-weight:700;
}

.corporate-info-list dd{
  margin:6px 0 0;
  color:#d6dce5;
  font-size:12px;
  line-height:1.5;
  overflow-wrap:anywhere;
}

.management-card{
  margin-bottom:18px;
}

.management-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.management-person{
  padding:16px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:15px;
  background:rgba(255,255,255,.025);
}

.management-person > span{
  display:block;
  color:#d2c5d8;
  font-size:9px;
  font-weight:800;
}

.management-person > strong{
  display:block;
  margin:8px 0 10px;
  color:#f3f6fa;
  font-size:13px;
}

.management-person > small{
  display:block;
  margin-top:5px;
  color:#9ba6b5;
  font-size:10px;
  overflow-wrap:anywhere;
}

.corporate-edit-layout{
  display:grid;
  gap:18px;
}

@media(max-width:900px){
  .corporate-grid{
    grid-template-columns:1fr;
  }

  .management-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:620px){
  .corporate-hero-card{
    align-items:flex-start;
  }

  .corporate-logo-area{
    width:70px;
    height:70px;
  }

  .corporate-info-list{
    grid-template-columns:1fr;
  }

  .corporate-info-list .full{
    grid-column:1;
  }

  .management-grid{
    grid-template-columns:1fr;
  }
}

/* v1.6 - Sınıf istatistikleri */
.class-filter-bar{grid-template-columns:1fr 170px 150px 220px auto auto}
.class-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.class-stat-card{padding:20px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));box-shadow:0 16px 40px rgba(0,0,0,.14)}
.class-stat-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.class-stat-card-head h2{margin:7px 0 0;font-size:25px;letter-spacing:-.04em}
.class-stat-numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:16px 0}
.class-stat-numbers>div{padding:11px 8px;text-align:center;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:rgba(255,255,255,.025)}
.class-stat-numbers span{display:block;color:#d2c5d8;font-size:8px;font-weight:700;text-transform:uppercase}
.class-stat-numbers strong{display:block;margin-top:6px;font-size:20px}
.class-teacher-line{min-height:54px;padding:11px 12px;border:1px solid rgba(255,255,255,.055);border-radius:13px;background:rgba(255,255,255,.02)}
.class-teacher-line span{display:block;color:#d2c5d8;font-size:9px}
.class-teacher-line strong{display:block;margin-top:6px;color:#dce2ea;font-size:11px;line-height:1.45}
.class-stat-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:15px;margin-top:15px;border-top:1px solid var(--line)}
.class-stat-actions a,.class-stat-actions .text-btn{color:#d9bd68;text-decoration:none;font-size:10px;font-weight:800}
.class-stat-actions form{margin:0}
.class-grid-empty{grid-column:1/-1}

.class-detail-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}
.class-detail-summary article{padding:18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025))}
.class-detail-summary span{color:#d2c5d8;font-size:10px;font-weight:700}
.class-detail-summary strong{display:block;margin-top:8px;font-size:27px}
.class-detail-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}
.class-detail-panel{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025))}
.class-detail-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px;border-bottom:1px solid var(--line)}
.class-detail-panel-head h2{margin:7px 0 0;font-size:21px}
.class-detail-panel-head>strong{min-width:34px;height:34px;display:grid;place-items:center;border-radius:11px;color:#f3e7b1;background:rgba(112,47,138,.1);font-size:12px}
.class-student-list,.class-teacher-list{max-height:540px;overflow:auto;padding:6px 16px 16px}
.class-student-item,.class-teacher-item{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.055);color:inherit;text-decoration:none}
.class-student-item img,.class-student-avatar{width:40px;height:44px;flex:0 0 auto;object-fit:cover;object-position:center 20%;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:rgba(255,255,255,.04)}
.class-student-avatar{display:grid;place-items:center;color:#d8dff7;font-size:11px;font-weight:800}
.class-student-item strong,.class-teacher-item strong{display:block;font-size:11px}
.class-student-item span,.class-teacher-item span{display:block;margin-top:4px;color:#d2c5d8;font-size:9px}
.class-teacher-item{justify-content:space-between}
.class-teacher-item small{color:#d8c9df;font-size:9px;text-align:right}
.class-main-teacher{padding:16px 18px;border-top:1px solid var(--line);background:rgba(112,47,138,.045)}
.class-main-teacher span{color:#d2c5d8;font-size:9px}
.class-main-teacher strong{display:block;margin-top:6px;font-size:12px}

@media(max-width:1200px){
  .class-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .class-filter-bar{grid-template-columns:1fr 1fr 1fr}
}
@media(max-width:900px){.class-detail-grid{grid-template-columns:1fr}}
@media(max-width:700px){
  .class-card-grid{grid-template-columns:1fr}
  .class-detail-summary{grid-template-columns:1fr 1fr}
  .class-stat-numbers{grid-template-columns:repeat(2,1fr)}
  .class-filter-bar{grid-template-columns:1fr}
}

.header-actions{display:flex;align-items:center;gap:10px}
.btn.danger-outline{color:#ffadad;border:1px solid rgba(239,127,127,.3);background:rgba(239,127,127,.07);box-shadow:none}
.btn.danger-solid{color:#fff;background:linear-gradient(135deg,#d95656,#b63d3d)}
.danger-overline{color:#ef8d8d}
.danger-zone-card{max-width:760px;display:grid;grid-template-columns:64px 1fr;gap:20px;padding:26px;border:1px solid rgba(239,127,127,.25);border-radius:22px;background:linear-gradient(180deg,rgba(239,127,127,.08),rgba(255,255,255,.025))}
.danger-zone-icon{width:58px;height:58px;display:grid;place-items:center;border:1px solid rgba(239,127,127,.3);border-radius:17px;color:#ffadad;background:rgba(239,127,127,.1);font-size:27px;font-weight:800}
.danger-zone-content h2{margin:0 0 10px;font-size:25px}
.danger-zone-content>p{margin:0;color:#a8b1bf;font-size:13px;line-height:1.7}
.danger-count{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;margin:20px 0;border:1px solid rgba(239,127,127,.18);border-radius:14px;background:rgba(239,127,127,.055)}
.danger-count strong{color:#ffb1b1;font-size:25px}
.danger-confirm-form{display:grid;gap:17px}
.danger-confirm-form code{display:inline-block;margin-bottom:10px;padding:7px 9px;border:1px solid rgba(239,127,127,.18);border-radius:8px;color:#ffb1b1;background:rgba(0,0,0,.18);font-size:11px}
.danger-check{display:flex!important;align-items:center;gap:10px}.danger-check input{width:auto;margin:0}.danger-check span{margin:0!important}
.danger-actions{display:flex;justify-content:flex-end;gap:10px}
@media(max-width:700px){.header-actions{width:100%;flex-direction:column-reverse}.header-actions .btn{width:100%}.danger-zone-card{grid-template-columns:1fr;padding:20px}.danger-actions{flex-direction:column-reverse}.danger-actions .btn{width:100%}}

/* v1.7 - Excel ve PDF işlemleri */
.student-header-actions{
  flex-wrap:wrap;
  justify-content:flex-end;
}

.import-card{
  max-width:760px;
  display:grid;
  grid-template-columns:70px 1fr;
  gap:20px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
}

.import-icon{
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  border:1px solid rgba(164,131,43,.22);
  border-radius:17px;
  color:#f3e7b1;
  background:rgba(164,131,43,.08);
  font-weight:800;
}

.import-card h2{
  margin:0 0 18px;
  font-size:24px;
}

.import-upload-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:end;
}

.import-file-field span{
  display:block;
  margin-bottom:8px;
  color:#c8d0da;
  font-size:12px;
  font-weight:700;
}

.import-help{
  display:grid;
  gap:5px;
  margin-top:18px;
  color:#8591a1;
  font-size:10px;
}

.import-help strong{
  color:#bdc6d1;
}

.import-summary-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-bottom:18px;
}

.import-summary-grid article{
  padding:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.035);
}

.import-summary-grid span{
  color:#d2c5d8;
  font-size:10px;
}

.import-summary-grid strong{
  display:block;
  margin-top:8px;
  font-size:22px;
}

.import-preview-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
}

.import-preview-head{
  padding:18px;
  border-bottom:1px solid var(--line);
}

.import-preview-head h2{
  margin:7px 0 0;
}

.import-preview-table{
  overflow:auto;
}

.import-preview-row{
  min-width:860px;
  display:grid;
  grid-template-columns:120px 1.2fr 100px 1fr 1fr;
  gap:14px;
  padding:13px 18px;
  border-top:1px solid rgba(255,255,255,.05);
  font-size:11px;
}

.import-preview-row.head{
  color:#d2c5d8;
  background:rgba(255,255,255,.025);
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
}

.import-confirm-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:16px 18px;
  border-top:1px solid var(--line);
}

@media(max-width:900px){
  .student-header-actions{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .student-header-actions .btn{
    width:100%;
  }
}

@media(max-width:700px){
  .student-header-actions{
    grid-template-columns:1fr;
  }

  .import-card{
    grid-template-columns:1fr;
  }

  .import-upload-form{
    grid-template-columns:1fr;
  }

  .import-summary-grid{
    grid-template-columns:1fr;
  }

  .import-confirm-actions{
    flex-direction:column-reverse;
  }

  .import-confirm-actions .btn{
    width:100%;
  }
}

/* v1.8 - Öğretmen Excel ve PDF işlemleri */
.teacher-header-actions{
  flex-wrap:wrap;
  justify-content:flex-end;
}

.teacher-import-preview-row{
  min-width:860px;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 150px 1fr;
  gap:14px;
  padding:13px 18px;
  border-top:1px solid rgba(255,255,255,.05);
  font-size:11px;
}

.teacher-import-preview-row.head{
  color:#d2c5d8;
  background:rgba(255,255,255,.025);
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
}

@media(max-width:900px){
  .teacher-header-actions{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .teacher-header-actions .btn{
    width:100%;
  }
}

@media(max-width:700px){
  .teacher-header-actions{
    grid-template-columns:1fr;
  }
}

/* v1.8.1 - Yatay ve kompakt sınıf listesi */
.compact-class-list{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025));
}

.compact-class-head,
.compact-class-row{
  display:grid;
  grid-template-columns:minmax(220px,1.35fr) 100px 100px 135px minmax(180px,1fr) 90px 150px;
  gap:16px;
  align-items:center;
  padding:14px 18px;
}

.compact-class-head{
  color:#c7b8cd;
  background:rgba(255,255,255,.035);
  font-size:10px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.compact-class-row{
  min-height:78px;
  border-top:1px solid rgba(255,255,255,.055);
  transition:.18s;
}

.compact-class-row:hover{
  background:rgba(255,255,255,.025);
}

.compact-class-main{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
}

.compact-class-code{
  width:48px;
  height:48px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border:1px solid rgba(112,47,138,.2);
  border-radius:13px;
  color:#f3e7b1;
  background:rgba(112,47,138,.09);
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}

.compact-class-main strong{
  display:block;
  overflow:hidden;
  color:#f4f7fb;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:13px;
}

.compact-class-main span{
  display:block;
  margin-top:5px;
  color:#d2c5d8;
  font-size:10px;
}

.compact-class-number{
  display:grid;
  gap:4px;
}

.compact-class-number strong{
  font-size:18px;
}

.compact-class-number span{
  color:#d2c5d8;
  font-size:9px;
}

.compact-gender-count{
  display:grid;
  gap:6px;
  color:#9ca7b7;
  font-size:10px;
}

.compact-gender-count strong{
  color:#e0e5ec;
}

.compact-class-teacher{
  overflow:hidden;
  color:#a7b1bf;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
}

.status-toggle:hover{
  color:#f3e7b1;
  border-color:rgba(164,131,43,.3);
  background:rgba(164,131,43,.08);
}

@media(max-width:1180px){
  .compact-class-list{
    overflow:auto;
  }

  .compact-class-head,
  .compact-class-row{
    min-width:1050px;
  }
}

/* v1.9 - Personel paneli çıktı işlemleri */
.icon-action.export{
  width:42px;
  color:#eadff0;
  font-size:8px;
  font-weight:800;
}

.icon-action.export:hover{
  color:#eadff0;
  border-color:rgba(112,47,138,.3);
  background:rgba(112,47,138,.08);
}

@media(max-width:900px){
  .student-header-actions,
  .teacher-header-actions{
    width:100%;
  }
}

/* v1.9.1 - Rol bilgisini görünümden kaldırma */
.mini-user > div:last-child{
  display:flex;
  align-items:center;
  min-height:40px;
}

.mini-user > div:last-child strong{
  margin:0;
}

.dashboard-topbar{
  align-items:flex-start;
}

/* v2.0 - Genel arama */
.dashboard-search-card{
  padding:16px;
  margin-bottom:18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
}

.dashboard-search-form{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:14px;
  align-items:center;
}

.dashboard-search-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid rgba(112,47,138,.2);
  border-radius:13px;
  color:#eadff0;
  background:rgba(112,47,138,.09);
  font-size:20px;
}

.dashboard-search-content label{
  display:block;
  margin-bottom:5px;
  color:#c8d0da;
  font-size:11px;
  font-weight:800;
}

.dashboard-search-content input{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  font-size:13px;
}

.global-search-form{
  display:grid;
  grid-template-columns:1fr 180px auto auto;
  gap:10px;
  align-items:center;
  padding:14px;
  margin-bottom:18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.035);
}

.global-search-input{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(0,0,0,.14);
}

.global-search-input input{
  border:0;
  background:transparent;
  box-shadow:none;
}

.search-inactive-toggle{
  display:flex!important;
  align-items:center;
  gap:8px;
  padding:0 10px;
  color:#a9b3c0;
  font-size:11px;
  white-space:nowrap;
}

.search-inactive-toggle input{
  width:auto;
  margin:0;
}

.search-inactive-toggle span{
  margin:0!important;
}

.search-result-summary{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
  color:#d2c5d8;
  font-size:11px;
}

.search-result-summary strong{
  color:#f2f5f9;
  font-size:14px;
}

.search-result-summary small{
  margin-left:auto;
  color:#d9bd68;
}

.search-result-section{
  overflow:hidden;
  margin-bottom:18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025));
}

.search-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:18px;
  border-bottom:1px solid var(--line);
}

.search-section-head h2{
  margin:7px 0 0;
  font-size:21px;
}

.search-section-head > strong{
  min-width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:#f3e7b1;
  background:rgba(112,47,138,.1);
  font-size:12px;
}

.search-result-list{
  display:grid;
}

.search-result-row{
  display:grid;
  grid-template-columns:46px minmax(180px,1.2fr) minmax(160px,1fr) minmax(150px,.9fr) minmax(150px,.9fr) 80px;
  gap:14px;
  align-items:center;
  padding:13px 18px;
  border-top:1px solid rgba(255,255,255,.05);
  color:inherit;
  text-decoration:none;
}

.search-result-row:first-child{
  border-top:0;
}

.search-result-row:hover{
  background:rgba(255,255,255,.025);
}

.search-result-avatar{
  width:42px;
  height:46px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:11px;
  color:#d8dff7;
  background:rgba(255,255,255,.04);
  font-size:11px;
  font-weight:800;
}

.search-result-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 20%;
}

.search-result-main{
  min-width:0;
}

.search-result-main strong{
  display:block;
  overflow:hidden;
  color:#f4f7fb;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
}

.search-result-main span{
  display:block;
  margin-top:4px;
  color:#d2c5d8;
  font-size:9px;
}

.search-result-detail{
  min-width:0;
}

.search-result-detail span{
  display:block;
  color:#d2c5d8;
  font-size:8px;
  text-transform:uppercase;
}

.search-result-detail strong{
  display:block;
  overflow:hidden;
  margin-top:5px;
  color:#aab4c2;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:10px;
  font-weight:600;
}

.search-class-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  padding:16px;
}

.search-class-card{
  display:grid;
  grid-template-columns:50px 1fr;
  gap:12px;
  align-items:center;
  padding:14px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:15px;
  color:inherit;
  background:rgba(255,255,255,.025);
  text-decoration:none;
}

.search-class-card:hover{
  border-color:rgba(112,47,138,.25);
  background:rgba(112,47,138,.05);
}

.search-class-code{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#f3e7b1;
  background:rgba(112,47,138,.1);
  font-size:11px;
  font-weight:800;
}

.search-class-card strong{
  display:block;
  font-size:12px;
}

.search-class-card > div:nth-child(2) span{
  display:block;
  margin-top:4px;
  color:#d2c5d8;
  font-size:9px;
}

.search-class-stats{
  grid-column:1/-1;
  display:flex;
  gap:12px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.05);
  color:#9ca7b7;
  font-size:9px;
}

.search-grid-empty{
  grid-column:1/-1;
}

.search-empty-card{
  max-width:620px;
  margin:40px auto;
  padding:34px;
  text-align:center;
  border:1px solid var(--line);
  border-radius:22px;
  background:rgba(255,255,255,.035);
}

.search-empty-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  margin:0 auto 16px;
  border-radius:16px;
  color:#eadff0;
  background:rgba(112,47,138,.09);
  font-size:22px;
  font-weight:800;
}

.search-empty-card h2{
  margin:0 0 8px;
}

.search-empty-card p{
  margin:0;
  color:#8b97a6;
  font-size:12px;
}

@media(max-width:1180px){
  .search-result-section{
    overflow:auto;
  }

  .search-result-row{
    min-width:1000px;
  }

  .search-class-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:800px){
  .dashboard-search-form{
    grid-template-columns:auto 1fr;
  }

  .dashboard-search-form .btn{
    grid-column:1/-1;
    width:100%;
  }

  .global-search-form{
    grid-template-columns:1fr;
  }

  .search-class-grid{
    grid-template-columns:1fr;
  }
}


/* v2.0.1 - Giriş ekranı marka düzenlemesi */
.login-hero-renamed{
  align-items:flex-start;
}

.login-brand-name{
  display:block;
  margin-top:16px;
  color:#e2c96f;
  font-size:13px;
  font-weight:800;
  letter-spacing:.18em;
  line-height:1.5;
  text-transform:uppercase;
}

.hero-mark-school{
  position:relative;
  width:68px;
  height:68px;
  display:block;
  padding:0;
  overflow:visible;
  border:1px solid rgba(112,47,138,.28);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(112,47,138,.22),rgba(60,16,83,.08));
  box-shadow:0 16px 36px rgba(60,16,83,.2);
}

.hero-mark-school .school-roof{
  position:absolute;
  top:15px;
  left:16px;
  width:34px;
  height:34px;
  border:4px solid #e2c96f;
  border-right:0;
  border-bottom:0;
  transform:rotate(45deg);
  border-radius:4px 0 0 0;
}

.hero-mark-school .school-body{
  position:absolute;
  left:17px;
  bottom:13px;
  width:34px;
  height:27px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  gap:4px;
  padding:7px 6px 0;
  border:3px solid #702f8a;
  border-top:0;
  border-radius:0 0 7px 7px;
  background:rgba(112,47,138,.08);
}

.hero-mark-school .school-body i{
  width:5px;
  height:11px;
  display:block;
  border-radius:2px 2px 0 0;
  background:#e2c96f;
}

.hero-mark-school .school-body i:nth-child(2){
  height:17px;
  background:#702f8a;
}

@media(max-width:760px){
  .login-hero-renamed{
    align-items:center;
    text-align:center;
  }

  .login-brand-name{
    font-size:12px;
  }
}


/* v2.1 - Tam mobil uyumluluk */
html{
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body{
  max-width:100%;
  overflow-x:hidden;
}

img,svg,video{
  max-width:100%;
}

button,a,input,select,textarea{
  -webkit-tap-highlight-color:transparent;
}

.main,
.topbar,
.form-card,
.placeholder-card,
.detail-section,
.dashboard-panel,
.corporate-card{
  min-width:0;
}

.mobile-menu-open{
  overflow:hidden;
}

@supports (min-height:100dvh){
  .app,.sidebar,.login-shell{
    min-height:100dvh;
  }
}

@media(max-width:1050px){
  .mobile-topbar{
    height:auto;
    min-height:62px;
    padding-top:env(safe-area-inset-top);
    padding-left:max(16px,env(safe-area-inset-left));
    padding-right:max(16px,env(safe-area-inset-right));
  }

  .mobile-menu-button,
  .sidebar-close{
    min-width:44px;
    min-height:44px;
  }

  .sidebar{
    width:min(88vw,320px);
    min-height:100dvh;
    padding-top:max(22px,env(safe-area-inset-top));
    padding-bottom:max(22px,env(safe-area-inset-bottom));
    padding-left:max(16px,env(safe-area-inset-left));
  }

  .sidebar-close{
    top:max(22px,env(safe-area-inset-top));
  }

  .nav a{
    min-height:48px;
    padding:13px 14px;
  }

  .logout{
    min-height:46px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .main{
    width:100%;
    padding:22px 20px max(28px,env(safe-area-inset-bottom));
  }
}

@media(max-width:760px){
  body{
    background:
      radial-gradient(circle at 15% 0%,rgba(112,47,138,.15),transparent 25%),
      linear-gradient(145deg,#3c1053,#16041f);
  }

  body:before{
    background-size:32px 32px;
  }

  .main{
    padding:18px 14px max(26px,env(safe-area-inset-bottom));
  }

  .topbar{
    width:100%;
    gap:14px;
    padding-bottom:18px;
    margin-bottom:18px;
  }

  .topbar h1,
  .dashboard-topbar h1{
    margin-top:6px;
    font-size:clamp(31px,10vw,40px);
    line-height:1.06;
    overflow-wrap:anywhere;
  }

  .topbar p{
    font-size:13px;
    line-height:1.55;
  }

  .role-chip{
    align-self:flex-start;
  }

  .header-actions,
  .student-header-actions,
  .teacher-header-actions{
    width:100%;
    display:grid;
    grid-template-columns:1fr;
    gap:9px;
  }

  .header-actions .btn,
  .student-header-actions .btn,
  .teacher-header-actions .btn,
  .topbar > .btn{
    width:100%;
    min-height:46px;
  }

  .btn{
    min-height:44px;
    padding:11px 14px;
  }

  input,select,textarea{
    min-height:48px;
    font-size:16px;
  }

  textarea{
    min-height:120px;
  }

  .metric-grid,
  .metric-grid.compact,
  .dashboard-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .metric-card,
  .metric-grid.compact .metric-card,
  .dashboard-stat-card{
    min-height:112px;
    padding:16px;
    border-radius:17px;
  }

  .metric-card strong,
  .dashboard-stat-card strong{
    margin-top:12px;
    font-size:27px;
  }

  .dashboard-stat-card{
    display:block;
  }

  .dashboard-stat-icon{
    width:42px;
    height:42px;
    margin-bottom:14px;
  }

  .dashboard-content-grid,
  .section-grid{
    grid-template-columns:1fr;
  }

  .dashboard-panel,
  .form-card,
  .placeholder-card,
  .detail-section,
  .corporate-card{
    padding:17px;
    border-radius:18px;
  }

  .dashboard-panel-head,
  .class-detail-panel-head,
  .corporate-card-head{
    gap:10px;
  }

  .quick-access-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .quick-access-card{
    min-height:105px;
  }

  .dashboard-search-card{
    padding:13px;
  }

  .dashboard-search-form{
    grid-template-columns:42px minmax(0,1fr);
    gap:10px;
  }

  .dashboard-search-icon{
    width:42px;
    height:42px;
  }

  .dashboard-search-form .btn{
    grid-column:1/-1;
  }

  .filter-bar,
  .student-filter,
  .teacher-filter,
  .class-filter-bar,
  .global-search-form{
    width:100%;
    grid-template-columns:1fr;
    gap:9px;
    padding:12px;
    border-radius:16px;
  }

  .filter-bar .btn,
  .global-search-form .btn{
    width:100%;
  }

  .search-field,
  .global-search-input{
    min-height:48px;
    padding:0 12px;
  }

  .search-field input,
  .global-search-input input{
    min-width:0;
  }

  .search-inactive-toggle{
    min-height:44px;
    padding:8px 4px;
  }

  .form-grid,
  .profile-info-grid,
  .parent-grid,
  .text-detail-grid,
  .assignment-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .form-grid > *,
  .full-span,
  .check-row,
  .form-actions{
    grid-column:1/-1!important;
  }

  .form-actions,
  .sticky-save{
    position:static;
    display:flex;
    flex-direction:column-reverse;
    gap:9px;
    padding:12px;
  }

  .form-actions .btn,
  .sticky-save .btn{
    width:100%;
  }

  .student-form-layout,
  .student-profile{
    grid-template-columns:1fr;
    gap:15px;
  }

  .photo-panel,
  .profile-photo-panel{
    width:100%;
    max-width:none;
    position:static;
  }

  .profile-info-grid article{
    min-width:0;
  }

  .teacher-card-grid{
    grid-template-columns:1fr;
  }

  .teacher-info-card dl{
    grid-template-columns:1fr;
  }

  .teacher-info-card dl > div:first-child{
    grid-column:1;
  }

  .detail-grid,
  .class-detail-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  .detail-grid article,
  .class-detail-summary article{
    padding:14px;
  }

  .class-detail-grid,
  .corporate-grid{
    grid-template-columns:1fr;
  }

  .class-student-list,
  .class-teacher-list{
    max-height:none;
  }

  .corporate-hero-card{
    flex-direction:column;
    align-items:flex-start;
    padding:18px;
  }

  .corporate-title-area h2{
    overflow-wrap:anywhere;
  }

  .management-grid,
  .corporate-info-list{
    grid-template-columns:1fr;
  }

  .corporate-info-list .full{
    grid-column:1;
  }

  .multi-select-menu,
  .class-dropdown-panel,
  .class-picker-panel{
    position:static;
    max-height:none;
    margin-top:8px;
  }

  .multi-select-options{
    max-height:44vh;
  }

  .class-selection-grid,
  .class-dropdown-panel .class-selection-grid,
  .class-picker-grid{
    grid-template-columns:1fr;
  }

  /* Öğrenci listesi: yatay tablo yerine dokunmatik kart */
  .compact-student-list{
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
  }

  .compact-student-head{
    display:none;
  }

  .compact-student-row{
    min-width:0!important;
    min-height:0;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    padding:16px;
    margin-bottom:12px;
    border:1px solid var(--line);
    border-radius:18px;
    background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  }

  .compact-student-person{
    grid-column:1/-1;
    padding-bottom:13px;
    border-bottom:1px solid rgba(255,255,255,.06);
  }

  .compact-student-name{
    white-space:normal;
    overflow-wrap:anywhere;
    font-size:14px;
  }

  .compact-id-info{
    grid-column:1/-1;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }

  .compact-id-info span{
    min-width:0;
    padding:9px 10px;
    border-radius:10px;
    background:rgba(255,255,255,.03);
    overflow-wrap:anywhere;
  }

  .compact-class{
    display:flex;
    align-items:center;
    gap:7px;
  }

  .compact-class:before{
    content:"Sınıf";
    color:#d2c5d8;
    font-size:9px;
    font-weight:800;
    text-transform:uppercase;
  }

  .compact-student-row > div:nth-child(4){
    justify-self:end;
  }

  .compact-actions{
    grid-column:1/-1;
    width:100%;
    display:flex;
    justify-content:stretch;
    padding-top:12px;
    border-top:1px solid rgba(255,255,255,.06);
  }

  .compact-actions > a,
  .compact-actions > form{
    flex:1 1 0;
  }

  .compact-actions form{
    display:flex;
  }

  .compact-actions .icon-action{
    width:100%;
    min-height:44px;
  }

  /* Öğretmen listesi */
  .compact-teacher-list{
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
  }

  .compact-teacher-head{
    display:none;
  }

  .compact-teacher-row{
    min-width:0!important;
    min-height:0;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
    padding:16px;
    margin-bottom:12px;
    border:1px solid var(--line);
    border-radius:18px;
    background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  }

  .compact-teacher-person{
    grid-column:1/-1;
    padding-bottom:13px;
    border-bottom:1px solid rgba(255,255,255,.06);
  }

  .compact-teacher-name{
    white-space:normal;
    overflow-wrap:anywhere;
    font-size:14px;
  }

  .teacher-role-info,
  .teacher-contact-info,
  .teacher-class-info{
    grid-column:1/-1;
    min-width:0;
    padding:10px 11px;
    border-radius:11px;
    background:rgba(255,255,255,.03);
    white-space:normal;
    overflow-wrap:anywhere;
  }

  .teacher-role-info:before,
  .teacher-contact-info:before,
  .teacher-class-info:before{
    display:block;
    margin-bottom:6px;
    color:#d2c5d8;
    font-size:9px;
    font-weight:800;
    text-transform:uppercase;
  }

  .teacher-role-info:before{content:"Branş / Görev"}
  .teacher-contact-info:before{content:"İletişim"}
  .teacher-class-info:before{content:"Sınıflar"}

  .compact-teacher-row > div:nth-child(5){
    grid-column:1/-1;
  }

  /* Sınıf listesi */
  .compact-class-list{
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
  }

  .compact-class-head{
    display:none;
  }

  .compact-class-row{
    min-width:0!important;
    min-height:0;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    padding:16px;
    margin-bottom:12px;
    border:1px solid var(--line);
    border-radius:18px;
    background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
  }

  .compact-class-main{
    grid-column:1/-1;
    padding-bottom:13px;
    border-bottom:1px solid rgba(255,255,255,.06);
  }

  .compact-class-number,
  .compact-gender-count{
    min-width:0;
    padding:11px;
    border-radius:11px;
    background:rgba(255,255,255,.03);
  }

  .compact-gender-count{
    grid-column:1/-1;
    display:flex;
    justify-content:space-between;
  }

  .compact-class-teacher{
    grid-column:1/-1;
    min-width:0;
    padding:11px;
    border-radius:11px;
    background:rgba(255,255,255,.03);
    white-space:normal;
    overflow-wrap:anywhere;
  }

  .compact-class-teacher:before{
    content:"Sınıf Öğretmeni";
    display:block;
    margin-bottom:6px;
    color:#d2c5d8;
    font-size:9px;
    font-weight:800;
    text-transform:uppercase;
  }

  .compact-class-row > div:nth-child(6){
    grid-column:1/-1;
  }

  /* Genel arama sonuçları */
  .search-result-section{
    overflow:visible;
    border:0;
    border-radius:0;
    background:transparent;
  }

  .search-section-head{
    margin-bottom:10px;
    border:1px solid var(--line);
    border-radius:16px;
    background:rgba(255,255,255,.035);
  }

  .search-result-list{
    gap:10px;
  }

  .search-result-row{
    min-width:0!important;
    display:grid;
    grid-template-columns:46px minmax(0,1fr) auto;
    gap:11px;
    padding:14px;
    border:1px solid var(--line)!important;
    border-radius:16px;
    background:rgba(255,255,255,.025);
  }

  .search-result-main strong,
  .search-result-detail strong{
    white-space:normal;
    overflow-wrap:anywhere;
  }

  .search-result-row > .status-pill{
    align-self:start;
  }

  .search-result-detail{
    grid-column:1/-1;
    padding:9px 10px;
    border-radius:10px;
    background:rgba(255,255,255,.025);
  }

  .search-class-grid{
    grid-template-columns:1fr;
    padding:0;
    gap:10px;
  }

  .search-class-card{
    border-color:var(--line);
    background:rgba(255,255,255,.025);
  }

  .search-result-summary{
    flex-wrap:wrap;
  }

  .search-result-summary small{
    width:100%;
    margin-left:0;
  }

  /* Yalnızca gerçek tablo önizlemeleri yatay kayar */
  .import-preview-table,
  .student-teacher-table{
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
  }

  /* Giriş ekranı */
  .login-body{
    overflow-x:hidden;
    overflow-y:auto;
  }

  .login-shell{
    width:100%;
    min-height:100dvh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:22px;
    padding:max(30px,env(safe-area-inset-top)) 16px max(30px,env(safe-area-inset-bottom));
  }

  .login-hero-renamed{
    width:100%;
    align-items:center;
    text-align:center;
  }

  .hero-mark-school{
    width:62px;
    height:62px;
  }

  .login-card{
    width:100%;
    max-width:520px;
    margin:0 auto;
    padding:24px 18px;
    border-radius:22px;
  }

  .login-card h2{
    margin-bottom:22px;
    font-size:22px;
  }

  .login-card .btn{
    min-height:50px;
  }
}

@media(max-width:390px){
  .metric-grid,
  .metric-grid.compact,
  .dashboard-stat-grid{
    grid-template-columns:1fr;
  }

  .quick-access-grid{
    grid-template-columns:1fr;
  }

  .detail-grid,
  .class-detail-summary{
    grid-template-columns:1fr;
  }

  .compact-id-info{
    grid-template-columns:1fr;
  }
}


/* v2.1.1 - Mobil menü katmanı ve form alanı düzeltmeleri */

/* Tüm form elemanlarının dar ekranlarda kapsayıcıyı aşmasını engeller. */
form,
fieldset,
.form-grid,
.form-grid > *,
.form-card,
.form-stack,
.student-form-layout,
.corporate-edit-layout,
.import-upload-form,
.import-file-field,
.assignment-grid,
.multi-select{
  min-width:0;
  max-width:100%;
}

.form-grid label,
.form-stack label,
.import-file-field,
.photo-panel label{
  min-width:0;
}

input,
select,
textarea,
.multi-select-trigger{
  min-width:0;
  max-width:100%;
}

input[type="date"]{
  width:100%;
  min-width:0;
}

input[type="date"]::-webkit-date-and-time-value{
  min-width:0;
  text-align:left;
}

input[type="file"]{
  width:100%;
  min-width:0;
  overflow:hidden;
  padding:8px;
}

input[type="file"]::file-selector-button{
  min-height:36px;
  margin-right:10px;
  padding:8px 11px;
  border:1px solid rgba(112,47,138,.25);
  border-radius:9px;
  color:#eadff0;
  background:rgba(112,47,138,.12);
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

input[type="checkbox"],
input[type="radio"]{
  width:18px;
  min-width:18px;
  max-width:18px;
  height:18px;
  min-height:18px;
  padding:0;
  flex:0 0 18px;
}

@media(max-width:1050px){
  /* .app üzerindeki stacking context, örtü katmanını menünün üstüne çıkarıyordu. */
  .app{
    z-index:auto;
  }

  .sidebar{
    z-index:1001;
    max-height:100dvh;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    touch-action:pan-y;
  }

  .mobile-overlay{
    z-index:1000;
    pointer-events:none;
    touch-action:none;
  }

  .mobile-menu-open .mobile-overlay{
    pointer-events:auto;
  }

  .mobile-topbar{
    z-index:900;
  }
}

@media(max-width:760px){
  input,
  select,
  textarea,
  .multi-select-trigger{
    width:100%;
    max-width:100%;
  }

  input[type="checkbox"],
  input[type="radio"]{
    width:20px;
    min-width:20px;
    max-width:20px;
    height:20px;
    min-height:20px;
  }

  .check-row,
  .remove-photo,
  .danger-check,
  .multi-select-option{
    min-width:0;
    align-items:flex-start;
  }

  .check-row span,
  .remove-photo span,
  .danger-check span,
  .multi-select-option span{
    min-width:0;
    overflow-wrap:anywhere;
  }

  .form-card,
  .detail-section,
  .photo-panel,
  .corporate-card,
  .import-card{
    width:100%;
    max-width:100%;
  }

  .import-upload-form .btn,
  .import-file-field{
    width:100%;
  }

  .multi-select-trigger > span:first-child{
    min-width:0;
  }

  .multi-select-footer{
    flex-wrap:wrap;
  }

  .multi-select-footer .btn{
    min-width:110px;
  }
}


/* v2.2 - Kullanıcı yönetimi */
.sidebar-user-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.sidebar-user-actions .logout{margin-top:0}
.account-link{display:block;padding:10px 12px;border:1px solid rgba(112,47,138,.2);border-radius:10px;text-align:center;text-decoration:none;color:#eadff0;background:rgba(112,47,138,.07);font-size:12px;font-weight:800}
.user-filter{grid-template-columns:1fr 180px 170px auto auto}
.user-list{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025))}
.user-list-head,.user-list-row{display:grid;grid-template-columns:minmax(250px,1.4fr) 120px 100px minmax(170px,.8fr) 170px;gap:16px;align-items:center;padding:15px 18px}
.user-list-head{color:#c7b8cd;background:rgba(255,255,255,.035);font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.user-list-row{min-height:82px;border-top:1px solid rgba(255,255,255,.055);transition:.18s}
.user-list-row:hover{background:rgba(255,255,255,.025)}
.user-list-row.current-user-row{box-shadow:inset 3px 0 0 rgba(112,47,138,.7)}
.user-person{display:flex;align-items:center;gap:13px;min-width:0}
.user-avatar{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border-radius:14px;background:linear-gradient(135deg,rgba(112,47,138,.22),rgba(60,16,83,.1));border:1px solid rgba(112,47,138,.2);color:#eadff0;font-size:16px;font-weight:800}
.user-person strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.user-person div>span{display:block;margin-top:5px;color:#d2c5d8;font-size:10px;font-weight:700}
.role-pill{display:inline-flex;padding:7px 10px;border-radius:999px;font-size:10px;font-style:normal;font-weight:800}
.role-pill.admin{color:#eadff0;background:rgba(112,47,138,.11);border:1px solid rgba(112,47,138,.22)}
.role-pill.viewer{color:#f3e7b1;background:rgba(164,131,43,.08);border:1px solid rgba(164,131,43,.18)}
.user-last-login{display:grid;gap:5px}
.user-last-login strong{font-size:11px}.user-last-login span{color:#d2c5d8;font-size:9px}
.user-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.user-actions form{margin:0}
.icon-action.status:hover{color:#eadff0;border-color:rgba(112,47,138,.3);background:rgba(112,47,138,.09)}
.user-self-lock{width:34px;height:34px;display:grid;place-items:center;color:#e2c96f;font-size:11px}
.user-form-layout{display:grid;gap:18px;max-width:980px}
.user-form-card{width:100%}
.field-help{display:block;margin-top:7px;color:#c7b8cd;font-size:10px;line-height:1.55}
.password-note{margin:14px 0 0}
.locked-status{min-height:46px;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(0,0,0,.14)}
.locked-status small{color:#d2c5d8;font-size:10px}
.user-account-meta{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.user-account-meta article{padding:16px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.035)}
.user-account-meta span{display:block;color:#d2c5d8;font-size:10px}.user-account-meta strong{display:block;margin-top:8px;font-size:13px}
.account-layout{display:grid;grid-template-columns:minmax(280px,.7fr) minmax(360px,1fr);gap:18px;align-items:start}
.account-summary-card{padding:24px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025))}
.account-large-avatar{width:64px;height:64px;display:grid;place-items:center;margin-bottom:20px;border-radius:19px;background:linear-gradient(135deg,#702f8a,#3c1053);font-size:24px;font-weight:800}
.account-summary-card h2{margin:7px 0 5px;font-size:25px}.account-summary-card p{margin:0 0 16px;color:#d2c5d8}.account-summary-card>.role-pill{margin-bottom:20px}
.account-details{display:grid;gap:10px;margin:0;padding-top:18px;border-top:1px solid var(--line)}
.account-details>div{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0}.account-details dt{color:#d2c5d8;font-size:10px}.account-details dd{margin:0;text-align:right;font-size:11px;font-weight:700}
.account-password-card .btn{justify-self:start}

@media(max-width:1050px){
  .user-filter{grid-template-columns:1fr 1fr}
  .user-filter .search-field{grid-column:1/-1}
}
@media(max-width:760px){
  .sidebar-user-actions{grid-template-columns:1fr}
  .user-metric-grid{grid-template-columns:1fr 1fr}
  .user-filter{grid-template-columns:1fr}.user-filter .search-field{grid-column:auto}
  .user-list-head{display:none}
  .user-list-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:17px}
  .user-cell{min-width:0;padding:11px;border:1px solid rgba(255,255,255,.055);border-radius:12px;background:rgba(255,255,255,.022)}
  .user-cell:before{content:attr(data-label);display:block;margin-bottom:8px;color:#6f7c8e;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
  .user-person,.user-actions{grid-column:1/-1}.user-person:before{display:none}
  .user-actions{justify-content:flex-start}
  .user-last-login{display:block}.user-last-login span{display:block;margin-top:5px}
  .user-form-layout{width:100%}.user-form-actions{position:static;display:grid;grid-template-columns:1fr 1fr}.user-form-actions .btn{width:100%}
  .user-account-meta,.account-layout{grid-template-columns:1fr}
  .account-password-card .btn{width:100%}
}
@media(max-width:390px){
  .user-metric-grid,.user-list-row{grid-template-columns:1fr}
  .user-cell,.user-person,.user-actions{grid-column:1}
}


/* v2.3 - Güvenlik sistemi */
.notice.warning{
  color:#f3e7b1;
  background:rgba(164,131,43,.09);
  border-color:rgba(164,131,43,.24);
}

.logout-form{margin:0}
.logout-button{
  width:100%;
  border:0;
  font-family:inherit;
  cursor:pointer;
}

.password-policy-note{
  padding:10px 12px;
  border:1px solid rgba(112,47,138,.18);
  border-radius:12px;
  background:rgba(112,47,138,.055);
  color:#d8c9df;
}

.security-checkbox{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-top:16px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.025);
  cursor:pointer;
}

.security-checkbox input{
  width:19px;
  height:19px;
  min-width:19px;
  margin-top:2px;
  accent-color:#702f8a;
}

.security-checkbox>span{display:grid;gap:5px}
.security-checkbox strong{font-size:12px}
.security-checkbox small{color:#d2c5d8;font-size:10px;line-height:1.55}

.security-metric-grid{margin-bottom:18px}
.security-filter{grid-template-columns:1fr 190px auto auto}

.security-log-list{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025));
}

.security-log-head,
.security-log-row{
  display:grid;
  grid-template-columns:150px minmax(190px,.9fr) 120px 150px minmax(260px,1.4fr);
  gap:16px;
  align-items:center;
  padding:15px 18px;
}

.security-log-head{
  color:#c7b8cd;
  background:rgba(255,255,255,.035);
  font-size:10px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.security-log-row{
  min-height:76px;
  border-top:1px solid rgba(255,255,255,.055);
}

.security-log-row>div{min-width:0}
.security-log-row strong{display:block;font-size:11px}
.security-log-row span{display:block;margin-top:5px;color:#d2c5d8;font-size:9px}
.security-log-row code{
  display:inline-block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  padding:6px 8px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  color:#eadff0;
  background:rgba(0,0,0,.16);
  font-family:Poppins,sans-serif;
  font-size:10px;
}

.security-user-agent{
  overflow:hidden;
  color:#8793a4;
  font-size:10px;
  line-height:1.5;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.password-required-badge{
  display:inline-flex;
  margin-top:7px;
  padding:5px 8px;
  border:1px solid rgba(164,131,43,.22);
  border-radius:999px;
  color:#e2c96f;
  background:rgba(164,131,43,.08);
  font-size:9px;
  font-weight:800;
}

@media(max-width:1100px){
  .security-filter{grid-template-columns:1fr 1fr}
  .security-filter .search-field{grid-column:1/-1}
}

@media(max-width:760px){
  .security-metric-grid{grid-template-columns:1fr 1fr}
  .security-filter{grid-template-columns:1fr}
  .security-filter .search-field{grid-column:auto}
  .security-log-head{display:none}
  .security-log-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:16px;
  }
  .security-log-row>div{
    padding:11px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:12px;
    background:rgba(255,255,255,.022);
  }
  .security-log-row>div:before{
    content:attr(data-label);
    display:block;
    margin-bottom:8px;
    color:#6f7c8e;
    font-size:9px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  .security-user-agent{
    grid-column:1/-1;
    white-space:normal;
    overflow-wrap:anywhere;
  }
}

@media(max-width:390px){
  .security-metric-grid,
  .security-log-row{grid-template-columns:1fr}
  .security-user-agent{grid-column:1}
}


/* v2.4 - Eksik ve hatalı kayıt kontrolü */
.record-check-topbar p{
  max-width:680px;
}

.record-summary-grid{
  margin-bottom:18px;
}

.record-check-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}

.record-check-card{
  min-width:0;
  min-height:118px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  gap:13px;
  align-items:start;
  padding:17px;
  border:1px solid var(--line);
  border-radius:18px;
  color:var(--text);
  background:linear-gradient(180deg,rgba(255,255,255,.052),rgba(255,255,255,.024));
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.record-check-card:hover{
  transform:translateY(-2px);
  border-color:rgba(112,47,138,.32);
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.032));
}

.record-check-card.selected{
  border-color:rgba(112,47,138,.62);
  box-shadow:0 0 0 3px rgba(112,47,138,.09);
}

.record-check-card.danger{
  border-top-color:rgba(239,127,127,.55);
}

.record-check-card.warning{
  border-top-color:rgba(164,131,43,.55);
}

.record-check-card.info{
  border-top-color:rgba(112,47,138,.55);
}

.record-check-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid rgba(112,47,138,.18);
  border-radius:13px;
  color:#bac7f8;
  background:rgba(112,47,138,.08);
  font-size:17px;
  font-weight:800;
}

.record-check-card.danger .record-check-icon{
  border-color:rgba(239,127,127,.2);
  color:#ffb5b5;
  background:rgba(239,127,127,.08);
}

.record-check-card.warning .record-check-icon{
  border-color:rgba(164,131,43,.2);
  color:#e2c96f;
  background:rgba(164,131,43,.08);
}

.record-check-copy{
  min-width:0;
}

.record-check-copy strong{
  display:block;
  margin-bottom:7px;
  font-size:12px;
}

.record-check-copy small{
  display:block;
  color:#d2c5d8;
  font-size:10px;
  line-height:1.55;
}

.record-check-card>b{
  min-width:34px;
  display:grid;
  place-items:center;
  padding:7px 9px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:999px;
  color:#e8edf5;
  background:rgba(0,0,0,.15);
  font-size:12px;
}

.record-overview-panel,
.record-detail-panel{
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
}

.record-overview-panel{
  min-height:210px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  padding:30px;
  text-align:left;
}

.record-overview-icon{
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  flex:0 0 62px;
  border:1px solid rgba(164,131,43,.2);
  border-radius:18px;
  color:#f3e7b1;
  background:rgba(164,131,43,.08);
  font-size:24px;
  font-weight:800;
}

.record-overview-panel h2,
.record-detail-head h2{
  margin:7px 0 8px;
  font-size:25px;
}

.record-overview-panel p,
.record-detail-head p{
  max-width:720px;
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.7;
}

.record-detail-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
  padding:22px;
  border-bottom:1px solid var(--line);
}

.record-detail-count{
  min-width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border:1px solid rgba(112,47,138,.2);
  border-radius:17px;
  color:#eadff0;
  background:rgba(112,47,138,.08);
  font-size:20px;
  font-weight:800;
}

.record-list{
  overflow:hidden;
}

.record-list-head,
.record-list-row{
  display:grid;
  grid-template-columns:minmax(220px,1.2fr) minmax(220px,1fr) minmax(150px,.75fr) 110px;
  gap:15px;
  align-items:center;
  padding:15px 18px;
}

.record-list-head{
  color:#c7b8cd;
  background:rgba(255,255,255,.028);
  font-size:9px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.record-list-row{
  min-height:78px;
  border-top:1px solid rgba(255,255,255,.055);
}

.record-list-row:hover{
  background:rgba(255,255,255,.022);
}

.record-list-person,
.record-list-problem,
.record-list-value{
  min-width:0;
}

.record-list-person strong{
  display:block;
  overflow:hidden;
  color:#f4f7fb;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:12px;
}

.record-list-person span{
  display:block;
  margin-top:6px;
  overflow:hidden;
  color:#d2c5d8;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:9px;
}

.record-list-problem{
  color:#e2c96f;
  font-size:11px;
  line-height:1.55;
}

.record-list-value{
  overflow-wrap:anywhere;
  color:#aab4c2;
  font-size:10px;
  line-height:1.55;
}

.record-list-action .btn{
  width:100%;
  min-height:38px;
  padding:9px 12px;
  font-size:10px;
}

.record-clean-state{
  min-height:220px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:9px;
  padding:28px;
  text-align:center;
}

.record-clean-state>span{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border:1px solid rgba(164,131,43,.2);
  border-radius:16px;
  color:#f3e7b1;
  background:rgba(164,131,43,.08);
  font-size:22px;
}

.record-clean-state strong{
  font-size:14px;
}

.record-clean-state p{
  margin:0;
  color:var(--muted);
  font-size:11px;
}

.record-pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  padding:16px 18px;
  border-top:1px solid var(--line);
  color:#d2c5d8;
  font-size:10px;
}

.record-pagination a{
  padding:8px 11px;
  border:1px solid var(--line);
  border-radius:10px;
  color:#eadff0;
  background:rgba(112,47,138,.055);
  text-decoration:none;
  font-weight:800;
}

/* Çıkış düğmesi: belirgin kırmızı */
.sidebar-user-actions .logout-button{
  min-height:40px;
  margin:0;
  border:1px solid #e0525b !important;
  color:#ffffff !important;
  background:#c93642 !important;
  box-shadow:0 8px 20px rgba(201,54,66,.24);
  opacity:1 !important;
  font-weight:800;
  text-shadow:none;
}

.sidebar-user-actions .logout-button:hover,
.sidebar-user-actions .logout-button:focus-visible{
  border-color:#ff737b !important;
  color:#ffffff !important;
  background:#e04450 !important;
  box-shadow:0 10px 24px rgba(224,68,80,.3);
}

@media(max-width:1180px){
  .record-check-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:820px){
  .record-check-grid{
    grid-template-columns:1fr;
  }

  .record-list-head{
    display:none;
  }

  .record-list-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:15px;
  }

  .record-list-row>div{
    min-width:0;
    padding:11px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:12px;
    background:rgba(255,255,255,.022);
  }

  .record-list-row>div:before{
    content:attr(data-label);
    display:block;
    margin-bottom:8px;
    color:#6f7c8e;
    font-size:8px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
  }

  .record-list-person,
  .record-list-action{
    grid-column:1/-1;
  }

  .record-list-person strong,
  .record-list-person span{
    white-space:normal;
  }
}

@media(max-width:620px){
  .record-summary-grid{
    grid-template-columns:1fr 1fr;
  }

  .record-check-card{
    min-height:108px;
    grid-template-columns:40px minmax(0,1fr) auto;
    padding:14px;
  }

  .record-check-icon{
    width:40px;
    height:40px;
  }

  .record-overview-panel{
    display:grid;
    justify-items:center;
    padding:24px 18px;
    text-align:center;
  }

  .record-detail-head{
    align-items:center;
  }

  .record-detail-head h2{
    font-size:21px;
  }

  .record-detail-count{
    min-width:50px;
    width:50px;
    height:50px;
  }

  .record-list-row{
    grid-template-columns:1fr;
  }

  .record-list-person,
  .record-list-action{
    grid-column:1;
  }

  .record-pagination{
    flex-wrap:wrap;
    gap:10px;
  }
}

@media(max-width:390px){
  .record-summary-grid{
    grid-template-columns:1fr;
  }

  .record-check-card{
    grid-template-columns:38px minmax(0,1fr);
  }

  .record-check-card>b{
    grid-column:2;
    justify-self:start;
  }
}


/* v2.5 - Öğrenci bilgi formu işlemleri */
.compact-actions{
  flex-wrap:wrap;
}

@media(max-width:620px){
  .student-header-actions .btn{
    flex:1 1 calc(50% - 8px);
  }
}

@media(max-width:390px){
  .student-header-actions .btn{
    flex-basis:100%;
  }
}


/* v2.6 - Ana sayfa hızlı işlemler */
.dashboard-quick-panel{
  margin-bottom:20px;
  padding:21px;
  border:1px solid var(--line);
  border-radius:21px;
  background:
    radial-gradient(circle at 8% 0%,rgba(112,47,138,.10),transparent 28%),
    linear-gradient(180deg,rgba(255,255,255,.058),rgba(255,255,255,.025));
  box-shadow:0 18px 45px rgba(0,0,0,.13);
}

.dashboard-quick-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:17px;
}

.dashboard-quick-head h2{
  margin:7px 0 6px;
  font-size:23px;
  letter-spacing:-.03em;
}

.dashboard-quick-head p{
  margin:0;
  color:#7e8999;
  font-size:10px;
  line-height:1.6;
}

.dashboard-action-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
}

.dashboard-action-card{
  min-width:0;
  min-height:104px;
  display:grid;
  grid-template-columns:40px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:15px;
  border:1px solid rgba(255,255,255,.065);
  border-radius:16px;
  color:#eef2f8;
  background:rgba(255,255,255,.026);
  text-decoration:none;
  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.dashboard-action-card:hover{
  transform:translateY(-2px);
  border-color:rgba(112,47,138,.34);
  background:rgba(112,47,138,.055);
  box-shadow:0 12px 26px rgba(0,0,0,.12);
}

.dashboard-action-card.primary-action{
  border-color:rgba(112,47,138,.32);
  background:linear-gradient(145deg,rgba(112,47,138,.15),rgba(112,47,138,.055));
}

.dashboard-action-card.warning-action{
  border-color:rgba(164,131,43,.25);
  background:linear-gradient(145deg,rgba(164,131,43,.08),rgba(255,255,255,.024));
}

.dashboard-action-icon{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid rgba(112,47,138,.20);
  border-radius:12px;
  color:#eadff0;
  background:rgba(112,47,138,.09);
  font-size:17px;
  font-weight:800;
}

.warning-action .dashboard-action-icon{
  border-color:rgba(164,131,43,.22);
  color:#e2c96f;
  background:rgba(164,131,43,.08);
}

.dashboard-action-copy{
  min-width:0;
}

.dashboard-action-copy strong{
  display:block;
  overflow:hidden;
  color:#f2f5fa;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:11px;
}

.dashboard-action-copy small{
  display:block;
  margin-top:6px;
  color:#c3b3ca;
  font-size:9px;
  line-height:1.45;
}

.dashboard-action-arrow{
  color:#61708a;
  font-size:16px;
  transition:transform .18s ease,color .18s ease;
}

.dashboard-action-card:hover .dashboard-action-arrow{
  transform:translateX(3px);
  color:#eadff0;
}

.dashboard-module-grid .quick-access-card{
  min-height:126px;
}

.dashboard-module-grid .quick-access-card>span:last-child{
  display:block;
}

.dashboard-module-grid .quick-access-card strong{
  display:block;
}

.dashboard-module-grid .quick-access-card small{
  display:block;
  margin-top:7px;
  color:#c3b3ca;
  font-size:9px;
  line-height:1.45;
}

@media(max-width:1180px){
  .dashboard-action-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  .dashboard-quick-panel{
    padding:16px;
    border-radius:18px;
  }

  .dashboard-quick-head{
    margin-bottom:14px;
  }

  .dashboard-quick-head h2{
    font-size:21px;
  }

  .dashboard-action-card{
    min-height:94px;
    padding:13px;
  }
}

@media(max-width:520px){
  .dashboard-action-grid{
    grid-template-columns:1fr;
  }

  .dashboard-action-card{
    min-height:86px;
  }

  .dashboard-action-copy strong{
    white-space:normal;
  }
}


/* v2.7 - Gelişmiş mobil kullanım */
.mobile-bottom-nav,
.mobile-form-progress,
.pwa-install-banner{
  display:none;
}

.mobile-photo-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:12px;
}

.mobile-photo-actions .upload-button{
  width:100%;
  min-height:44px;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.camera-button{
  border-color:rgba(164,131,43,.22)!important;
  color:#f3e7b1!important;
  background:rgba(164,131,43,.075)!important;
}

.phone-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#f3e7b1;
  text-decoration:none;
}

.phone-link em{
  display:none;
  padding:4px 7px;
  border:1px solid rgba(164,131,43,.22);
  border-radius:999px;
  color:#f3e7b1;
  background:rgba(164,131,43,.07);
  font-size:8px;
  font-style:normal;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.mobile-step-back,
.mobile-step-next,
.mobile-step-status{
  display:none;
}

.pwa-install-banner[hidden]{
  display:none!important;
}

@media(max-width:760px){
  body{
    padding-bottom:calc(76px + env(safe-area-inset-bottom));
  }

  .main{
    padding-bottom:calc(96px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:800;
    min-height:70px;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    padding:7px max(8px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));
    border-top:1px solid rgba(255,255,255,.09);
    background:rgba(28,6,40,.94);
    box-shadow:0 -16px 38px rgba(0,0,0,.28);
    backdrop-filter:blur(20px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button{
    min-width:0;
    min-height:54px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    padding:4px 2px;
    border:0;
    border-radius:12px;
    color:#c3b3ca;
    background:transparent;
    text-decoration:none;
    box-shadow:none;
  }

  .mobile-bottom-nav a span,
  .mobile-bottom-nav button span{
    font-size:19px;
    line-height:1;
  }

  .mobile-bottom-nav small{
    overflow:hidden;
    max-width:100%;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:8px;
    font-weight:800;
  }

  .mobile-bottom-nav a.active,
  .mobile-bottom-nav button.active{
    color:#f3e7b1;
    background:rgba(112,47,138,.12);
  }

  .mobile-bottom-nav a.active span,
  .mobile-bottom-nav button.active span{
    color:#e2c96f;
  }

  .pwa-install-banner{
    position:fixed;
    left:12px;
    right:12px;
    bottom:calc(82px + env(safe-area-inset-bottom));
    z-index:790;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto 30px;
    gap:10px;
    align-items:center;
    padding:11px;
    border:1px solid rgba(112,47,138,.25);
    border-radius:16px;
    color:#f2f5fa;
    background:rgba(50,16,70,.97);
    box-shadow:0 16px 42px rgba(0,0,0,.32);
    backdrop-filter:blur(18px);
  }

  .pwa-install-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    color:#eadff0;
    background:rgba(112,47,138,.12);
    font-size:18px;
  }

  .pwa-install-copy{
    min-width:0;
  }

  .pwa-install-copy strong{
    display:block;
    font-size:10px;
  }

  .pwa-install-copy span{
    display:block;
    margin-top:4px;
    color:#8490a2;
    font-size:8px;
    line-height:1.4;
  }

  .pwa-install-button{
    min-height:38px;
    padding:8px 11px;
    border:0;
    border-radius:10px;
    color:#fff;
    background:#3c1053;
    box-shadow:none;
    font-size:9px;
    font-weight:800;
  }

  .pwa-install-close{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-radius:9px;
    color:#8793a4;
    background:rgba(255,255,255,.045);
    box-shadow:none;
    font-size:17px;
  }

  .mobile-wizard-form{
    padding-bottom:calc(92px + env(safe-area-inset-bottom));
  }

  .mobile-form-progress{
    position:sticky;
    top:calc(62px + env(safe-area-inset-top));
    z-index:20;
    grid-column:1/-1;
    display:flex;
    gap:8px;
    width:100%;
    margin-bottom:4px;
    padding:9px;
    overflow-x:auto;
    border:1px solid var(--line);
    border-radius:15px;
    background:rgba(42,11,61,.94);
    box-shadow:0 9px 28px rgba(0,0,0,.16);
    backdrop-filter:blur(16px);
    scrollbar-width:none;
  }

  .mobile-form-progress::-webkit-scrollbar{
    display:none;
  }

  .mobile-form-progress button{
    min-width:max-content;
    min-height:42px;
    display:flex;
    align-items:center;
    gap:7px;
    padding:7px 10px;
    border:1px solid rgba(255,255,255,.055);
    border-radius:11px;
    color:#c7b8cd;
    background:rgba(255,255,255,.026);
    box-shadow:none;
    font-size:9px;
    font-weight:800;
  }

  .mobile-form-progress button b{
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
    border-radius:8px;
    color:#8b98aa;
    background:rgba(255,255,255,.05);
    font-size:9px;
  }

  .mobile-form-progress button.active{
    border-color:rgba(112,47,138,.30);
    color:#e7ebfa;
    background:rgba(112,47,138,.11);
  }

  .mobile-form-progress button.active b{
    color:#fff;
    background:#3c1053;
  }

  .mobile-form-progress button.completed b{
    color:#f3e7b1;
    background:rgba(164,131,43,.12);
  }

  .mobile-step-hidden{
    display:none!important;
  }

  .mobile-wizard-actions{
    position:fixed!important;
    left:12px;
    right:12px;
    bottom:calc(78px + env(safe-area-inset-bottom));
    z-index:780;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
    gap:8px!important;
    padding:9px!important;
    border:1px solid rgba(255,255,255,.09)!important;
    border-radius:16px!important;
    background:rgba(28,6,40,.96)!important;
    box-shadow:0 14px 38px rgba(0,0,0,.30);
    backdrop-filter:blur(18px)!important;
  }

  .mobile-wizard-actions .mobile-step-back,
  .mobile-wizard-actions .mobile-step-next,
  .mobile-wizard-actions .mobile-step-submit{
    width:100%;
    min-height:48px;
  }

  .mobile-wizard-actions .mobile-step-back,
  .mobile-wizard-actions .mobile-step-next,
  .mobile-wizard-actions .mobile-step-status{
    display:flex;
  }

  .mobile-wizard-actions .mobile-step-status{
    min-width:46px;
    align-items:center;
    justify-content:center;
    color:#8290a2;
    font-size:10px;
    font-weight:800;
  }

  .mobile-wizard-actions .mobile-cancel{
    display:none;
  }

  .mobile-photo-actions{
    grid-template-columns:1fr 1fr;
  }

  .phone-link{
    width:100%;
    min-height:44px;
    justify-content:space-between;
    padding:8px 10px;
    border:1px solid rgba(164,131,43,.13);
    border-radius:10px;
    background:rgba(164,131,43,.045);
  }

  .phone-link em{
    display:inline-flex;
  }

  .icon-action,
  .row-actions .btn,
  .compact-actions .icon-action{
    min-width:44px;
    min-height:44px;
  }

  .topbar .header-actions{
    position:relative;
    z-index:2;
  }
}

@media(max-width:430px){
  .mobile-photo-actions{
    grid-template-columns:1fr;
  }

  .pwa-install-banner{
    grid-template-columns:38px minmax(0,1fr) auto;
  }

  .pwa-install-icon{
    width:38px;
    height:38px;
  }

  .pwa-install-close{
    position:absolute;
    top:5px;
    right:5px;
  }
}

@media(min-width:761px){
  .mobile-wizard-actions .mobile-step-submit{
    display:inline-flex!important;
  }

  .mobile-wizard-actions .mobile-cancel{
    display:inline-flex;
  }
}


/* v2.7.1 - Canlı ve kapsamlı arama */
.global-search-input{
  position:relative;
}

.live-search-spinner{
  position:absolute;
  right:14px;
  top:50%;
  width:17px;
  height:17px;
  display:none;
  margin-top:-8.5px;
  border:2px solid rgba(226,201,111,.18);
  border-top-color:#e2c96f;
  border-radius:50%;
  animation:live-search-spin .7s linear infinite;
}

.global-search-form.is-searching .live-search-spinner{
  display:block;
}

.global-search-form.is-searching .global-search-input input{
  padding-right:44px;
}

.live-search-help{
  margin:-8px 0 17px;
  color:#758193;
  font-size:9px;
  line-height:1.6;
}

.live-search-results[aria-busy="true"]{
  opacity:.62;
  transition:opacity .15s ease;
}

.search-result-detail small{
  display:block;
  margin-top:4px;
  overflow:hidden;
  color:#697587;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:8px;
}

@keyframes live-search-spin{
  to{transform:rotate(360deg)}
}

@media(max-width:760px){
  .live-search-help{
    margin-top:-3px;
    padding:0 2px;
    font-size:9px;
  }
}
