/* =========================================================
   Teklif formu ve teşekkür ekranı
   Renkler tema değişkenlerinden gelir (admin > Ayarlar > Tema Renkleri)
   ========================================================= */

.tkf-kart {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    padding: 32px;
    height: 100%;
    box-shadow: 0 4px 24px rgba(15, 41, 66, .05);
}

.tkf-kart-baslik {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 22px;
}

/* ---------- Form alanları ---------- */
.tkf-alan {
    margin-bottom: 18px;
}

.tkf-alan label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 7px;
}

.tkf-alan label span {
    color: #dc2626;
}

.tkf-alan label small {
    font-weight: 400;
    color: #9aa5b1;
}

.tkf-alan input,
.tkf-alan textarea {
    width: 100%;
    border: 1px solid #dfe5ec;
    border-radius: 9px;
    padding: 12px 15px;
    font-size: 15px;
    color: #1f2d3d;
    background: #fbfcfd;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.tkf-alan input::placeholder,
.tkf-alan textarea::placeholder {
    color: #b3bcc7;
}

.tkf-alan input:focus,
.tkf-alan textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), .13);
}

.tkf-alan textarea {
    resize: vertical;
    min-height: 110px;
}

/* Bal küpü — ekran okuyucudan da uzak tut */
.tkf-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.tkf-gonder {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.tkf-kvkk {
    font-size: 12px;
    color: #9aa5b1;
    line-height: 1.6;
    margin: 14px 0 0;
}

/* ---------- Sepet özeti ---------- */
.tkf-ozet {
    background: #f8fafc;
}

.tkf-rozet {
    background: var(--color-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 20px;
    white-space: nowrap;
}

.tkf-ozet-liste {
    max-height: 430px;
    overflow-y: auto;
    margin: 0 -6px;
    padding: 0 6px;
}

.tkf-ozet-satir {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid #e8ecf1;
}

.tkf-ozet-satir:last-child {
    border-bottom: 0;
}

.tkf-ozet-satir img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    flex-shrink: 0;
}

.tkf-ozet-bilgi {
    flex: 1;
    min-width: 0;
}

.tkf-ozet-ad {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-dark);
    line-height: 1.4;
}

.tkf-ozet-meta,
.tkf-ozet-ozellik {
    display: block;
    font-size: 12px;
    color: #7a8794;
    margin-top: 3px;
    line-height: 1.5;
}

.tkf-ozet-adet {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.tkf-ozet-toplam {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #e8ecf1;
    font-size: 14px;
    color: #5b6b7c;
}

.tkf-ozet-toplam strong {
    color: var(--color-primary-dark);
    font-size: 16px;
}

.tkf-duzenle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: 0;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 0;
    margin-top: 16px;
    cursor: pointer;
}

.tkf-duzenle:hover {
    text-decoration: underline;
}

/* ---------- Sonuç / boş durum kartı ---------- */
.tkf-sonuc-karti {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    padding: 48px 36px;
    box-shadow: 0 6px 30px rgba(15, 41, 66, .06);
}

.tkf-sonuc-ikon {
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
    box-shadow: 0 8px 22px rgba(var(--color-primary-rgb), .32);
}

.tkf-sonuc-ikon.tkf-ikon-bos {
    background: #eef2f6;
    color: #9aa5b1;
    box-shadow: none;
}

.tkf-kod-kutu {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    background: #f8fafc;
    border: 1px dashed var(--color-primary);
    border-radius: 11px;
    padding: 14px 30px;
    margin-top: 6px;
}

.tkf-kod-kutu span {
    font-size: 12px;
    color: #7a8794;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.tkf-kod-kutu strong {
    font-size: 19px;
    color: var(--color-primary-dark);
    letter-spacing: .6px;
}

.tkf-btn-ikincil {
    background: transparent !important;
    border: 1px solid var(--color-primary) !important;
    color: var(--color-primary) !important;
}

.tkf-btn-ikincil:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
}

/* ---------- Uyarılar ---------- */
.tkf-uyari-kutu {
    border-radius: 11px;
    padding: 15px 20px;
    font-size: 14px;
    line-height: 1.6;
}

.tkf-uyari-warning {
    background: #fff8e6;
    border: 1px solid #f5d98a;
    color: #8a6100;
}

.tkf-uyari-error {
    background: #fdeeee;
    border: 1px solid #f2b9b9;
    color: #a52222;
}

.tkf-uyari-success {
    background: #eefaf1;
    border: 1px solid #a8dfb9;
    color: #1c6b34;
}

.tkf-uyari {
    background: #fff8e6;
    border: 1px solid #f5d98a;
    color: #8a6100;
    border-radius: 9px;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .tkf-kart {
        padding: 26px 20px;
    }

    .tkf-sonuc-karti {
        padding: 38px 22px;
    }
}
