/* ===== Hekim paneli (.ey-dp) — proje tokenlarıyla ===== */
.ey-dp { max-width: 820px; margin: 0 auto; }
.ey-dp--wide { max-width: none; }
.ey-dp h2 { margin: 0 0 6px; }
.ey-dp__hint { font-size: .92rem; color: var(--ey-muted); background: var(--ey-surface); border: 1px solid var(--ey-border); border-radius: var(--ey-radius-sm); padding: 10px 14px; }
.ey-dp__note { font-size: .85rem; color: var(--ey-muted); margin: 10px 0 0; line-height: 1.5; }
.ey-dp__msg { padding: 10px 14px; border-radius: var(--ey-radius-sm); margin: 12px 0; font-size: .92rem; }
.ey-dp__msg--ok { background: #ecf7f0; border: 1px solid #b7e0c7; color: #1f6b43; }
.ey-dp__msg--err { background: #fdf0ee; border: 1px solid #f3c6bf; color: #9b2c1f; }
.ey-dp__msg--pending { background: #fdf6ea; border: 1px solid #f1d9ae; color: #8a5a14; }

/* Başlık */
.ey-dp__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.ey-dp__head h2 { font-size: 1.5rem; }
.ey-dp__sub { margin: 0; color: var(--ey-muted); font-size: .92rem; }
.ey-dp__head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* İki sütun: sol özet (yapışkan), sağ form */
.ey-dp__layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 12px; }
.ey-dp__side { position: sticky; top: 90px; display: grid; gap: 16px; }
.ey-dp__main { display: grid; gap: 18px; min-width: 0; }
@media (max-width: 900px) {
	.ey-dp__layout { grid-template-columns: 1fr; }
	.ey-dp__side { position: static; }
}

/* Kartlar */
.ey-dp__card { background: #fff; border: 1px solid var(--ey-border); border-radius: var(--ey-radius); box-shadow: var(--ey-shadow); padding: 18px 20px; margin: 0; min-width: 0; }
.ey-dp__card-h { margin: 0 0 10px; font-size: 1rem; }
.ey-dp__meter-top { display: flex; justify-content: space-between; align-items: baseline; font-size: .92rem; color: var(--ey-ink); }
.ey-dp__meter-top strong { font-size: 1.25rem; color: var(--ey-primary); }
.ey-dp__bar { height: 8px; background: var(--ey-border); border-radius: 5px; overflow: hidden; margin: 8px 0 2px; }
.ey-dp__bar span { display: block; height: 100%; background: var(--ey-primary); border-radius: 5px; }
.ey-dp__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--ey-border); }
.ey-dp__stats dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .4px; color: var(--ey-muted); }
.ey-dp__stats dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; }
.ey-dp__stats dd.is-ok { color: var(--ey-ok); }
.ey-dp__stats dd.is-pending { color: #a8680f; }
.ey-dp__listings { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ey-dp__listings li { font-size: .88rem; line-height: 1.4; }
.ey-dp__listings a { color: var(--ey-ink); text-decoration: none; font-weight: 600; }
.ey-dp__listings a:hover { color: var(--ey-primary-600); }
.ey-dp__listings em { display: block; color: var(--ey-muted); font-style: normal; font-size: .8rem; }
.ey-dp__verify summary { cursor: pointer; font-weight: 600; }
.ey-dp__vtable { width: 100%; border-collapse: collapse; margin: 10px 0 0; font-size: .85rem; }
.ey-dp__vtable th { text-align: left; color: var(--ey-muted); font-weight: 500; padding: 5px 6px 5px 0; width: 45%; vertical-align: top; }
.ey-dp__vtable td { padding: 5px 0; }

/* Form grupları */
.ey-dp__form { display: grid; gap: 18px; }
.ey-dp__group { border: 1px solid var(--ey-border); }
.ey-dp__group legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-size: 1.05rem; font-weight: 700; }
.ey-dp__group legend + * { clear: both; }
.ey-dp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.ey-dp__row { display: flex; flex-direction: column; gap: 5px; margin: 0; min-width: 0; }
.ey-dp__row--full { grid-column: 1 / -1; }
.ey-dp__row label { font-weight: 600; font-size: .92rem; }
.ey-dp__row input:not([type="file"]):not([type="checkbox"]), .ey-dp__row textarea, .ey-dp__search input { width: 100%; padding: 10px 12px; border: 1px solid var(--ey-border); border-radius: var(--ey-radius-sm); font: inherit; background: #fff; }
.ey-dp__row input:focus, .ey-dp__row textarea:focus, .ey-dp__search input:focus { outline: 2px solid var(--ey-primary-50); border-color: var(--ey-primary); }
.ey-dp__help { color: var(--ey-muted); font-size: .8rem; }
.ey-dp__pend { color: #a8680f; font-size: .85rem; font-weight: 600; }
@media (max-width: 640px) { .ey-dp__grid { grid-template-columns: 1fr; } .ey-dp__row--half { grid-column: 1 / -1; } }

/* Fotoğraf */
.ey-dp__photo { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ey-dp__photo-img, .ey-dp__photo-ph { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--ey-primary-50); border: 1px solid var(--ey-border); flex: none; display: block; }
.ey-dp__photo .ey-dp__row { flex: 1; min-width: 220px; }

/* Kaydet çubuğu */
.ey-dp__savebar { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; border: 1px solid var(--ey-border); border-radius: var(--ey-radius); box-shadow: 0 -4px 18px rgba(24,36,43,.08); padding: 14px 18px; }
.ey-dp__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; line-height: 1.45; flex: 1; min-width: 240px; margin: 0; }
.ey-dp__consent input { margin-top: 3px; }

/* Randevu talepleri */
.ey-dp__appts-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ey-dp__appt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: flex-start; border: 1px solid var(--ey-border); border-left: 4px solid #c3ced3; border-radius: var(--ey-radius-sm); padding: 10px 14px; background: #fff; }
.ey-dp__appt--yeni { border-left-color: var(--ey-primary); background: var(--ey-primary-50); }
.ey-dp__appt--arandi { border-left-color: var(--ey-accent); }
.ey-dp__appt--tamamlandi { border-left-color: var(--ey-ok); opacity: .75; }
.ey-dp__appt--iptal { opacity: .6; }
.ey-dp__appt-body { font-size: .92rem; line-height: 1.5; }
.ey-dp__appt-meta { color: var(--ey-muted); }
.ey-dp__appt-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.ey-dp__appt-actions button { font-size: .78rem; padding: 4px 10px; border: 1px solid var(--ey-border); border-radius: 16px; background: #fff; cursor: pointer; }
.ey-dp__appt-actions button:hover { border-color: var(--ey-primary); color: var(--ey-primary-600); }
.ey-dp__appt-cancel:hover { border-color: #c0392b !important; color: #c0392b !important; }

/* Profil arama / talep (profili olmayan hekim) */
.ey-dp__search { display: flex; gap: 8px; margin: 12px 0; }
.ey-dp__search input { flex: 1; }
.ey-dp__results { list-style: none; padding: 0; margin: 14px 0; }
.ey-dp__results li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--ey-border); border-radius: var(--ey-radius-sm); margin-bottom: 8px; background: #fff; }
.ey-dp__claimbtn { font-size: .85rem; padding: 5px 12px; border: 1px solid var(--ey-primary); border-radius: 20px; color: var(--ey-primary-600); text-decoration: none; white-space: nowrap; }
.ey-dp__claimbtn:hover { background: var(--ey-primary); color: #fff; }
.ey-dp__taken { color: var(--ey-muted); font-size: .82rem; }
.ey-dp__cancel { margin-left: 10px; color: var(--ey-muted); }
.ey-dp__logout { margin-top: 16px; font-size: .85rem; }

/* Geniş panel: sayfa içerik sütununu aç */
body.ey-panel-page .ey-content { max-width: 1100px; }
