/* ==========================================================================
   RS Emlak — hesap modülü: favoriler sayfası, abonelik ekranı, müşteri hesabı.
   main.css / panel.css değişkenleri ve bileşenleri kullanılır.
   ========================================================================== */

/* ---------- Favori ilanlarım ---------- */
.acc-favwrap { padding-top: 22px; padding-bottom: 56px; }
.acc-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.acc-banner p { margin: 0; flex: 1 1 240px; font-size: .93rem; line-height: 1.5; color: var(--ink-3); }
.acc-banner strong { color: var(--ink); }
.acc-banner-ic { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--green-wash); color: var(--green); flex: none; }
.acc-banner.is-gold { background: var(--gold-wash); border-color: #ecdcbc; }
.acc-banner.is-gold .acc-banner-ic { background: #fff; color: #c2410c; }
.acc-banner.is-muted .acc-banner-ic { background: var(--mist); color: var(--muted); }
.acc-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 599px) {
	.acc-banner { align-items: flex-start; }
	.acc-banner p { flex-basis: calc(100% - 60px); }
	.acc-banner-actions, .acc-banner > .btn { width: 100%; }
	.acc-banner-actions .btn { flex: 1; }
}
.acc-skel .card-media { background: linear-gradient(90deg, var(--mist) 25%, var(--mist-2) 50%, var(--mist) 75%); background-size: 200% 100%; animation: acc-sh 1.2s linear infinite; }
.acc-skel .card-body { min-height: 120px; }
.acc-skel .card-body i { display: block; height: 12px; border-radius: 6px; background: var(--mist); margin: 6px 0; }
.acc-skel .card-body i:nth-child(2) { width: 80%; }
.acc-skel .card-body i:nth-child(3) { width: 50%; }
@keyframes acc-sh { to { background-position: -200% 0; } }
.card.acc-out { opacity: 0; transform: scale(.96); transition: opacity .25s, transform .25s; }
.acc-gone .card-media img { filter: grayscale(1) opacity(.75); }
.acc-gone .card-title { color: var(--muted); }
.acc-gone-note { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.acc-gone-note a { position: relative; z-index: 2; font-weight: 700; }
.acc-err { color: var(--red); font-weight: 600; }

/* ---------- Abonelik / bildirim yönetimi ---------- */
.acc-unsub { padding: 40px 0 72px; background: var(--mist); }
.acc-unsub > .wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.acc-unsub-card { max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 34px 22px 28px; text-align: center; box-shadow: var(--shadow); }
@media (min-width: 600px) { .acc-unsub-card { padding: 40px 40px 32px; } }
.acc-unsub-ic { width: 66px; height: 66px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; background: var(--gold-wash); color: var(--gold-ink); }
.acc-unsub-card.is-done .acc-unsub-ic { background: var(--green-wash); color: var(--green); }
.acc-unsub-card.is-error .acc-unsub-ic { background: var(--red-wash); color: var(--red); }
.acc-unsub-card h1 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); margin-bottom: .4em; }
.acc-unsub-text { color: var(--ink-3); margin: 0; overflow-wrap: anywhere; }
.acc-unsub-form { margin: 22px 0 6px; }
.acc-unsub-note { font-size: .84rem; line-height: 1.55; color: var(--muted); margin: 14px 0 0; }
.acc-unsub-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 480px) { .acc-unsub-actions .btn { flex: 1 1 100%; } }

/* ---------- Hesap alanı (/hesabim/) ---------- */
.pn-content .grid-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.acc-of { font-style: normal; font-size: .9rem; color: var(--muted); font-weight: 700; margin-left: 2px; }
.pn-stat strong.acc-stat-txt { font-size: 1.25rem; padding: 3px 0; }
.acc-steps ol { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 14px; }
.acc-steps li { display: flex; gap: 12px; align-items: flex-start; }
.acc-steps li > span { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-wash); color: var(--gold-ink); flex: none; }
.acc-steps li.is-done > span { background: var(--green-wash); color: var(--green); }
.acc-steps li strong { color: var(--ink); }
.acc-steps li p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.acc-steps li.is-done strong { text-decoration: line-through; color: var(--muted); }
.acc-block { margin: 24px 0; }
.acc-block-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-size: 1.12rem; margin: 0 0 12px; }
.acc-block-title small { font-weight: 600; font-size: .82rem; color: var(--muted); flex-basis: 100%; order: 3; }
.acc-block-title a { margin-left: auto; font-size: .88rem; display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font-weight: 700; }
.acc-inline-pref { margin: -4px 0 16px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.acc-inline-pref .switch span { line-height: 1.35; }
.acc-notice { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.acc-alarms .pn-row-meta { align-items: center; }
.acc-alarms .price-drop, .acc-alarms .price-old { font-size: .8rem; }
.acc-foot-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* Kayıtlı aramalar */
.acc-searches { display: grid; gap: 12px; }
.acc-search.pn-card { margin: 0; padding: 16px; }
.acc-search-head { display: flex; gap: 12px; align-items: flex-start; }
.acc-search-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-wash); color: var(--gold-ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.acc-search-main { min-width: 0; }
.acc-search-name { margin: 0; font-size: 1.02rem; line-height: 1.35; overflow-wrap: anywhere; }
.acc-search-meta { margin: 4px 0 0; font-size: .82rem; color: var(--muted); }
.acc-search-ctrl { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--mist-2); }
.acc-freq { display: flex; flex-direction: column; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--muted); flex: 1 1 200px; max-width: 280px; }
.acc-freq .select { min-height: 44px; font-size: 16px; }
.acc-search-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.acc-search-actions .btn { min-height: 44px; }
@media (max-width: 599px) {
	.acc-freq { max-width: none; }
	.acc-search-actions { width: 100%; }
	.acc-search-actions .btn:not(.btn-icon) { flex: 1; }
}

/* Profil ve tercihler */
.acc-current-mail { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; overflow-wrap: anywhere; }
.acc-current-mail .rs-i { color: var(--gold); }
.acc-details > summary { list-style: none; cursor: pointer; display: inline-flex; }
.acc-details > summary::-webkit-details-marker { display: none; }
.acc-details[open] > summary { margin-bottom: 14px; background: var(--mist); }
.acc-prefs-group { margin: 8px 0 2px; font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--gold-ink); }
.acc-prefs-group + .acc-pref { padding-top: 8px; }
.acc-pref { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--mist-2); cursor: pointer; }
.acc-pref:last-of-type { border-bottom: 0; }
.acc-pref-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acc-pref-text strong { font-size: .95rem; color: var(--ink); line-height: 1.35; }
.acc-pref-text small { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.acc-consent { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--green); margin-top: 4px; }
.acc-pref .switch { flex: none; }
.acc-legal { font-size: .78rem; color: var(--muted); line-height: 1.55; margin: 12px 0 0; }
.acc-danger { border-color: #f1d3d1; }
.acc-danger .pn-card-title { color: var(--red); }
.acc-danger p { font-size: .9rem; color: var(--ink-3); }
.btn.acc-danger-btn { color: var(--red); border-color: #f1d3d1; }
.acc-danger .check { margin: 4px 0 14px; font-size: .88rem; }
.acc-rename h3 { padding-right: 36px; }

/* /takiplerim/ */
.tk-wrap { padding-top: 22px; padding-bottom: 64px; max-width: 880px; }
.tk-sec { margin: 0 0 28px; }
.tk-sec-title { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; margin: 0 0 4px; }
.tk-sec-title .rs-i { color: var(--gold-ink); }
.tk-sec-title span { display: inline-block; min-width: 1.7em; padding: 1px 7px; border-radius: 999px; background: var(--mist); font-size: .8rem; text-align: center; color: var(--ink-3); }
.tk-sec-sub { margin: 0 0 12px; font-size: .9rem; color: var(--muted); }
.tk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tk-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.tk-row-main { flex: 1 1 320px; display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.tk-row-img { flex: none; width: 88px; height: 66px; object-fit: cover; border-radius: var(--r-s); background: var(--mist); }
.tk-row-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-s); background: var(--gold-wash); color: var(--gold-ink); }
.tk-row-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tk-row-text strong { font-size: .97rem; line-height: 1.35; color: var(--ink); }
a.tk-row-main:hover strong { color: var(--gold-ink); }
.tk-row-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .84rem; color: var(--muted); }
.tk-row-meta b { color: var(--ink); }
.tk-drop { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; }
.tk-row-act { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.tk-row-act form { margin: 0; }
.tk-row-act .select { min-height: 38px; padding-top: 6px; padding-bottom: 6px; font-size: .88rem; }
@media (max-width: 560px) {
	.tk-row-act { width: 100%; margin-left: 0; }
	.tk-row-act form:last-child { margin-left: auto; }
	.tk-row-img { width: 72px; height: 56px; }
}
.tk-all { margin: 8px 0 0; text-align: center; }
.tk-all .link-btn { color: var(--red); font-weight: 600; }
.tk-wrap .tk-legal { margin: 20px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.tk-mini { display: flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); text-align: left; color: inherit; text-decoration: none; }
.tk-mini-img { flex: none; width: 72px; height: 54px; object-fit: cover; border-radius: var(--r-s); }
.tk-mini span { display: flex; flex-direction: column; min-width: 0; }
.tk-mini strong { font-size: .92rem; line-height: 1.35; color: var(--ink); }
.tk-mini small { font-size: .84rem; color: var(--muted); }
.tk-ask .input { width: 100%; margin-bottom: 10px; }
.tk-ask .rs-form-msg { margin: 0 0 10px; }
