/* Cookie Popup Styles */
.cookie-popup-overlay {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.cookie-popup-overlay.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-popup {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 350px;
    width: 100%;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cookie-popup-header {
    background: linear-gradient(to bottom, #ffd89b, #ffecd2, white);
    border-radius: 12px 12px 0 0;
    padding: 16px 20px;
    position: relative;
    overflow: hidden;
}

.cookie-popup-header .cookie-title-small {
    margin: 0;
    font-size: 12px;
    font-weight: normal;
    color: #333;
    margin-bottom: 2px;
}

.cookie-popup-header .cookie-title-large {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.cookie-character {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 80px;
    height: 80px;
    font-size: 60px;
}

.sparkle {
    position: absolute;
    font-size: 20px;
    color: #ffd700;
}

.sparkle-1 {
    top: 15px;
    right: 70px;
}

.sparkle-2 {
    top: 30px;
    right: 85px;
}

.cookie-popup-content {
    padding: 16px 20px;
}

.cookie-popup-text {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 14px;
}

.cookie-options-box {
    background: #f9f9f9;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

.cookie-options-box h3 {
    margin: 0 0 8px 0;
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.4;
    color: #555;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    border: 2px solid #22c55e;
    background-color: #22c55e;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}

.cookie-checkbox::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.cookie-popup-control-text {
    font-size: 11px;
    color: #666;
    margin-bottom: 14px;
}

.cookie-popup-buttons {
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.cookie-btn {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    flex: 1;
}

.cookie-btn-choose {
    background: transparent;
    color: #666;
    text-align: left;
    padding-left: 0;
    flex: 0;
}

.cookie-btn-choose:hover {
    color: #333;
}

.cookie-btn-diet {
    background: white;
    color: #666;
    border: 1px solid #ddd;
}

.cookie-btn-diet:hover {
    background: #f5f5f5;
}

.cookie-btn-yes {
    background: #ff6b35;
    color: white;
}

.cookie-btn-yes:hover {
    background: #ff5722;
}

.cookie-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cookie-popup-close:hover {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .cookie-popup {
        max-width: 95%;
    }
    
    .cookie-popup-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-btn-choose {
        text-align: center;
        padding-left: 20px;
    }
}
