/* ============ Marmarotay Panel — Giriş ============ */
.panel-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 90px 32px 140px;
}
.panel-main.wide { max-width: 1000px; }
.panel-main h1 {
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.panel-main > p.panel-sub {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 0 40px;
}

.login-card {
  background: #131313;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 40px 38px;
}

.google-note {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0 0 18px;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 24px;
  color: rgba(255,255,255,0.35);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-divider::before, .form-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.12);
}

.auth-tabs {
  display: flex; gap: 4px; margin-bottom: 26px;
  background: rgba(255,255,255,0.05); border-radius: 11px; padding: 4px;
}
.auth-tab {
  flex: 1; text-align: center; padding: 10px; border-radius: 8px;
  font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,0.5);
  cursor: pointer; border: none; background: none; font-family: inherit;
  transition: background .15s ease, color .15s ease;
}
.auth-tab.active { background: #fff; color: #0d0d0d; }

.auth-panel { display: none; }
.auth-panel.active { display: block; }

.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5);
  margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.04em;
}
.auth-field input {
  width: 100%; padding: 12px 14px; border-radius: 9px;
  border: 1.5px solid rgba(255,255,255,0.12); background: #1b1b1b; color: #fff;
  font-family: inherit; font-size: 14.5px; outline: none; transition: border-color .15s ease;
}
.auth-field input:focus { border-color: #fff; }
.auth-field input::placeholder { color: rgba(255,255,255,0.3); }

.auth-error {
  display: none; font-size: 13px; color: #ff9d8a; margin-bottom: 14px; line-height: 1.5;
}
.auth-error.show { display: block; }

.auth-switch { text-align: center; font-size: 13.5px; color: rgba(255,255,255,0.5); margin-top: 18px; }
.auth-switch button {
  background: none; border: none; color: #fff; font-weight: 700;
  text-decoration: underline; cursor: pointer; font-family: inherit; padding: 0; font-size: inherit;
}
.auth-switch button:hover { color: var(--accent-red, #e6362c); }

@media (max-width: 640px) {
  .panel-main { padding: 60px 20px 100px; }
  .login-card { padding: 30px 22px; }
}

/* ---------- Edu application flow ---------- */
.edu-progress { display: flex; gap: 6px; margin-bottom: 36px; }
.edu-progress span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.1); transition: background .2s ease; }
.edu-progress span.done { background: #fff; }

.edu-step { display: none; }
.edu-step.active { display: block; animation: panelFadeIn .3s ease both; }

.edu-student-card {
  background: #1b1b1b; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  padding: 16px 18px; margin: 18px 0; display: none;
}
.edu-student-card.show { display: block; }
.edu-student-card .name { font-weight: 700; font-size: 15px; margin: 0 0 3px; }
.edu-student-card .handle { font-size: 13px; color: rgba(255,255,255,0.45); margin: 0; }

/* Custom checkbox — same hidden-input + pseudo-element technique as
   .settings-toggle, styled as a square check rather than a track/thumb. */
.edu-check-row {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px;
  font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.55; cursor: pointer;
}
.edu-checkbox { position: relative; width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.edu-checkbox input { opacity: 0; width: 0; height: 0; position: absolute; }
.edu-checkbox-box {
  position: absolute; inset: 0; border-radius: 6px; border: 1.5px solid rgba(255,255,255,0.25);
  background: #1b1b1b; transition: background .15s ease, border-color .15s ease;
}
.edu-checkbox-box::after {
  content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid #0d0d0d; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0);
  transition: transform .15s cubic-bezier(.34,1.56,.64,1);
}
.edu-checkbox input:checked + .edu-checkbox-box { background: #fff; border-color: #fff; }
.edu-checkbox input:checked + .edu-checkbox-box::after { transform: rotate(45deg) scale(1); }

/* Document type selector — same pill/segment language as .auth-tab */
.edu-doc-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.edu-doc-type {
  padding: 13px 14px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.1);
  background: #1b1b1b; color: rgba(255,255,255,0.6); font-size: 13.5px; font-weight: 600;
  cursor: pointer; text-align: center; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.edu-doc-type:hover { border-color: rgba(255,255,255,0.25); }
.edu-doc-type.selected { background: #fff; border-color: #fff; color: #0d0d0d; }

.edu-upload-box {
  border: 1.5px dashed rgba(255,255,255,0.2); border-radius: 12px; padding: 30px 16px;
  text-align: center; cursor: pointer; margin-bottom: 18px; transition: border-color .15s ease, background .15s ease;
}
.edu-upload-box:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.02); }
.edu-upload-box.has-file { border-style: solid; border-color: rgba(110,231,168,0.4); background: rgba(110,231,168,0.04); }
.edu-upload-box p { margin: 0; color: rgba(255,255,255,0.6); font-size: 14px; }

.edu-step-title { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.edu-step-subtitle { font-size: 13.5px; color: rgba(255,255,255,0.5); margin: 0 0 20px; line-height: 1.55; }

.edu-done { text-align: center; padding: 12px 0; }
.edu-done .icon {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(110,231,168,0.12);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.edu-done .icon svg { width: 24px; height: 24px; color: #6ee7a8; }
.edu-done p.title { font-size: 18px; font-weight: 800; margin: 0 0 10px; }
.edu-done p.body { color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0; }

/* ---------- Google linking explainer (3-step diagram) ---------- */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin: 56px 0 50px;
  flex-wrap: wrap;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 230px;
}
.step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.step-visual.card {
  width: 180px; height: 180px;
  background: #fff;
  border-radius: 20px;
}
.step-letter { font-size: 60px; font-weight: 800; color: #0d0d0d; }
.step-visual.icon svg { width: 100px; height: 100px; }
.step-visual.circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: #fff;
}
.step-visual.circle svg { width: 44px; height: 44px; }
.step p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  margin: 0;
}
.step-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 180px;
  color: #fff;
}
.step-arrow svg { width: 48px; height: 28px; }

@media (max-width: 860px) {
  .steps-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .step-arrow { height: auto; transform: rotate(90deg); padding: 4px 0; }
}
