#kvkk-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    display: none;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
}

#kvkk-cookie-banner.visible {
    display: block;
    animation: cookieBannerIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookieBannerIn {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner-card {
    pointer-events: auto;
    max-width: 960px;
    margin: 0 auto;
    background: #0f172a;
    color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-banner-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.cookie-banner-content {
    flex: 1;
    min-width: 0;
}

.cookie-banner-content strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #fff;
}

.cookie-banner-content p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #cbd5e1;
}

.cookie-banner-content a {
    color: #86efac;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner-content a:hover {
    color: #bbf7d0;
}

.cookie-banner-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-banner-actions button {
    border: none;
    border-radius: 10px;
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.15s;
}

.cookie-banner-actions button:hover {
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid #475569 !important;
}

.cookie-btn-decline:hover {
    background: rgba(148, 163, 184, 0.12);
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

@media (max-width: 720px) {
    #kvkk-cookie-banner {
        padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }

    .cookie-banner-card {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
        border-radius: 14px 14px 0 0;
        max-width: none;
    }

    .cookie-banner-icon {
        display: none;
    }

    .cookie-banner-actions {
        width: 100%;
    }

    .cookie-banner-actions button {
        flex: 1;
        padding: 0.65rem 0.75rem;
    }
}
