*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:   #007AFF;
  --red:    #FF3B30;
  --bg:     #F5F7FA;
  --card:   #fff;
  --text:   #1C1C1E;
  --muted:  #6B7280;
  --border: #E5E7EB;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* ─── NAV ────────────────────────────────────────── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 60px;
  background: #fff; border-bottom: 1px solid var(--border);
}
.logo       { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; font-weight: 700; color: var(--blue); text-decoration: none; }
.logo img   { width: 30px; height: 30px; border-radius: 7px; }
.back       { font-size: 0.9rem; color: var(--blue); text-decoration: none; }
.lang-switch { font-size: 0.85rem; font-weight: 600; color: var(--blue); cursor: pointer; border: 1px solid var(--blue); background: none; padding: 4px 10px; border-radius: 20px; }

/* ─── LAYOUT ─────────────────────────────────────── */
.container { max-width: 760px; margin: 48px auto; padding: 0 20px 80px; }

/* ─── TYPOGRAPHY ─────────────────────────────────── */
.lang-badge { display: inline-block; background: #EAF3FF; color: var(--blue); font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
h1     { font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 6px; }
.meta  { font-size: 0.85rem; color: var(--muted); margin-bottom: 36px; }
h2     { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: var(--blue); }
h2.red { color: var(--red); }
p, li  { font-size: 0.95rem; color: #374151; margin-bottom: 10px; }
ul     { padding-left: 20px; }
li     { margin-bottom: 6px; }

/* ─── CARDS ──────────────────────────────────────── */
.card         { background: var(--card); border-radius: 16px; border: 1px solid var(--border); padding: 32px; margin-bottom: 20px; }
.card.warning { border-color: #FECACA; background: #FFF5F5; }
.divider      { border: none; border-top: 2px dashed var(--border); margin: 48px 0; }

/* ─── TABLE (KVKK) ───────────────────────────────── */
table             { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.9rem; }
th, td            { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
th                { background: #F9FAFB; font-weight: 600; }

/* ─── FORM (Delete Account) ──────────────────────── */
.form-group { margin-bottom: 20px; }
label       { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
input, select, textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 0.95rem; font-family: inherit;
  background: #fff; color: var(--text);
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
textarea { height: 100px; resize: vertical; }

.checkbox-group                      { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-group input[type=checkbox] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; accent-color: var(--red); }
.checkbox-group label                { font-size: 0.9rem; color: #374151; font-weight: 400; }

.btn-submit          { width: 100%; padding: 14px; background: var(--red); color: #fff; border: none; border-radius: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: opacity .2s; margin-top: 8px; }
.btn-submit:hover    { opacity: .85; }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; }

.success-box      { display: none; background: #ECFDF5; border: 1.5px solid #6EE7B7; border-radius: 12px; padding: 20px; margin-top: 20px; text-align: center; }
.success-box .icon { font-size: 2.5rem; margin-bottom: 8px; }
.success-box h3    { font-size: 1.1rem; font-weight: 700; color: #065F46; margin-bottom: 6px; }
.success-box p     { font-size: 0.9rem; color: #047857; margin-bottom: 0; }

/* ─── FOOTER ─────────────────────────────────────── */
footer { text-align: center; padding: 24px; font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--border); }

/* ─── LANG ───────────────────────────────────────── */
[data-lang="en"]              { display: none; }
body.lang-en [data-lang="tr"] { display: none; }
body.lang-en [data-lang="en"] { display: revert; }
