@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&family=Quicksand:wght@500;700&display=swap');

/* Přejmenováno z .cookie-banner na .site-privacy-panel */
.site-privacy-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 440px;
    width: calc(100% - 40px);
    background-color: #ffffff;
    border: 3px solid #fbd87f;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(235, 114, 114, 0.15);
    font-family: 'Quicksand', 'Fredoka', -apple-system, sans-serif;
    z-index: 999999;
    box-sizing: border-box;
    overflow: hidden;
    animation: panelSlideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.p-bg-bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.15;
}

.p-bg-bubble-1 {
    width: 100px;
    height: 100px;
    background-color: #53c4d1;
    top: -30px;
    right: -20px;
}

.p-bg-bubble-2 {
    width: 70px;
    height: 70px;
    background-color: #ff7e67;
    bottom: -20px;
    left: 10px;
}

.p-main-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.p-icon-box {
    font-size: 38px;
    line-height: 1;
    background: #fff4e5;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 2px #ffe0b2;
    animation: pIconWiggle 2.5s infinite ease-in-out;
}

.p-text-box h3 {
    margin: 0 0 6px 0;
    color: #2c3e50;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.p-text-box p {
    margin: 0;
    color: #606f7b;
    font-size: 0.92rem;
    line-height: 1.45;
}

.p-action-group {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.p-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 50px;
    font-family: 'Fredoka', 'Quicksand', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-align: center;
    outline: none;
}

.p-btn-off {
    background-color: #f1f5f9;
    color: #64748b;
}

.p-btn-off:hover {
    background-color: #e2e8f0;
    color: #334155;
    transform: translateY(-2px);
}

.p-btn-on {
    background-color: #ff7e67;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 126, 103, 0.35);
}

.p-btn-on:hover {
    background-color: #f06850;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(255, 126, 103, 0.45);
}

.p-btn:active {
    transform: translateY(0) scale(0.98);
}

@keyframes panelSlideUp {
    from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    }
    to {
    opacity: 1;
    transform: translateY(0) scale(1);
    }
}

@keyframes pIconWiggle {
    0%, 100% { transform: rotate(0deg); }
    15% { transform: rotate(-8deg); }
    30% { transform: rotate(8deg); }
    45% { transform: rotate(-4deg); }
    60% { transform: rotate(0deg); }
}

@media (max-width: 480px) {
    .site-privacy-panel {
    bottom: 12px;
    right: 12px;
    left: 12px;
    width: auto;
    padding: 18px;
    }
    
    .p-action-group {
    flex-direction: column-reverse;
    }
}