.kvkk-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: flex-end;
    justify-content: center;
    z-index: 99999;
    padding: 0;
}

    .kvkk-modal-overlay.show {
        display: flex;
        animation: kvkkFadeIn 0.3s ease-out;
    }

@keyframes kvkkFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes kvkkSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.kvkk-modal {
    background: var(--white, white);
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    animation: kvkkSlideUp 0.4s ease-out;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.kvkk-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-color, #f8fafc);
}

.kvkk-modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color, #2d3748);
    margin: 0;
}

.kvkk-icon {
    font-size: 1.5rem;
}

.kvkk-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light, #718096);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

    .kvkk-close-btn:hover {
        background: var(--gray-200, #e2e8f0);
        color: var(--text-color, #2d3748);
    }

.kvkk-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.kvkk-content h3 {
    color: var(--primary-color, #293d81);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.kvkk-content p {
    color: var(--text-light, #718096);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.kvkk-highlight {
    background: var(--surface-color, #f7fafc);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color, #293d81);
    margin: 1.5rem 0;
}

    .kvkk-highlight p {
        margin-bottom: 0.75rem;
        color: var(--text-color, #2d3748);
        font-weight: 500;
    }

        .kvkk-highlight p:last-child {
            margin-bottom: 0;
        }

.kvkk-services {
    background: linear-gradient(135deg, #667eea10, #764ba210);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.service-item {
    padding: 0.75rem 0;
    color: var(--text-color, #2d3748);
    border-bottom: 1px solid var(--border-color, #e2e8f0);
}

    .service-item:last-child {
        border-bottom: none;
    }

.kvkk-link {
    color: var(--primary-color, #293d81);
    text-decoration: none;
    font-weight: 600;
}

    .kvkk-link:hover {
        text-decoration: underline;
    }

.kvkk-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color, #e2e8f0);
    background: var(--surface-color, #f8fafc);
}

.kvkk-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.kvkk-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

    .kvkk-btn.accept {
        background: var(--primary-color, #293d81);
        color: white;
        flex: 1;
    }

        .kvkk-btn.accept:hover {
            background: var(--primary-dark, #1e2a5a);
            transform: translateY(-1px);
        }

    .kvkk-btn.decline {
        background: #fed7d7;
        color: #c53030;
        min-width: 100px;
    }

        .kvkk-btn.decline:hover {
            background: #feb2b2;
        }

    .kvkk-btn.details {
        background: var(--gray-200, #e2e8f0);
        color: var(--text-color, #2d3748);
        min-width: 130px;
    }

        .kvkk-btn.details:hover {
            background: var(--gray-300, #cbd5e0);
        }

/* Dark theme support */
[data-theme="dark"] .kvkk-modal {
    background: var(--gray-800, #2d3748);
}

[data-theme="dark"] .kvkk-modal-header,
[data-theme="dark"] .kvkk-modal-footer {
    background: var(--gray-700, #4a5568);
    border-color: var(--gray-600, #718096);
}

[data-theme="dark"] .kvkk-highlight {
    background: var(--gray-700, #4a5568);
}

[data-theme="dark"] .kvkk-services {
    background: rgba(102, 126, 234, 0.1);
}

[data-theme="dark"] .service-item {
    border-color: var(--gray-600, #718096);
}

/* Mobile Responsive */
@media (min-width: 768px) {
    .kvkk-modal-overlay {
        align-items: center;
        padding: 2rem;
    }

    .kvkk-modal {
        max-width: 650px;
        border-radius: 20px;
        max-height: 85vh;
    }

    .kvkk-actions {
        justify-content: flex-end;
    }

    .kvkk-btn.accept {
        flex: none;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .kvkk-modal-header,
    .kvkk-modal-body,
    .kvkk-modal-footer {
        padding: 1.25rem;
    }

    .kvkk-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .kvkk-btn {
        width: 100%;
        padding: 1rem;
    }

    .kvkk-modal {
        background: var(--white, white);
        width: 90%;
        max-width: 90%;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
        animation: kvkkSlideUp 0.4s ease-out;
        max-height: 90vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
}
