/* ============================================================
   HATIRLATICILAR (Todos)
   ============================================================ */
.rem-add { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.rem-add .rem-add-title { flex: 1 1 260px; min-width: 0; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 15px; color: var(--text-primary); font-size: 14px; font-family: inherit; outline: none; }
.rem-add .rem-add-title:focus { border-color: var(--accent-dim); }
.rem-add input[type=datetime-local], .rem-add select { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 11px 13px; color: var(--text-primary); font-size: 13.5px; font-family: inherit; outline: none; }
.rem-add input[type=datetime-local]:focus, .rem-add select:focus { border-color: var(--accent-dim); }
.rem-add .btn-inline { flex-shrink: 0; }

.rem-list { display: flex; flex-direction: column; gap: 10px; }
.rem-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg-surface); border: 1px solid var(--border); transition: all .14s ease; }
.rem-row:hover { border-color: var(--border-strong); }
.rem-row.done { opacity: .62; }
.rem-inline { display: flex; flex-shrink: 0; }
.rem-check { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border-strong); color: var(--text-muted); display: grid; place-items: center; }
.rem-check svg { width: 15px; height: 15px; }
.rem-check:hover { border-color: var(--accent); color: var(--accent); }
.rem-check.on { background: var(--accent); border-color: transparent; color: #07221b; }
.rem-main { flex: 1; min-width: 0; }
.rem-title { font-weight: 650; font-size: 14.5px; color: var(--text-primary); }
.rem-row.done .rem-title { text-decoration: line-through; }
.rem-desc { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.rem-due { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--text-secondary); background: var(--bg-surface-2); padding: 4px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.rem-due svg { width: 13px; height: 13px; }
.rem-due.overdue { background: rgba(240,85,109,.14); color: var(--danger); }
.rem-pr { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }
.rem-pr.pr-low { background: var(--bg-surface-2); color: var(--text-muted); }
.rem-pr.pr-norm { background: var(--accent2-soft); color: var(--accent2); }
.rem-pr.pr-high { background: rgba(240,176,41,.16); color: var(--warning); }
.rem-del { width: 32px; height: 32px; border-radius: 8px; color: var(--text-muted); display: grid; place-items: center; flex-shrink: 0; }
.rem-del:hover { color: var(--danger); background: var(--bg-surface-2); }
.rem-del svg { width: 17px; height: 17px; }

/* ============================================================
   GEÇMİŞ (History)
   ============================================================ */
.hist-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hfil { padding: 7px 14px; border-radius: 10px; background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-secondary); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.hfil:hover { color: var(--text-primary); border-color: var(--border-strong); }
.hfil.active { background: var(--accent2); border-color: transparent; color: #fff; }

.hist-list { display: flex; flex-direction: column; gap: 8px; }
.hist-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; background: var(--bg-surface); border: 1px solid var(--border); }
.hist-row:hover { border-color: var(--border-strong); }
.hist-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.hist-ic svg { width: 18px; height: 18px; }
.hist-main { flex: 1; min-width: 0; }
.hist-title { font-weight: 600; font-size: 14px; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-meta { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.hist-time { font-size: 12px; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }

/* ============================================================
   NOTLARIM (Todos — not kartları)
   ============================================================ */
.note-add { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; align-items: flex-start; }
.note-add input[name=title] { flex: 1 1 240px; min-width: 0; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 15px; color: var(--text-primary); font-size: 14px; font-family: inherit; outline: none; }
.note-add textarea { flex: 2 1 320px; min-width: 0; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; padding: 11px 14px; color: var(--text-primary); font-size: 13.5px; font-family: inherit; outline: none; resize: vertical; }
.note-add input[name=title]:focus, .note-add textarea:focus { border-color: var(--accent-dim); }

.note-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.note-card { display: flex; flex-direction: column; gap: 8px; padding: 15px; border-radius: 15px; background: var(--bg-surface); border: 1px solid var(--border); transition: all .14s ease; }
.note-card:hover { border-color: var(--border-strong); }
.note-card.done { opacity: .6; }
.note-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.note-title { font-weight: 700; font-size: 15px; color: var(--text-primary); line-height: 1.3; }
.note-card.done .note-title { text-decoration: line-through; }
.note-del { width: 28px; height: 28px; border-radius: 7px; color: var(--text-muted); display: grid; place-items: center; flex-shrink: 0; }
.note-del:hover { color: var(--danger); background: var(--bg-surface-2); }
.note-del svg { width: 15px; height: 15px; }
.note-body { font-size: 13px; color: var(--text-secondary); line-height: 1.45; white-space: pre-wrap; flex: 1; }
.note-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--border); }
.note-date { font-size: 11.5px; color: var(--text-muted); }
.note-check { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.note-check svg { width: 15px; height: 15px; }
.note-check:hover { color: var(--accent-bright); }
.note-check.on { color: var(--accent-bright); }

/* ============================================================
   AYARLAR
   ============================================================ */
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.set-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; }
.set-card-head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text-primary); margin-bottom: 14px; }
.set-card-head svg { width: 17px; height: 17px; color: var(--accent); }
.set-muted { color: var(--text-muted); font-size: 12.5px; }

.set-profile { display: flex; align-items: center; gap: 14px; }
.set-avatar { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(140deg, var(--accent), var(--accent-dim)); color: #07221b; font-weight: 800; font-size: 22px; display: grid; place-items: center; flex-shrink: 0; }
.set-name { font-weight: 700; font-size: 16px; color: var(--text-primary); }
.set-name-row { display: flex; align-items: center; gap: 6px; }
.set-name-edit { display: inline-grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; background: none; color: var(--text-muted); border-radius: 7px; cursor: pointer; transition: .14s; flex-shrink: 0; }
.set-name-edit:hover { color: var(--accent); background: var(--bg-elevated); }
.set-name-edit svg { width: 15px; height: 15px; }
.set-name-form { display: flex; gap: 8px; margin-top: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elevated); }
.set-name-form input { flex: 1; min-width: 0; padding: 9px 11px; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--bg-surface); color: var(--text-primary); font-size: 14px; }
.set-name-form input:focus { outline: none; border-color: var(--accent); }
.set-name-form .btn-inline { flex-shrink: 0; }
.set-email { font-size: 12.5px; color: var(--text-muted); margin: 2px 0 6px; word-break: break-all; }
.set-role { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 20px; background: var(--accent-soft); color: var(--accent-bright); }

.set-plan-name { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--text-primary); }
.set-plan-price { font-size: 14px; color: var(--accent-bright); font-weight: 700; margin-bottom: 12px; }
.set-feats { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 7px; }
.set-feats li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.set-feats svg { width: 15px; height: 15px; color: var(--accent); }

.set-wallet { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.set-wallet span { font-size: 22px; }

.set-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; align-self: flex-start; }
.set-link svg { width: 15px; height: 15px; }
.set-theme { display: flex; gap: 10px; }
.set-theme-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 11px; background: var(--bg-surface-2); border: 1px solid var(--border); color: var(--text-secondary); font-weight: 600; font-size: 13.5px; }
.set-theme-btn svg { width: 16px; height: 16px; }
.set-theme-btn:hover { color: var(--text-primary); }
.set-theme-btn.active { border-color: var(--accent); color: var(--accent-bright); background: var(--accent-soft); }
.set-logout { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 11px; background: rgba(240,85,109,.12); color: var(--danger); font-weight: 700; font-size: 13.5px; width: 100%; justify-content: center; }
.set-logout:hover { background: rgba(240,85,109,.2); }
.set-logout svg { width: 16px; height: 16px; }

/* Profil fotoğrafı */
.set-avatar.has-photo, .tb-avatar.has-photo { background: none; }
.set-avatar img, .tb-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.set-avatar { overflow: hidden; }
.tb-avatar { overflow: hidden; }
.set-photo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.set-photo-btn { cursor: pointer; margin-top: 0; }
.set-photo-remove { color: var(--danger); margin-top: 0; }
.set-photo-remove:hover { color: var(--danger); opacity: .8; }
.set-photo-hint { margin-top: 8px; font-size: 12px; }

/* E-posta değiştir (açılır) */
.set-emailchg { margin-bottom: 10px; }
.set-emailchg > summary { list-style: none; cursor: pointer; margin-top: 0; }
.set-emailchg > summary::-webkit-details-marker { display: none; }
.set-emailchg[open] > summary { color: var(--accent); }
.set-emailchg-form { margin-top: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-elevated); }
.set-emailchg-form .field { margin-bottom: 12px; }
.set-emailchg-form .btn-inline { width: 100%; justify-content: center; }

/* Ana sayfa arama — canlı sonuç açılır listesi */
.dash-search { position: relative; z-index: 30; }
.ds-input { position: relative; }
.ds-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 7px; color: var(--text-muted); display: grid; place-items: center; }
.ds-clear:hover { color: var(--text-primary); background: var(--bg-surface-2); }
.ds-clear svg { width: 15px; height: 15px; }
.ds-input input { padding-right: 34px; }
.ds-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: var(--bg-elevated); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow); padding: 6px; max-height: 380px; overflow-y: auto; }
.dsr-empty { padding: 16px; text-align: center; color: var(--text-muted); font-size: 13px; }
.dsr-item { display: flex; align-items: center; gap: 11px; padding: 10px 11px; border-radius: 10px; }
.dsr-item:hover { background: var(--bg-surface-2); }
.dsr-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex-shrink: 0; }
.dsr-ic svg { width: 17px; height: 17px; }
.dsr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dsr-name { font-weight: 600; font-size: 13.5px; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dsr-sub { font-size: 11.5px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dsr-tag { font-size: 10.5px; font-weight: 700; color: var(--text-muted); background: var(--bg-surface); padding: 2px 8px; border-radius: 20px; white-space: nowrap; flex-shrink: 0; }

/* Sidebar — menüde ara + "Yakında" placeholder öğeleri */
.nav-search { display: flex; align-items: center; gap: 8px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px 11px; margin: 2px 0 8px; }
.nav-search svg { width: 15px; height: 15px; color: var(--text-muted); flex-shrink: 0; }
.nav-search input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: var(--text-primary); font-size: 13px; font-family: inherit; }
.nav-search input::placeholder { color: var(--text-muted); }
.nav-search:focus-within { border-color: var(--accent-dim); }

.nav-item.nav-soon { color: var(--text-muted); }
.nav-item.nav-soon:hover { color: var(--text-secondary); }
.nav-soon-tag { margin-left: auto; font-size: 9px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--text-muted); background: var(--bg-surface-2); padding: 2px 6px; border-radius: 6px; flex-shrink: 0; }
.nav-empty { padding: 14px 12px; color: var(--text-muted); font-size: 12.5px; text-align: center; }

