﻿
.field-validation-error {
    display: block;
    margin-top: 5px;
    color: #d32f2f;
    font-size: 13px;
}

.field-validation-valid {
    display: none;
}

.b__loading {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: rgba(255, 255, 255, 0.65);
}

    .b__loading::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 44px;
        height: 44px;
        margin: -22px 0 0 -22px;
        border: 4px solid #d9e2ec;
        border-top-color: #0d6efd;
        border-radius: 50%;
        animation: b-loading-spin 0.8s linear infinite;
    }

@keyframes b-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
	   BT-KVKK-CONTENT MODERN & FANCY FORMATLAMA
	   ========================================================================== */
.bt-kvkk-content {
    color: var(--bt-gray-800, #334155);
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--bt-gray-200, #e9ecef);
}

    /* --- Hero / Belge Başlık Kutuları (Markdown Blockquote & H1) --- */
    .bt-kvkk-content blockquote {
        margin: 28px 0 22px 0;
        padding: 16px 20px;
        background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
        border: 1px solid var(--bt-gray-300, #cbd5e1);
        border-left: 5px solid var(--bt-primary, #0d6efd);
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    }

        .bt-kvkk-content blockquote h1 {
            margin: 0;
            padding: 0;
            font-size: clamp(1.1rem, 2vw, 1.1rem);
            font-weight: 700;
            color: var(--bt-gray-900, #0f172a);
            letter-spacing: 0.01em;
            line-height: 1.45;
            text-align: center;
            text-transform: uppercase;
        }

            .bt-kvkk-content blockquote h1 strong {
                color: inherit;
            }

    /* --- Bölüm Başlıkları (H2) --- */
    .bt-kvkk-content h2 {
        display: flex;
        align-items: center;
        margin-top: 32px;
        margin-bottom: 14px;
        padding: 8px 14px;
        font-size: clamp(1rem, 1.6vw, 1rem);
        font-weight: 700;
        color: var(--bt-gray-900, #0f172a);
        background: #f1f5f9;
        border-left: 4px solid var(--bt-primary, #0d6efd);
        border-radius: 0 6px 6px 0;
        line-height: 1.4;
    }

        .bt-kvkk-content h2 strong {
            color: inherit;
        }

    /* --- Alt Başlıklar (H3) --- */
    .bt-kvkk-content h3 {
        margin-top: 22px;
        margin-bottom: 10px;
        font-size: 0.98rem;
        font-weight: 600;
        color: var(--bt-gray-800, #334155);
        line-height: 1.4;
    }

        .bt-kvkk-content h3 strong {
            color: inherit;
        }

        /* --- Ortalanmış İletişim Bloğu (H3 & P) --- */
        .bt-kvkk-content h3[align="center"] {
            margin-top: 36px;
            margin-bottom: 14px;
            padding-top: 20px;
            border-top: 1px dashed var(--bt-gray-300, #cbd5e1);
            color: var(--bt-primary, #0d6efd);
            font-size: 1.05rem;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }

    .bt-kvkk-content p[align="center"] {
        text-align: center !important;
        margin-bottom: 6px;
        color: var(--bt-gray-600, #475569);
        font-size: 0.92rem;
    }

    /* --- Paragraflar (P) --- */
    .bt-kvkk-content p {
        margin-top: 0;
        margin-bottom: 14px;
        font-size: 0.935rem;
        line-height: 1.75;
        color: var(--bt-gray-700, #334155);
        text-align: justify;
        word-break: normal;
        overflow-wrap: break-word;
    }

        .bt-kvkk-content p strong {
            font-weight: 600;
            color: var(--bt-gray-900, #0f172a);
            display: inline !important;
        }

    /* --- Liste Maddeleri (UL & LI) --- */
    .bt-kvkk-content ul {
        margin: 14px 0 20px 0;
        padding-left: 0;
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

        .bt-kvkk-content ul li {
            position: relative;
            padding-left: 24px;
            font-size: 0.925rem;
            line-height: 1.65;
            color: var(--bt-gray-700, #334155);
            text-align: justify;
        }

            .bt-kvkk-content ul li::before {
                content: "";
                position: absolute;
                left: 6px;
                top: 9px;
                width: 7px;
                height: 7px;
                border-radius: 50%;
                background-color: var(--bt-primary, #0d6efd);
                box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
            }

    /* --- Tablolar (TABLE, THEAD, TBODY, TR, TD) --- */
    .bt-kvkk-content table {
        width: 100%;
        margin: 18px 0 26px 0;
        border-collapse: separate;
        border-spacing: 0;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid var(--bt-gray-300, #cbd5e1);
        background: #ffffff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
        font-size: 0.915rem;
    }

        /* Markdown başlıkları boş olduğu için thead gizleme */
        .bt-kvkk-content table thead tr th:empty {
            display: none;
        }

        .bt-kvkk-content table tbody tr {
            transition: background-color 0.15s ease;
        }

            .bt-kvkk-content table tbody tr:nth-child(even) {
                background-color: #f8fafc;
            }

            .bt-kvkk-content table tbody tr:hover {
                background-color: #f1f5f9;
            }

        .bt-kvkk-content table tbody td {
            padding: 12px 16px;
            border-bottom: 1px solid var(--bt-gray-200, #e2e8f0);
            color: var(--bt-gray-700, #334155);
            line-height: 1.55;
            vertical-align: middle;
        }

            /* Tablonun sol ana başlık sütunu (Kimlik Verisi, Görsel vb.) */
            .bt-kvkk-content table tbody td:first-child {
                width: 25%;
                min-width: 150px;
                font-weight: 600;
                color: var(--bt-gray-900, #0f172a);
                background-color: #f8fafc;
                border-right: 1px solid var(--bt-gray-200, #e2e8f0);
            }

            /* Boş olan son sütunları gizleme */
            .bt-kvkk-content table tbody td:last-child:empty {
                display: none;
            }

        .bt-kvkk-content table tbody tr:last-child td {
            border-bottom: none;
        }

    /* --- Bağlantılar (A) --- */
    .bt-kvkk-content a {
        color: var(--bt-primary, #0d6efd);
        text-decoration: underline;
        text-underline-offset: 3px;
        font-weight: 500;
        transition: color 0.15s ease;
    }

        .bt-kvkk-content a:hover {
            color: #0b5ed7;
            text-decoration-thickness: 2px;
        }

/* --- Mobil Uyumluluk --- */
@media (max-width: 768px) {
    .bt-kvkk-content blockquote {
        padding: 12px 14px;
        margin: 20px 0 16px 0;
    }

    .bt-kvkk-content h2 {
        font-size: 0.98rem;
        padding: 6px 10px;
        margin-top: 24px;
    }

    .bt-kvkk-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

        .bt-kvkk-content table tbody td:first-child {
            min-width: 120px;
            white-space: normal;
        }
}


.bt-kvkk-content label.k-checkbox-label {
    top: 2px;
}


.bt-kvkk-content footer p {
    text-align: center !important;
    font-size: 0.8rem !important;
}


.k-text-center > p {
    text-align: center !important;
}