/* KVKK, gizlilik ve çerez politikası sayfaları */

.cs-legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #fff;
}

.cs-legal { padding: 60px 0 90px; background: #f6f7fb; }
.cs-legal-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }

.cs-legal-card {
    background: #fff;
    border: 1px solid #e9e9f2;
    border-radius: 20px;
    box-shadow: 0 18px 40px -28px rgba(42, 15, 77, .35);
}

/* Yan menü */
.cs-legal-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.cs-legal-side .cs-legal-card { padding: 18px; }
.cs-legal-side-title { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a89a0; }
.cs-legal-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cs-legal-docs a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1d1d2b;
    transition: background .15s ease, color .15s ease;
}
.cs-legal-docs a i { width: 18px; text-align: center; color: #8a89a0; }
.cs-legal-docs a:hover { background: #f3f0fb; color: #6f2dbd; text-decoration: none; }
.cs-legal-docs a.active { background: linear-gradient(135deg, #6f2dbd 0%, #8f3fd0 100%); color: #fff; }
.cs-legal-docs a.active i { color: #fff; }
.cs-legal-toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; }
.cs-legal-toc li { font-size: 13.5px; color: #8a89a0; }
.cs-legal-toc a { color: #4a4a5a; }
.cs-legal-toc a:hover { color: #6f2dbd; text-decoration: none; }

/* Metin */
.cs-legal-body { padding: 40px 48px; font-size: 15.5px; line-height: 1.8; color: #3d3d4e; }
.cs-legal-body h2 {
    margin: 40px 0 14px;
    padding-top: 6px;
    font-size: 22px;
    color: #2a0f4d;
    scroll-margin-top: 110px;
}
.cs-legal-body h3 { margin: 24px 0 8px; font-size: 17px; color: #1d1d2b; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cs-legal-body p { margin-bottom: 14px; color: #3d3d4e; }
.cs-legal-body ul { padding-left: 20px; margin-bottom: 16px; }
.cs-legal-body li { margin-bottom: 6px; }
.cs-legal-body a { color: #6f2dbd; font-weight: 600; }
.cs-legal-body code { font-size: 13px; color: #6f2dbd; background: #f3f0fb; padding: 2px 6px; border-radius: 6px; }

.cs-legal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ececf3;
    font-size: 13.5px;
    color: #8a89a0;
}
.cs-legal-meta i { margin-right: 6px; }
.cs-legal-print {
    border: 1px solid #e1e0ea;
    background: #fff;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #4a4a5a;
    cursor: pointer;
}
.cs-legal-print:hover { border-color: #6f2dbd; color: #6f2dbd; }

/* Tablolar */
.cs-legal-table-wrap { overflow-x: auto; margin: 6px 0 20px; border: 1px solid #ececf3; border-radius: 14px; }
.cs-legal-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.cs-legal-table th,
.cs-legal-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #ececf3; }
.cs-legal-table tr:last-child th,
.cs-legal-table tr:last-child td { border-bottom: 0; }
.cs-legal-table thead th { background: #f7f6fc; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b6a80; }
.cs-legal-table tbody th { width: 150px; background: #fbfafe; color: #1d1d2b; font-weight: 600; }

/* Özet kartları */
.cs-legal-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.cs-legal-summary > div { padding: 18px; border-radius: 16px; background: #f7f6fc; border: 1px solid #ece9f8; line-height: 1.5; }
.cs-legal-summary i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6f2dbd 0%, #ff7a18 100%);
    color: #fff;
}
.cs-legal-summary strong { display: block; margin-bottom: 4px; font-size: 14.5px; color: #2a0f4d; }
.cs-legal-summary span { font-size: 13.5px; color: #5d5c70; }

.cs-legal-checklist { list-style: none; padding-left: 0 !important; }
.cs-legal-checklist li { position: relative; padding-left: 30px; }
.cs-legal-checklist li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #efe8fa;
    color: #6f2dbd;
    font-size: 10px;
}

.cs-legal-tag { padding: 3px 10px; border-radius: 999px; background: #fff4e8; color: #b85d00; font-size: 12px; font-weight: 700; }

/* Çerez tercihi kutusu */
.cs-legal-preference {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f5f0fd 0%, #fff4ea 100%);
    border: 1px solid #ece4f8;
}
.cs-legal-preference strong { color: #2a0f4d; }
.cs-legal-preference p { font-size: 14px; color: #5d5c70; }
#cookieStatus.is-on { color: #138a52; }
#cookieStatus.is-off { color: #b85d00; }
.cs-legal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #6f2dbd 0%, #ff7a18 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px -10px rgba(111, 45, 189, .7);
}
.cs-legal-inline-btn { padding: 0; border: 0; background: none; color: #6f2dbd; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cs-legal-browsers a { display: inline-block; margin: 0 4px 6px 0; padding: 4px 12px; border-radius: 999px; background: #f3f0fb; font-size: 13px; }

.cs-legal-contact {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 36px;
    padding: 20px 22px;
    border-radius: 16px;
    background: #2a0f4d;
    color: rgba(255, 255, 255, .85);
}
.cs-legal-contact > i { font-size: 22px; color: #ff9a4d; margin-top: 3px; }
.cs-legal-contact strong { color: #fff; }
.cs-legal-contact p { color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.cs-legal-contact a { color: #ffb37a; }

@media (max-width: 991.98px) {
    .cs-legal-grid { grid-template-columns: 1fr; }
    .cs-legal-side { position: static; }
    .cs-legal-toc { display: none; }
    .cs-legal-docs { grid-template-columns: repeat(3, auto); justify-content: start; overflow-x: auto; }
    .cs-legal-docs a { white-space: nowrap; }
}
@media (max-width: 767.98px) {
    .cs-legal { padding: 32px 0 60px; }
    .cs-legal-body { padding: 26px 20px; font-size: 15px; }
    .cs-legal-summary { grid-template-columns: 1fr; }
    .cs-legal-body h2 { font-size: 19px; margin-top: 30px; }
    .cs-legal-docs { grid-template-columns: 1fr; }
}

@media print {
    .cs-legal-side, .cs-legal-print, .cs-cookie, header, footer, .hero-section { display: none !important; }
    .cs-legal { padding: 0; background: none; }
    .cs-legal-grid { display: block; }
    .cs-legal-card { border: 0; box-shadow: none; }
    .cs-legal-body { padding: 0; }
}
