.kvkk-info-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 16px 0;
    padding: 10px 18px;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(30, 136, 229, 0.3);
    font-family: inherit;
    line-height: 1.4;
}

.kvkk-info-button:hover,
.kvkk-info-button:focus {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(30, 136, 229, 0.4);
    outline: none;
}

.kvkk-info-button .kvkk-shield {
    font-size: 16px;
    line-height: 1;
}

.kvkk-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    animation: kvkkFadeIn 0.25s ease;
}

@keyframes kvkkFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.kvkk-popup-container {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: kvkkSlideUp 0.3s ease;
}

@keyframes kvkkSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.kvkk-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 5;
}

.kvkk-popup-close:hover,
.kvkk-popup-close:focus {
    background: #f1f5f9;
    color: #0f172a;
    outline: none;
}

.kvkk-popup-menu,
.kvkk-popup-content {
    padding: 32px 28px 28px 28px;
    overflow-y: auto;
}

.kvkk-popup-title {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    padding-right: 36px;
}

.kvkk-popup-desc {
    margin: 0 0 22px 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.kvkk-popup-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 540px) {
    .kvkk-popup-buttons {
        grid-template-columns: 1fr;
    }
}

.kvkk-doc-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    font-family: inherit;
}

.kvkk-doc-btn:hover,
.kvkk-doc-btn:focus {
    background: #e0f2fe;
    border-color: #1e88e5;
    color: #1565c0;
    transform: translateY(-1px);
    outline: none;
}

.kvkk-doc-icon {
    font-size: 20px;
    line-height: 1;
}

.kvkk-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #1e88e5;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0;
    margin-bottom: 16px;
    font-family: inherit;
}

.kvkk-back-btn:hover,
.kvkk-back-btn:focus {
    color: #0d47a1;
    outline: none;
}

.kvkk-doc-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
}

.kvkk-doc-body::-webkit-scrollbar {
    width: 8px;
}
.kvkk-doc-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.kvkk-doc-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.kvkk-doc-body h3 {
    margin: 18px 0 8px 0;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
}

.kvkk-doc-body h3:first-child {
    margin-top: 0;
}

.kvkk-doc-body p {
    margin: 0 0 10px 0;
}

.kvkk-doc-body ul,
.kvkk-doc-body ol {
    margin: 0 0 10px 0;
    padding-left: 22px;
}

.kvkk-doc-body li {
    margin-bottom: 4px;
}

.kvkk-doc-body a {
    color: #1e88e5;
    text-decoration: underline;
}

.kvkk-doc-footer {
    margin-top: 18px;
    text-align: right;
}

.kvkk-ack-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: #ffffff;
    border: none;
    padding: 11px 26px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.kvkk-ack-btn:hover,
.kvkk-ack-btn:focus {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    transform: translateY(-1px);
    outline: none;
}

.kvkk-cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f172a;
    color: #f8fafc;
    padding: 18px 22px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    z-index: 99997;
    font-size: 14px;
    line-height: 1.5;
    animation: kvkkSlideUpBar 0.4s ease;
}

@keyframes kvkkSlideUpBar {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.kvkk-bar-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #f8fafc;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.kvkk-bar-close:hover,
.kvkk-bar-close:focus {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.kvkk-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 30px;
    flex-wrap: wrap;
}

.kvkk-bar-text {
    flex: 1 1 280px;
    color: #e2e8f0;
}

.kvkk-bar-text p {
    margin: 0;
}

.kvkk-bar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.kvkk-bar-docs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.kvkk-bar-link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #f8fafc;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.kvkk-bar-link:hover,
.kvkk-bar-link:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #1e88e5;
    color: #ffffff;
    outline: none;
}

.kvkk-bar-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
}

.kvkk-bar-toggle-label {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kvkk-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.kvkk-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.kvkk-toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 12px;
    transition: background 0.25s ease;
}

.kvkk-toggle-slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.kvkk-toggle input:checked + .kvkk-toggle-slider {
    background: #1e88e5;
}

.kvkk-toggle input:checked + .kvkk-toggle-slider::before {
    transform: translateX(20px);
}

.kvkk-toggle-text-on,
.kvkk-toggle-text-off {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.kvkk-toggle-text-on {
    color: #1e88e5;
    display: none;
}

.kvkk-toggle-text-off {
    color: #94a3b8;
}

.kvkk-toggle input:checked ~ .kvkk-toggle-text-on {
    display: inline;
}

.kvkk-toggle input:checked ~ .kvkk-toggle-text-off {
    display: none;
}

body.kvkk-body-no-scroll {
    overflow: hidden;
}

@media (max-width: 720px) {
    .kvkk-bar-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .kvkk-bar-actions {
        justify-content: space-between;
    }
    .kvkk-popup-menu,
    .kvkk-popup-content {
        padding: 24px 18px;
    }
}
