/*
 * Ana sayfa: urun gorunumu HTML/CSS ile ciziliyor.
 *
 * Ekran goruntusu dosyasi yok; blok cevirilere uyuyor, mobilde esniyor ve urun
 * degistiginde bayatlamiyor. Renkler panelin GERCEK slot renkleri
 * (Slot::getSlotDetailForCalendar) -- tanitim gercek uruna benzesin.
 */
.dk-hero {
    background: linear-gradient(180deg, #f4f6fb 0%, #ffffff 100%);
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.dk-hero h1 {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #16224f;
}

.dk-hero .dk-lead {
    font-size: 1.15rem;
    color: #4b5468;
    max-width: 34rem;
}

.dk-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c88f14;
    margin-bottom: 0.75rem;
}

/* --- Cizilen takvim --- */
.dk-window {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(22, 34, 79, 0.16);
    overflow: hidden;
    border: 1px solid #e6e9f2;
}

.dk-window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f2f4f9;
    border-bottom: 1px solid #e6e9f2;
}

/* Yalnizca BOS span'ler pencere noktasi. `:not(.dk-window-title)` sart: baslik da
   ayni cubugun icinde bir <span> ve bu kural onu da 10x10 bir daireye sikistiriyordu --
   "Cari Hesap · A. Yilmaz" metni noktanin disina tasip kayik gorunuyordu. */
.dk-window-bar > span:not(.dk-window-title) {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d3d8e6;
    flex: 0 0 auto;
}

.dk-window-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: #7b849c;
    font-weight: 600;
    /* Dar ekranda uzun baslik cubugu tasirmasin. */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.dk-cal {
    display: grid;
    grid-template-columns: 2.6rem repeat(5, 1fr);
    gap: 3px;
    padding: 12px;
}

.dk-cal-head {
    font-size: 0.7rem;
    font-weight: 700;
    color: #7b849c;
    text-align: center;
    padding-bottom: 4px;
    text-transform: uppercase;
}

.dk-cal-hour {
    font-size: 0.65rem;
    color: #9aa2b6;
    text-align: right;
    padding-right: 6px;
    line-height: 1.9rem;
}

.dk-slot {
    border-radius: 5px;
    font-size: 0.66rem;
    line-height: 1.15;
    padding: 4px 5px;
    min-height: 1.9rem;
    border-left: 3px solid transparent;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dk-slot-free      { background: #d5f5d3; color: #10330d; border-left-color: #238f1a; }
.dk-slot-booked    { background: #f7e9cd; color: #4d3403; border-left-color: #e69f15; }
.dk-slot-done      { background: #d3dcf5; color: #081e5e; border-left-color: #2a4db0; }
.dk-slot-private   { background: #fcd7fc; color: #3a133a; border-left-color: #521752; }
.dk-slot-empty     { background: #f7f8fb; }

.dk-slot small { display: block; opacity: 0.75; font-size: 0.6rem; }

/* Takvimin uzerinde duran kucuk kartlar */
.dk-float {
    position: absolute;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(22, 34, 79, 0.18);
    padding: 9px 12px;
    font-size: 0.75rem;
    border: 1px solid #e6e9f2;
    max-width: 15rem;
}

.dk-float i { color: #203070; }

.dk-float-1 { bottom: -14px; left: -10px; }
.dk-float-2 { top: 18%; right: -14px; }

@media (max-width: 991.98px) {
    .dk-float { position: static; margin-top: 12px; max-width: none; }
    .dk-hero { padding-top: 5.5rem; }
}

/* --- Ozellik gruplari --- */
.dk-feature-group {
    background: #fff;
    border: 1px solid #e6e9f2;
    border-radius: 14px;
    height: 100%;
    padding: 1.75rem;
}

.dk-feature-group h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #16224f;
    margin-bottom: 0.35rem;
}

.dk-feature-group .dk-group-note {
    font-size: 0.82rem;
    color: #7b849c;
    margin-bottom: 1.1rem;
}

.dk-feature-group ul { list-style: none; padding: 0; margin: 0; }

.dk-feature-group li {
    display: flex;
    gap: 0.6rem;
    padding: 0.42rem 0;
    font-size: 0.88rem;
    color: #3c4457;
    border-top: 1px solid #f0f2f7;
}

.dk-feature-group li:first-child { border-top: 0; }
.dk-feature-group li i { color: #203070; flex: 0 0 auto; margin-top: 0.15rem; }

.dk-group-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef1f8;
    color: #203070;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

/* --- Guven --- */
.dk-trust {
    background: #16224f;
    color: #dfe4f2;
    border-radius: 16px;
    padding: 2.5rem;
}

.dk-trust h2 { color: #fff; font-weight: 800; }
.dk-trust .dk-trust-item { border-left: 3px solid #f0b429; padding-left: 0.9rem; }
.dk-trust .dk-trust-item h4 { font-size: 0.95rem; font-weight: 700; color: #fff; }
.dk-trust .dk-trust-item p { font-size: 0.85rem; color: #b8c0d8; margin: 0; }

/* --- Fiyat ozeti --- */
.dk-price-card {
    border: 1px solid #e6e9f2;
    border-radius: 14px;
    background: #fff;
    padding: 2rem;
}

.dk-price-free {
    font-size: 2.4rem;
    font-weight: 800;
    color: #16224f;
    line-height: 1;
}

/*
 * Gosterim bolumu: takvim aboneligi ve danisan cari hesabi (ticket ui-polish/07).
 *
 * Ikisi de madde satiri olarak degil GOSTERILEREK anlatiliyor: ustteki ozellik listesi
 * zaten yogun, oraya iki satir daha eklemek gorunurluk kazandirmiyordu.
 *
 * Cizim yine HTML/CSS: ekran goruntusu ceviriye uymaz, arayuz degisince bayatlar ve dar
 * ekranda yeniden akmaz.
 */
.dk-spotlight {
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
}

/* --- Telefon cercevesi --- */
.dk-phone {
    position: relative;
    width: 100%;
    max-width: 320px;
    background: #10162e;
    border-radius: 34px;
    padding: 10px;
    box-shadow: 0 22px 50px rgba(22, 34, 79, 0.22);
}

.dk-phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 42%;
    height: 18px;
    background: #10162e;
    border-radius: 0 0 12px 12px;
    z-index: 2;
}

.dk-phone-screen {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    padding: 26px 14px 12px;
}

.dk-phone-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 4px 4px 10px;
    border-bottom: 1px solid #eef0f6;
}

.dk-phone-month {
    font-size: 0.72rem;
    font-weight: 700;
    color: #7b849c;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dk-phone-day {
    font-size: 1.4rem;
    font-weight: 800;
    color: #16224f;
    margin-left: auto;
    line-height: 1;
}

.dk-agenda {
    padding: 8px 0;
}

.dk-agenda-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}

.dk-agenda-time {
    flex: 0 0 2.7rem;
    font-size: 0.62rem;
    color: #9aa2b6;
    text-align: right;
}

.dk-agenda-item {
    flex: 1;
    font-size: 0.7rem;
    line-height: 1.2;
    padding: 7px 9px;
    border-radius: 7px;
    border-left: 3px solid transparent;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Dokran randevusu panelin gercek "rezerve" rengiyle; digerleri notr. */
.dk-agenda-dokran {
    background: #d3dcf5;
    color: #081e5e;
    border-left-color: #2a4db0;
}

.dk-agenda-other {
    background: #f2f4f9;
    color: #4b5468;
    border-left-color: #c8cfe0;
}

.dk-phone-foot {
    display: flex;
    align-items: center;
    font-size: 0.62rem;
    color: #9aa2b6;
    padding: 8px 4px 2px;
    border-top: 1px solid #eef0f6;
}

.dk-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.dk-dot-dokran { background: #2a4db0; }
.dk-dot-other  { background: #c8cfe0; }

/* --- Cari ekstre karti --- */
.dk-ledger {
    padding: 14px 16px 16px;
}

.dk-ledger-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px dashed #edeff5;
    font-size: 0.8rem;
}

.dk-ledger-date {
    flex: 0 0 3rem;
    color: #9aa2b6;
    font-size: 0.72rem;
}

.dk-ledger-desc {
    flex: 1;
    color: #4b5468;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dk-ledger-debit  { color: #a3231d; font-variant-numeric: tabular-nums; }
.dk-ledger-credit { color: #1c7a2b; font-variant-numeric: tabular-nums; }

.dk-ledger-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 11px 13px;
    background: #f2f4f9;
    border-radius: 9px;
    color: #16224f;
    font-size: 0.9rem;
}

.dk-ledger-total strong {
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 991.98px) {
    .dk-phone { max-width: 280px; }
}

